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

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

 __construct (array $usersIds=[])
 
 fillOnlineData (bool $withStatus=false)
 
 filterExtranet ()
 
 toRestFormat (array $option=[])
 
- Открытые члены унаследованные от EntityCollection
 getPopupData (array $excludedList=[])
 
 getUnique ()
 
 getIds ()
 
 getById (int $id)
 
 offsetSet ($offset, $value)
 
- Открытые члены унаследованные от Registry
 unsetByKeys (array $keys)
 
 filter (callable $predicate)
 
 getAny ()
 

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

static filterOnlineUserId (array $userIds)
 
static getRestEntityName ()
 
- Открытые статические члены унаследованные от EntityCollection
static initByArray (array $entities)
 

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

- Защищенные данные унаследованные от EntityCollection
array $entitiesWithId = []
 

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

<int,User> @method User offsetGet($offset) @method User getById(int $id)

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

Конструктор(ы)

◆ __construct()

__construct ( array $usersIds = [])

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

Методы

◆ fillOnlineData()

fillOnlineData ( bool $withStatus = false)

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

◆ filterExtranet()

filterExtranet ( )

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

◆ filterOnlineUserId()

static filterOnlineUserId ( array $userIds)
static

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

◆ getRestEntityName()

static getRestEntityName ( )
static

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

Возвращает
string

Замещает RestConvertible.

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

◆ toRestFormat()

toRestFormat ( array $option = [])

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

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

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

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