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

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

 addItem ($template)
 
 getTemplate (string $type)
 
- Открытые члены унаследованные от Collection
 __construct (array $items=[])
 
 setItems (array $items)
 
 getItems ()
 
 offsetSet ($offset, $value)
 
 offsetExists ($offset)
 
 offsetUnset ($offset)
 
 offsetGet ($offset)
 
 count ()
 
 rewind ()
 
 current ()
 
 key ()
 
 next ()
 
 valid ()
 
 clear ()
 

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

 $items = []
 
- Защищенные данные унаследованные от Collection
 $items = []
 

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

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

Методы

◆ addItem()

addItem ( $template)

Add Format field to collection

Аргументы
Template$template
Возвращает
int
Исключения
ArgumentTypeException

Переопределяет метод предка Collection.

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

◆ getTemplate()

getTemplate ( string $type)
Аргументы
string$typeSee TemplateType
Возвращает
Template|null

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

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

◆ $items

$items = []
protected

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