Technical Documentation
- Selection Teilbaum:
- $ops
- $page
- $zz
- $zz_conf
- $zz_conf INTERNAL
- $zz_conf UPLOAD
- $zz_error
- $zz_page
- $zz_setting
- $zz_sql
- $zz_tab
- $zz_var
- WEBSERVER_DIRECTORY
- zz_constants
- zz_fieldtypes
- zz_states
- zzbrick
- zzform
- zzwrap
- – all –
ID | Category | Req. | Element | Action |
---|---|---|---|---|
476 | boolean | no | $zz['fields'][n]['title_append'] title for several records which will be in one line | Show |
817 | string: HTML | no | $zz['fields'][n]['title_button'] string; title for subtables add/remove buttons | Show |
479 | string: HTML | no | $zz['fields'][n]['title_desc'] description, will always be shown below title in form, values in format will be added automatically (cf. explanation) Relations: $zz['fields'][n]['format']; $zz['fields'][n]['explanation'] | Show |
13 | string: HTML | no | $zz['fields'][n]['title'] Title of database field, will be shown in form and table Optional, value will be generated from 'field_name' if not set (first letter uppercase, ending `_id` will be deleted) | Show |
998 | string | no | $zz['fields'][n]['title_export_p | Show |
478 | string: HTML | no | $zz['fields'][n]['title_tab'] title in table display (optional, default = 'title'), e. g. for abbreviations to save place | Show |
289 | boolean | no | $zz['fields'][n]['translate_fiel | Show |
774 | array | no | $zz['fields'][n]['translation'] gives the possibility to set individual variables for translation subtables, e. g. 'hide_in_list' | Show |
971 | boolean | no | $zz['fields'][n]['trim'] if set to true, 'memo' fields will be trimmed Relations: memo | Show |
183 | string | no | $zz['fields'][n]['type_detail'] type of field, used for option and predefined to set real type of field but still remain special functionality Relations: $zz['fields'][n]['type'] | Show |
177 | string | no | $zz['fields'][n]['type'] Here, the type of the field can be definfed. For a list of field types, see zz_fieldtypes Relations: zz_fieldtypes | Show |
684 | boolean | no | $zz['fields'][n]['unique'] if field value is unique, it can be used for where-clauses and will show only one record in display mode, without add new record | Show |
407 | string: HTML | no | $zz['fields'][n]['unit'] displays a unit behind a number, won't display if value = NULL Relations: number | Show |
960 | boolean | no | $zz['fields'][n]['update_on_deta Relations: timestamp | Show |
885 | string | no | $zz['fields'][n]['upload_default Relations: $zz['fields'][n]['default'] | Show |
569 | integer | no | $zz['fields'][n]['upload_field'] For hidden or other fields (which ... ?), says which field is the upload field from which a certain value, defined in 'upload_value', shall be taken Relations: hidden | Show |
813 | string: function | no | $zz['fields'][n]['upload_func'] string; name of a function to format upload values (the only way to handle arrays) Relations: $zz['fields'][n]['upload_field'] | Show |
571 | string: SQL | no | $zz['fields'][n]['upload_sql'] SQL query to use with upload value, e. g. if you get a string but need an ID value. Relations: hidden; $zz['fields'][n]['upload_field'] | Show |
570 | mixed | no | $zz['fields'][n]['upload_value'] Value which will be written to database and taken from uploaded file. Possible values
* basics:
- filetype: filetype of original file
- title: modified filename (without ending, underscores replaced with space, ucfirst() etc.)
- filename: filename without extension and web compatible
* images:
- width: width of original image
- height: height of original image
- modified[width]
- modified[height]
* from $_FILES
- name: original filename of uploaded file
- type
- tmp_name
- error
- size: filesize
* more
- type_ext: mimetype + extension, e. g. application/octet-stream/dwg
- exif[DateTimeOriginal]
- ext: file extension
- sha1_source_file
- modified[filetype]
- exif[YResolution]
- modified[exif][YResolution]
- exif[YResolution]
- modified[exif][YResolution]
- upload[size]
- modified[size]
- md5
- md5_source_file
- sha1
- sha1_source_file
- increment_on_change (adds 1 to a version no. if file changed)
- exif[DateTime]
- exif[FileName]
- exif[FileSize]
- ...
Good combinations of values are (in case first value is not set, second will be tried):
- array('exif[COMPUTED][Width]', 'upload[width]')
- array('exif[COMPUTED][Height]', 'upload[height]')
- array('channels', 'exif[SamplesPerPixel]')
- array('bits', 'exif[BitsPerSample][0]')
Relations: hidden; $zz['fields'][n]['upload_field'] | Show |
848 | boolean | no | $zz['fields'][n]['use_as_label'] In combination with e. g. tick_for_save, this field's value will be enclosed in a label for the checkbox Relations: subtable; $zz['fields'][n]['tick_to_save'] | Show |
916 records total