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

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

 getPopupData (array $excludedList=[])
 
 toRestFormat (array $option=[])
 
- Открытые члены унаследованные от Collection
 __construct ($source=null)
 
 add (ActiveRecord $entry)
 
 offsetSet ($offset, $entry)
 
 load ($source)
 
 delete ()
 
- Открытые члены унаследованные от Registry
 unsetByKeys (array $keys)
 
 filter (callable $predicate)
 
 getAny ()
 
- Открытые члены унаследованные от ActiveRecordCollection
 getPrimaryIds ()
 
 getDataEntityCollection ()
 
 save ()
 

Открытые статические члены

static getCollectionElementClass ()
 
static find (array $filter, array $order, ?int $limit=null, ?Context $context=null)
 
static getRestEntityName ()
 
- Открытые статические члены унаследованные от Collection
static getDataClass ()
 

Защищенные статические члены

static processFilters (Query $query, array $filter, array $order)
 

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

- Защищенные члены унаследованные от Collection
 setDataEntityCollection (ORM\Objectify\Collection $entityCollection)
 
 initByEntitiesCollection (ORM\Objectify\Collection $entitiesCollection)
 
 initByArray (array $items)
 
- Защищенные данные унаследованные от Collection
ORM Objectify Collection $dataEntityCollection = null
 
int $newEntityTmpId = 0
 

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

<int,ReactionItem> @method ReactionItem offsetGet($key)

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

Методы

◆ find()

static find ( array $filter,
array $order,
?int $limit = null,
?Context $context = null )
static
Аргументы
array$filter
array$order
int | null$limit
Context | null$context
Возвращает
static

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

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

◆ getCollectionElementClass()

static getCollectionElementClass ( )
static

Returns collection item's class name.

Возвращает
string|ActiveRecord

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

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

◆ getPopupData()

getPopupData ( array $excludedList = [])

Returns the data to be raised to the top of the REST response. Works on the principle of the composite pattern.

См. также
RestAdapter::toRestFormat()
Аргументы
string[]$excludedList
Возвращает
PopupData

Замещает PopupDataAggregatable.

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

◆ getRestEntityName()

static getRestEntityName ( )
static

Returns the name of the entity that will be used in the rest response

Возвращает
string

Замещает RestConvertible.

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

◆ processFilters()

static processFilters ( Query $query,
array $filter,
array $order )
staticprotected

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

◆ toRestFormat()

toRestFormat ( array $option = [])

Returns an array in JSON like format to return the entity as a rest response.

Аргументы
array$option
Возвращает
array

Замещает RestConvertible.

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