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

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

 __construct (PropertyRepositoryContract $repository)
 
 setValues (array $propertyValues)
 
 saveInternal ()
 
 deleteInternal ()
 
- Открытые члены унаследованные от BaseCollection
 getParent ()
 
 setParent (?BaseEntity $parent)
 
 add (BaseEntity ... $items)
 
 remove (BaseEntity ... $items)
 
 clearRemoved (BaseEntity ... $items)
 
 clearChanged ()
 
 isEmpty ()
 
 isChanged ()
 
 findById (int $id)
 
 getFirst (callable $callback=null)
 
 toArray ()
 
 getRemovedItems ()
 
 getIterator ()
 
 setIteratorCallback (\Closure $iteratorCallback)
 
 count ()
 

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

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

Дополнительные унаследованные члены

- Защищенные члены унаследованные от BaseCollection
 addInternal (BaseEntity $item)
 
 loadItems ()
 
 isLoaded ()
 
 loadByIteratorCallback ()
 
 getAlreadyLoadedFilter ()
 

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

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

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

◆ __construct()

__construct ( PropertyRepositoryContract $repository)

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

Методы

◆ deleteInternal()

deleteInternal ( )
Возвращает
\Bitrix\Main\Result

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

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

◆ saveInternal()

saveInternal ( )
Возвращает
\Bitrix\Main\Result

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

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

◆ setValues()

setValues ( array $propertyValues)
Аргументы
array$propertyValues
Возвращает
$this

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

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

◆ $repository

$repository
protected

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