Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
type.php
1<?php
9
12
13Loc::loadMessages(__FILE__);
14
19class Type extends ClassConstant
20{
21 const BASE = 1;
22 const USER = 2;
23 const ADDITIONAL = 3;
24 const SITE_TMPL = 4;
25
32 public static function getName($id)
33 {
34 $name = Loc::getMessage('SENDER_TEMPLATES_TYPE_CAPTION_' . self::getCode($id));
35 return $name ?: parent::getName($id);
36 }
37}
static loadMessages($file)
Definition loc.php:64
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29