PropertyTable
PropertyTable class handles iblock property table.
Class methods
Method | Description | Available from version |
---|---|---|
getFilePath | Returns path to file containing class definition. | |
getMap | Returns list of fields for iblock property table. | |
getTableName | Returns name for iblock property table in database. | |
validateCode | Returns validator for the field CODE . |
|
validateFileType | Returns validator for the field FILE_TYPE . |
|
validateHint | Returns validator for the field HINT . |
|
validateName | Returns validator for the field NAME . |
|
validateTmpId | Returns validator for the field TMP_ID . |
|
validateUserType | Returns validator for the field USER_TYPE . |
|
validateXmlId | Returns validator for the field XML_ID . |
Constants for iblock custom properties
It's recommended to use constants when analyzing the field USER_TYPE value of iblock properties.
Constant | Value | Description | Available from version |
---|---|---|---|
USER_TYPE_DATE | Date | Date property ID. | 23.0.0 |
USER_TYPE_DATETIME | DateTime | Date/Time property ID. | 23.0.0 |
USER_TYPE_XML_ID | ElementXmlID | Link to elements by XML_ID property ID. | 23.0.0 |
USER_TYPE_FILE_MAN | FileMan | Link to file (on server) property ID. | 23.0.0 |
USER_TYPE_HTML | HTML | HTML/text property ID. | 23.0.0 |
USER_TYPE_ELEMENT_LIST | EList | Link to elements (drop-down list) property ID. | 23.0.0 |
USER_TYPE_SEQUENCE | Sequence | Counter property ID. | 23.0.0 |
USER_TYPE_ELEMENT_AUTOCOMPLETE | EAutocomplete | Link-to-element autocomplete text box property ID. | 23.0.0 |
USER_TYPE_SKU | SKU | Link to product items (SKU) property ID. | 23.0.0 |
USER_TYPE_SECTION_AUTOCOMPLETE | SectionAuto | Bind to sections with autocomplete property ID. | 23.0.0 |
USER_TYPE_DIRECTORY | directory | Directory property ID. | 23.0.0 |
USER_TYPE_CRM | CRM | Bind To CRM items property ID. | 23.300.0 |
USER_TYPE_MONEY | Money | Money property ID. | 23.300.0 |
USER_TYPE_DISK | DiskFile | File (Drive) property ID. | 23.300.0 |
USER_TYPE_GOOGLE_MAP | map_google | Bind to Google Maps property ID. | 23.300.0 |
USER_TYPE_YANDEX_MAP | map_yandex | Bind to Yandex.Maps property ID. | 23.300.0 |
USER_TYPE_FORUM_TOPIC | TopicID | Link to forum topic property ID. | 23.300.0 |
USER_TYPE_DIRECTORY | directory | Directory property ID. | 23.300.0 |
USER_TYPE_EMPLOYEE | employee | Bind to employee property ID. | 23.300.0 |
USER_TYPE_USER | UserID | Bind to user property ID. | 23.300.0 |
© «Bitrix24», 2001-2024