1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Интерфейс EntityCollectionInterface
Граф наследования:EntityCollectionInterface:
EntityCollection BasketItemCollection BasketPropertiesCollectionBase EntityPropertyValueCollection PayableItemCollection PaymentCollection ReserveQuantityCollection ShipmentCollection ShipmentItemCollection ShipmentItemStoreCollection TradeBindingCollection

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

 add (EntityInterface $item)
 isEmpty ()
 find (callable $callback)
 filter (callable $callback)
 map (callable $callback)

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

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

Методы

◆ add()

add ( EntityInterface $item)

Add item to the collection and check its class.

Аргументы
EntityInterface$item
Возвращает
void
Исключения
ArgumentExceptionIf passed item of the wrong class.

Замещается в EntityCollection.

◆ filter()

filter ( callable $callback)

Замещается в EntityCollection.

◆ find()

find ( callable $callback)

Замещается в EntityCollection.

◆ isEmpty()

isEmpty ( )

Замещается в EntityCollection.

◆ map()

map ( callable $callback)

Run a map over each of the items in the collection

Аргументы
callable$callback
Возвращает
array Result of applying callback to each item of the collection

Замещается в EntityCollection.


Объявления и описания членов интерфейса находятся в файле: