Bitrix API

ActiveRecordCollection

Table of Contents

Methods

add()  : static
Append collection with new item.
delete()  : Result
Drops object from database.
find()  : static
getCollectionElementClass()  : string|ActiveRecord
Returns collection item's class name.
getDataClass()  : string
Returns ORM tablet class name.
getDataEntityCollection()  : Collection
Returns ORM data entity.
getPrimaryIds()  : array<string|int, int>
load()  : Result
Restores object state from database.
save()  : Result
Saves collection objects states into database.

Methods

find()

public static find(array<string|int, mixed> $filter, array<string|int, mixed> $order[, int|null $limit = null ][, Context|null $context = null ]) : static
Parameters
$filter : array<string|int, mixed>
$order : array<string|int, mixed>
$limit : int|null = null
$context : Context|null = null
Return values
static

getDataClass()

Returns ORM tablet class name.

public static getDataClass() : string
Return values
string

getPrimaryIds()

public getPrimaryIds() : array<string|int, int>
Return values
array<string|int, int>

        
On this page

Search results