Line: 53 to 53 | ||||||||
---|---|---|---|---|---|---|---|---|
Changed: | ||||||||
< < | ObjectMethod getFieldValuesFromQuery ($query,$metaObject,$handleMandatory) -> $metaObject | |||||||
> > | ObjectMethod getFieldValuesFromQuery ($query,$metaObject,$initialiseMissing) -> ($seen,\@missing) | |||||||
Extract new values for form fields from a query.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
For each field, if there is a value in the query, use it. Otherwise if there is already entry for the field in the meta, keep it. | ||||||||
Changed: | ||||||||
< < | Otherwise, if $handleMandatory, initialise the field to '' and set it in the meta. | |||||||
> > | Returns the number of fields which had values provided by the query, and a references to an array of the names of mandatory fields that were missing from the query. | |||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > | Package
Object representing a single form definition.
|