Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
messageaccess.php
1
<?php
2
3
namespace
Bitrix\Mail\Collection
;
4
5
use
Bitrix\Mail\Item\Base
as Item;
6
7
class
MessageAccess
extends
Immutable
8
{
9
public
function
createItem
(array $array)
10
{
11
return \Bitrix\Mail\Item\MessageAccess::fromArray($array);
12
}
13
14
public
function
ensureItem
(Item $item, $throwException =
true
)
15
{
16
if
($item instanceof \
Bitrix
\
Mail
\Item\
MessageAccess
) {
17
return
true
;
18
}
19
return
parent::ensureItem($item, $throwException);
20
}
21
}
Bitrix\Mail\Collection\Immutable
Definition
immutable.php:11
Bitrix\Mail\Collection\MessageAccess
Definition
messageaccess.php:8
Bitrix\Mail\Collection\MessageAccess\ensureItem
ensureItem(Item $item, $throwException=true)
Definition
messageaccess.php:14
Bitrix\Mail\Collection\MessageAccess\createItem
createItem(array $array)
Definition
messageaccess.php:9
Bitrix\Mail\Item\Base
Definition
base.php:12
Bitrix\Mail\Collection
Definition
immutable.php:3
Bitrix\Main\Mail
Definition
address.php:8
Bitrix
modules
mail
lib
collection
messageaccess.php
Создано системой
1.10.0