ElementPropertyUserField extends LazyValueLoader
Class LazyValueLoader Strategy class used for delaying queries to DB.
Table of Contents
Methods
- __construct() : mixed
- __toString() : mixed
- Calls load method if value was not loaded yet.
- getValue() : mixed
- Calls load method if value was not loaded yet.
Methods
__construct()
public
__construct(int $key, array<string|int, mixed>|mixed $property) : mixed
Parameters
- $key : int
-
Iblock element identifier.
- $property : array<string|int, mixed>|mixed
-
Iblock property array.
__toString()
Calls load method if value was not loaded yet.
public
__toString() : mixed
getValue()
Calls load method if value was not loaded yet.
public
getValue() : mixed