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

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

 getPopupData (array $excludedList=[])
 
 toRestFormatIdOnly ()
 
 setMessageInfo (Message $message)
 
 getEntityIds ()
 
 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 getRestEntityName ()
 
- Открытые статические члены унаследованные от Collection
static getDataClass ()
 
static find (array $filter, array $order, ?int $limit=null, ?Context $context=null)
 

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

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

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

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

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

Методы

◆ getCollectionElementClass()

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

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

Переопределяется в CalendarCollection, FavoriteCollection, FileCollection, PinCollection, ReminderCollection, TaskCollection и UrlCollection.

◆ getEntityIds()

getEntityIds ( )

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

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

Переопределяется в FavoriteCollection, FileCollection и ReminderCollection.

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

◆ getRestEntityName()

static getRestEntityName ( )
static

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

Возвращает
string

Замещает RestConvertible.

Переопределяется в PinCollection.

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

◆ setMessageInfo()

setMessageInfo ( Message $message)

Associates the entity with the passed message by filling in the messageId, chatId and authorId

Аргументы
Message$message
Возвращает
static

Замещает Link.

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

◆ toRestFormat()

toRestFormat ( array $option = [])

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

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

Замещает RestConvertible.

Переопределяется в FavoriteCollection и ReminderCollection.

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

◆ toRestFormatIdOnly()

toRestFormatIdOnly ( )

Returns an array containing the id of the link and the id of the linked entity, or an array of such arrays

Возвращает
array

Замещает LinkRestConvertible.

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