Technical Documentation

Show a record

 
Submit data …
ID 815
Category string: function
Required no
Element $zz['conditions'][n]['function']
Description

use function which has to return a list of allowed IDs (ID => true)

Description de
Example
$zz['conditions'][22]['scope'] = 'access';
$zz['conditions'][22]['right'] = 'list';
$zz['conditions'][22]['public_access'] = $local['public_access'];
$zz['conditions'][22]['function'] = 'media_access_zzform';
Default value
Mother ID $zz['conditions'] | [204]
Relation
Updated 16 Mar 2018 15:48:38
ID Category Req. Element Action
365 container no zz_fieldtypes Allowed values for `$zz['field'][n]['type']`

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

387 value no calculated

Relations: $zz['fields'][n]['calculation_fields']; $zz['fields'][n]['calculation']

373 value no date
406 value no datetime MySQL DATETIME field, will be checked if valid
380 value no detail_key inserts in field id_field from different detail_record

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

400 value no display field for display only, not editable

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

403 value no foreign foreign ... (not in use currently) -> add_foreign ??
378 value no foreign_key Field is foreign_key (only possible for subtables), must be set once for each subtable (unless it's a translation subtable)

Relations: subtable

853 value no geo_point SQL POINT field with latitude and longitude as binary

Relations: $zz['fields'][n]['geo_format']; $zz['fields'][n]['text_field']; $zz['fields'][n]['list_concat_fields']

389 value no hidden hidden field

Relations: $zz['fields'][n]['value']; $zz['fields'][n]['function']

370 value yes id unique ID field of record

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

368 value no identifier textual identifier for a record, unique, will be put together from 'fields'

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

393 value no image displays an image

Relations: $zz['fields'][n]['path']; $zz['fields'][n]['default_image']

908 value no ip Stores IPv4 and IPv6 addresses in a VARBINARY(16) field
382 value no ipv4
905 value no list_function display field; list_function will be called for display with parameters $field, $value and $line
385 value no mail email address, will be checked for validity and hyperlinked in list
715 value no mail+name Validates input of e. g. "Master X" <x@example.org> and allows input of multiple e-mail addresses, separated by comma or semicolon

Relations: mail

372 value no memo Will show textarea (multiple lines)

Relations: $zz['fields'][n]['format']; $zz['fields'][n]['rows']; $zz['fields'][n]['cols']; $zz['fields'][n]['rows_max']; $zz['fields'][n]['list_format']

367 value no number Number, will be checked for validity. Basic calculation is allowed, e. g. `4+5` will save `9` into the database (+, -, \, *). Decimal commas are replaced (if unambiguous) with dots

Relations: $zz['fields'][n]['number_type']; $zz['fields'][n]['unit']; $zz['fields'][n]['factor']; $zz['fields'][n]['auto_value']

Export (CSV Excel)

34 records total

in