Technical Documentation

IDCategoryReq.Element Action
829string: functionno$zz['fields'][n]['conf_identifier']['exists_function'] string; name of a function that will be called to check whether an identifier is write_once or not (function parameters: string $var, array $vars, return: true = write_once, no change may take place; false: go ahead, change it)Show
963string: functionno$zz['fields'][n]['conf_identifier']['function_parameter'] single function parameter to pass to function instead of identifier

Relations: $zz['fields'][n]['conf_identifier']['function']

Show
962string: functionno$zz['fields'][n]['conf_identifier']['function'] name of function that identifier will go through finallyShow
972string: SQLno$zz['fields'][n]['conf_identifier']['unique_with'] field name(s) if field itself is not UNIQUE, just in combination with these other fields

Relations: $zz['fields'][n]['conf_identifier']['where']

Show
363string: SQLno$zz['fields'][n]['conf_identifier']['where'] WHERE-condition to be appended to query that checks existence of identifier in databaseShow
649arrayno$zz['fields'][n]['disabled_ids'] IDs that will be shown as 'disabled' in Dropdown or checkbox list

Relations: select

Show
1000arrayno$zz['fields'][n]['disabled'] List of IDs for radio buttons that are disabled for some reasonShow
830arrayno$zz['fields'][n]['display_title']

Relations: display

Show
397arrayno$zz['fields'][n]['enum_title'] Optional. In case you don't like your ENUM values, you can set an array with different values that will be shown instead the values in the database. Good for translations.

Relations: select; $zz['fields'][n]['enum']

Show
396arrayno$zz['fields'][n]['enum'] list for enum, default value with 'default' should be set as well

Relations: $zz['fields'][n]['show_values_as_list']; select; $zz['fields'][n]['enum']; $zz['fields'][n]['default']

Show
844arrayno$zz['fields'][n]['enum_abbr'] List of abbreviations for enum, in list view, abbreviation will be shown in form view and displayed as abbr-element in list view

Relations: select

Show
621arrayno$zz['fields'][n]['fielddefs'] In combination with 'values', 'fielddefs' allows to change some $zz['fields']-settings for individual detail records where values are preset. The first numerical index of the field definition corresponds to the numerical index of the corresponding value, the second index corresponds to the field index that shall be changed.

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

Show
364arrayno$zz['fields'][n]['fields'] List of fields which are used to create an identifier (`$zz['fields'][n]['type'] = 'identifier'`). If field_name of identifier-field is part of the array, the identifier won't be changed later on (write_once). Corresponding values of ID fields may be used writing `field_id[value]`. The fields are used in the same order as in the array. vars which will be passed to function or identifier, might be in form like "select_id[field_name_from_select]" as well, this refers to a field "select_id" with an associated sql-query and returns the value of the "field_name_from_select" of the query instead. Values from subtables will have a table_name. or table. prefix. first value is chosen if more than one (more than one record not recommended!). {0,4} or {4} ... will call a substr()-function to return just a part of the field value if identifier must not be changed after set, include field_name of identifier in list Show
982arrayno$zz['fields'][n]['geocode_ignore_if'] ignore a record if another field in the same record has value x

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

Show
185arrayno$zz['fields'][n]['if'][n] Field definitions which will be set if a certain condition n is met. For some conditions, shortcuts exist: - 'multi': if script is called via zzform_multi() - 'where': if field has id value which is defined by WHERE condition ($zz['where'], $_GET['where']) - 'add': if a record is added - 'delete': if a record is deleted - 'edit': if a record is edited - 'upload: if something is uploadedShow
192arrayno$zz['fields'][n]['image'] what has to be done with uploaded image. keys as follows.Show
448arrayno$zz['fields'][n]['image'][n]['auto_values'] (values used by auto-function)Show
457arrayno$zz['fields'][n]['image'][n]['input_filetypes'] allowed input_filetypes, e. g. pdf, jpeg, doc, ...Show
446arrayno$zz['fields'][n]['image'][n]['options'] (key value, reads options from this field, overwrite existing keys, options will only be read once)

Relations: option

Show
944arrayno$zz['fields'][n]['image'][n]['recreate_on_change'] recreate thumbnails even if file did not change, but e. g. if thumbnail filetype changedShow

348 records total

in