Technical Documentation

Show a record

 
Submit data …
ID 709
Category string: function
Required no
Element $zz['fields'][n]['post_validation']
Description

Function that will be called with field value and field name as parameters directly after validation of a field; returned values will be saved in 'extra' to let other records access values later

Description de
Example
Default value
Mother ID $zz['fields'][n] | [10]
Relation
Updated 02 Jul 2011 17:51:05
IDCategoryReq.Element Action
952booleanno$zz['fields'][n]['merge_ignore'] Field will be ignored for comparison of main records while merging

Relations: $zz_conf['merge']

Show
714integerno$zz['fields'][n]['min_records_required']

Relations: $zz['fields'][n]['min_records']; subtable

Show
189integerno$zz['fields'][n]['min_records']

Relations: subtable

Show
939string: SQLno$zz['fields'][n]['min_records_sql'] SQL query to get the minimum number of detail records

Relations: subtable

Show
650stringno$zz['fields'][n]['msg_no_subtables'] a message will appear in record view if no detail record is left after a database operation was performedShow
911booleanno$zz['fields'][n]['multiple_edit'] if set to false, field will not be shown in record form for editing

Relations: $zz[list']['select_multiple_records']

Show
436booleanno$zz['fields'][n]['null_string'] Field value might be 0 or '', won't be set to NULL => output = ''

Relations: $zz['fields'][n]['null']

Show
435booleanno$zz['fields'][n]['null'] Field value might be 0 or '', won't be set to NULL => output = 0

Relations: $zz['fields'][n]['null_string']

Show
398stringno$zz['fields'][n]['number_type'] - 'longitude' | 'latitude', for entering geo information - 'currency' for money - 'bytes' for bytes, for displaying MB, GB, TB etc. - 'number' for numbers, formatted with thousands_separator and decimal_point

Relations: number

Show
427arrayno$zz['fields'][n]['options'] Together with enum-array; values from enum-array will have to be set as pairs. E. g. enum-value proportional will be an array in options, first is key which will be added to image, second is corresponding value: ['options'] = array('proportional' => array('key' => 'value')); existing keys will be overwrittenShow
617stringno$zz['fields'][n]['order'] different field name for ORDER BY, e. g. if a table name is needed in case of ambiguous field names or for mixed alpha-numerical strings without preceding zerosShow
648stringno$zz['fields'][n]['path_json_base'] base for JSON link, will be prepended

Relations: image; $zz['fields'][n]['path_json_request']

Show
647array: pathno$zz['fields'][n]['path_json_request'] requests image filename via JSON request

Relations: image

Show
421string: SQLno$zz['fields'][n]['path_sql'] only if this sql query is needed for constructing the extension of a file path; sql-query which will be used if this field's display_value is set as fieldxx in path to get a correct extension for file conversions

Relations: select

Show
184arrayno$zz['fields'][n]['path'] values: - `root` DOCUMENT_ROOT or path to directory, will be used as a prefix to check whether file_exists or not - `webroot` alternative for DOCUMENT_ROOT on URL basis of the webserver - `fieldXX` will add corresponding field value, - `stringXX` will add string value, (string1 will be weblink to file, parallel to root) - `webstringXX` same as string, but applied only to web path, not to file path - `modeXX`: functions that will be applied to all field_values - last `stringXX` or `fieldXX`: this must consist of the fileextension only (with or without .) e. g. array('field1' => 'fieldname_bla', 'string1' => '/', 'field2' => 'fieldname_blubb') etc. - as an alternative, `extension` can be used instead of fieldXX - `x_field[2]XX` = similar to field, but for 2x image - `x_field[1.5]XX` = similar to field, but for 1.5x image - `x_extension[2]XX` = similar to extension, but for 2x image - `x_webfield[2]XX` = similar to webfield, but for 2x image Show
709string: functionno$zz['fields'][n]['post_validation'] Function that will be called with field value and field name as parameters directly after validation of a field; returned values will be saved in 'extra' to let other records access values later

Relations: $zz['fields'][n]['detail_value']

Show
464string: HTMLno$zz['fields'][n]['prefix'] adds prefix-string to form view

Relations: $zz['fields'][n]['suffix']

Show
616integerno$zz['fields'][n]['read_options'] Index of field on which options depend

Relations: option; $zz['fields'][n]['options']

Show
200booleanno$zz['fields'][n]['records_depend_on_upload'] Show
986booleanno$zz['fields'][n]['remove_local_hostname'] per default, the hostname of the local server will be removed starting with http:// or https://. this setting disables this behaviourShow

916 records total

in