User properties
User properties for the information block module allow to modify the presentation (input forms and etc.) for standard properties and expand their features. Such property is a collection of event handlers, called when creating administrative interface, site public section and API functionality.
OnIBlockPropertyBuildList event handlers are called when using the user property methods. List of properties is built and property methods are called if required.
Examples of the properties specific implementation can be found in the classes/general/prop_*.php files for iblock module.
OnIBlockPropertyBuildList event handlers are called when using the user property methods. List of properties is built and property methods are called if required.
Examples of the properties specific implementation can be found in the classes/general/prop_*.php files for iblock module.
Class methods
Method | Description | Available from version |
---|---|---|
GetUserTypeDescription | Gets user property description | |
GetUIFilterProperty | Describes type of filter field | |
GetPublicEditHTMLMulty | Edits multiple properties for public section | |
CheckFields | Checks validity of property | |
GetLength | Gets actual length of value | |
ConvertToDB | Saves in database | |
ConvertFromDB | Converts from database format | |
GetPropertyFieldHtml | Returns safe HTML for editing | |
GetAdminListViewHTML | Shows in list | |
GetPublicViewHTML | Shows in public section в | |
GetPublicEditHTML | Edits in public section | |
[link=202866]GetSearchContent[/link] | Indexes values | |
PrepareSettings | Saves settings | |
GetSettingsHTML | Edits settings | |
GetPropertyFieldHtmlMulty | Prints forms for editing multiple property. When unavailable, GetPropertyFieldHtml is used for each value separately (for multiple values). | |
GetAdminFilterHTML | Prints html for property filter on the Iblock element list at the admin page. | |
GetPublicFilterHTML | Prints html for property filter on Iblock element list at the public page. |
© «Bitrix24», 2001-2024