1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
indexcollection.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Core\Base;
4
5
abstract
class
IndexCollection
extends
Collection
6
{
13
public
function
add
($item, $index =
null
):
IndexCollection
14
{
15
if
(!$index)
16
{
17
throw
new
BaseException
(
'you should pass index'
);
18
}
19
20
$this->collection[$index] = $item;
21
22
return
$this;
23
}
24
}
Bitrix\Calendar\Core\Base\BaseException
Определения
baseexception.php:8
Bitrix\Calendar\Core\Base\IndexCollection
Определения
indexcollection.php:6
Bitrix\Calendar\Core\Base\IndexCollection\add
add($item, $index=null)
Определения
indexcollection.php:13
Bitrix\Main\ORM\Objectify\Collection
Определения
collection.php:33
bitrix
modules
calendar
lib
core
base
indexcollection.php
Создано системой
1.14.0