Property
Class Property
The class to display iblock property with the type of "custom_entity" in the main.ui.filter
Table of Contents
Methods
- addFilter() : void
- Add values in filter.
- render() : string
- Method renders the html for custom_entity field.
Methods
addFilter()
Add values in filter.
public
static addFilter(array<string|int, mixed> $property, array<string|int, mixed> $controlSettings, array<string|int, mixed> &$filter, bool &$filtered) : void
Parameters
- $property : array<string|int, mixed>
-
Property data.
- $controlSettings : array<string|int, mixed>
-
Form data.
- $filter : array<string|int, mixed>
-
Filter data.
- $filtered : bool
-
Marker filter.
render()
Method renders the html for custom_entity field.
public
static render(string $filterId, string $propertyType, array<string|int, mixed> $listProperty) : string
Parameters
- $filterId : string
-
Filter id.
- $propertyType : string
-
Type property.
- $listProperty : array<string|int, mixed>
-
List properties.
Return values
string —Html.