Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
TaskCollection.php
1
<?php
2
3
namespace
Bitrix\Im\V2\Entity\Task
;
4
5
use
Bitrix\Im\V2\Entity\EntityCollection
;
6
11
class
TaskCollection
extends
EntityCollection
12
{
13
public
static
function
getRestEntityName
(): string
14
{
15
return
'tasks'
;
16
}
17
18
public
static
function
initByDBResult
(\CDBResult $result): self
19
{
20
$taskCollection =
new
static
();
21
22
while
($row = $result->Fetch())
23
{
24
$taskCollection[] =
TaskItem::initByRow
($row);
25
}
26
27
return
$taskCollection;
28
}
29
}
Bitrix\Im\V2\Entity\EntityCollection
Definition
EntityCollection.php:13
Bitrix\Im\V2\Entity\Task\TaskCollection
Definition
TaskCollection.php:12
Bitrix\Im\V2\Entity\Task\TaskCollection\getRestEntityName
static getRestEntityName()
Definition
TaskCollection.php:13
Bitrix\Im\V2\Entity\Task\TaskCollection\initByDBResult
static initByDBResult(\CDBResult $result)
Definition
TaskCollection.php:18
Bitrix\Im\V2\Entity\Task\TaskItem\initByRow
static initByRow(array $row)
Definition
TaskItem.php:76
Bitrix\Im\V2\Entity\Task
Definition
TaskCollection.php:3
modules
im
lib
V2
Entity
Task
TaskCollection.php
Создано системой
1.10.0