Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
field.php
1
<?php
8
namespace
Bitrix\Sender\Recipient
;
9
10
use
Bitrix\Main\Localization\Loc
;
11
use
Bitrix\Main\Config\Option
;
12
13
Loc::loadMessages
(__FILE__);
14
19
class
Field
20
{
26
public
static
function
getDefaultName
()
27
{
28
static
$name
;
29
if
(!
$name
)
30
{
31
$name
= Option::get(
'sender'
,
'default_recipient_name'
,
Loc::getMessage
(
'SENDER_RECIPIENT_FIELD_DEFAULT_NAME'
));
32
}
33
return
$name
;
34
}
35
}
Bitrix\Main\Config\Option
Definition
option.php:15
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Main\ORM\Fields\Field
Definition
field.php:25
Bitrix\Main\ORM\Fields\Field\$name
$name
Definition
field.php:27
Bitrix\Sender\Recipient\Field\getDefaultName
static getDefaultName()
Definition
field.php:26
Bitrix\Sender\Recipient
Definition
agent.php:8
modules
sender
lib
recipient
field.php
Создано системой
1.10.0