Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
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
Definition
baseexception.php:8
Bitrix\Calendar\Core\Base\Collection
Definition
collection.php:10
Bitrix\Calendar\Core\Base\IndexCollection
Definition
indexcollection.php:6
Bitrix\Calendar\Core\Base\IndexCollection\add
add($item, $index=null)
Definition
indexcollection.php:13
Bitrix\Calendar\Core\Base
Definition
baseexception.php:3
modules
calendar
lib
core
base
indexcollection.php
Создано системой
1.10.0