Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс LazyValueLoader
+ Граф наследования:LazyValueLoader:

Открытые члены

 __construct ($key)
 
 __toString ()
 
 getValue ()
 

Защищенные члены

 load ()
 

Защищенные данные

 $value = null
 
 $key = null
 

Подробное описание

См. определение в файле base.php строка 150

Конструктор(ы)

◆ __construct()

__construct ( $key)
Аргументы
string | integer$keyUnique identifier.

См. определение в файле base.php строка 158

Методы

◆ __toString()

__toString ( )

Calls load method if value was not loaded yet.

Возвращает
mixed

См. определение в файле base.php строка 168

◆ getValue()

getValue ( )

Calls load method if value was not loaded yet.

Возвращает
mixed

См. определение в файле base.php строка 180

◆ load()

load ( )
protected

Actual work method which have to retrieve data from the DB.

Возвращает
mixed

Переопределяется в ElementCatalogMeasure, ElementCatalogStoreList, ElementPropertyUserField, ElementPropertyEnum, ElementPropertyElement и ElementPropertySection.

См. определение в файле base.php строка 192

Данные класса

◆ $key

$key = null
protected

См. определение в файле base.php строка 153

◆ $value

$value = null
protected

См. определение в файле base.php строка 152