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 |
---|---|---|---|---|
189 | integer | no | $zz['fields'][n]['min_records'] Relations: subtable | Show |
939 | string: SQL | no | $zz['fields'][n]['min_records_sq Relations: subtable | Show |
616 | integer | no | $zz['fields'][n]['read_options'] Index of field on which options depend Relations: option; $zz['fields'][n]['options'] | Show |
412 | integer | no | $zz['fields'][n]['rows_max'] max number of rows in textarea (textarea might expand if text is edited to approximately the numbers of rows needed to display all text without scroll bar) Relations: memo | Show |
202 | integer | no | $zz['fields'][n]['rows'] number of rows in textarea, will be expanded if a record is edited to approximately the needed length Relations: memo | Show |
416 | integer | no | $zz['fields'][n]['show_hierarchy Relations: select; $zz['fields'][n]['show_hierarchy'] | Show |
423 | integer | no | $zz['fields'][n]['size_select_to Relations: select | Show |
405 | integer | no | $zz['fields'][n]['size'] Maximum length of characters that may be entered in input field, size of input field, standard for number 16, for time 8 and for all other fields 32 (or maxlength if smaller) | 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 |
278 | mixed | no | $zz['fields'][n]['default_image' | Show |
978 | mixed | no | $zz['fields'][n]['group_dependen Relations: $zz['fields'][n]['group_in_list'] | Show |
929 | mixed | no | $zz['fields'][n]['separator_befo Relations: $zz['fields'][n]['separator'] | Show |
465 | mixed | no | $zz['fields'][n]['separator'] - true: will put a separation behind this field, to improve form layout. - column_begin, column, column_end: put form in two columns - text bla blubb: will put bla blubb below `<hr>`-Separator | 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 |
354 | string | no | $zz['fields'][n]['access'] access on record basis
`show`: makes a subrecord not editable, just viewable Relations: $zz['access'] | Show |
420 | string | no | $zz['fields'][n]['add_details'] add detail records in different table, attention: current input will not be saved. Field gets ID #zz_add_details_x_y_z where x is table no [0...n], y is for subtable no [0 if main table, else 0...n] z is field number in zz-array Relations: select | Show |
437 | string: HTML | no | $zz['fields'][n]['add_details_ta | Show |
409 | string | no | $zz['fields'][n]['auto_value'] increment | ... // 1 will be added and inserted in 'default' Relations: number | Show |
431 | string | no | $zz['fields'][n]['calculation'] hours | sum (only supported modes) Relations: calculated | Show |
919 | string | no | $zz['fields'][n]['character_set' | Show |
916 records total