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

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

 getMessageCollection ()
 
 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 initByEntityCollection (EO_LinkReminder_Collection $entityCollection)
 
static getByMessage (Message $message)
 
static getByMessagesAndAuthorId (MessageCollection $messages, int $userId)
 
static getByMessageIdsAndAuthorId (array $messageIds, int $userId)
 
static getNeedReminded ()
 
- Открытые статические члены унаследованные от 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,ReminderItem> @method ReminderItem offsetGet($key)

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

Методы

◆ 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.

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

◆ getByMessage()

static getByMessage ( Message $message)
static

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

◆ getByMessageIdsAndAuthorId()

static getByMessageIdsAndAuthorId ( array $messageIds,
int $userId )
static

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

◆ getByMessagesAndAuthorId()

static getByMessagesAndAuthorId ( MessageCollection $messages,
int $userId )
static

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

◆ getCollectionElementClass()

static getCollectionElementClass ( )
static
Возвращает
string|LinkItem

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

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

◆ getMessageCollection()

getMessageCollection ( )

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

◆ getNeedReminded()

static getNeedReminded ( )
static

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

◆ 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

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

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

◆ initByEntityCollection()

static initByEntityCollection ( EO_LinkReminder_Collection $entityCollection)
static

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

◆ processFilters()

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

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

◆ toRestFormat()

toRestFormat ( array $option = [])

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

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

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

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