Constants
Predefined Constants
ELM_TYPE_FOLDER
Search only for folder type elements.
ELM_TYPE_ELEMENT
Search only for element type elements.
ELM_TYPE_CONTAINER
Search only for container type elements.
ELM_TYPE_ALL
Search for all alement types.
FIELD_TYPE_DATE
Field type for date format.
FIELD_TYPE_SMALLTEXT
Field type for a maximum of 255 characters.
FIELD_TYPE_LARGETEXT
Field type for a lot of formated text.
FIELD_TYPE_SIMPLETEXT
Field type for a lot of unformatted text.
FIELD_TYPE_NUMBER
Field type for number format including float.
FIELD_TYPE_FILE
Field type for single or multiple files.
FIELD_TYPE_IMAGE
Field type for single or multiple images.
FIELD_TYPE_USER
Field type for a PunchCMS user.
FIELD_TYPE_LINK
Field type for a deep link.
FIELD_TYPE_BOOLEAN
Field type a boolean value.
FIELD_TYPE_SELECT_LIST_MULTI
Field type for a dropdown list with multiple values.
FIELD_TYPE_SELECT_LIST_SINGLE
Field type for a dropdown list with a single value.
FIELD_TYPE_CHECK_LIST_MULTI
Field type for a checkbox list.
FIELD_TYPE_CHECK_LIST_SINGLE
Field type for a radio button list.
VALUE_HTML
Value is formated for HTML output. (XHTML 1.0 Strict)
VALUE_HILIGHT
Value is formated with active links for email addresses and URLs.
VALUE_NOURL
Value is formated with all active links removed.
VALUE_SRC
Only for image and file types. Value is formated as a complete link to the uploaded file.
VALUE_ORIGINAL
Only for image and file types. Value is formated to the original name of the uploaded file.
VALUE_XML
Value is formated for XML output.
VALUE_DOWNLOAD
Only for image and file types. Value is formated as a download link to the uploaded file.