1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс TemplateRef

Открытые статические члены

static setForSite ($id, array $data=array())
static setForLanding ($id, array $data=array())
static getForSite ($id)
static getForLanding ($id)
static landingIsArea (int|array $lid)
static deleteArea ($lid)
static resolveClassByType ($type)

Поля данных

const ENTITY_TYPE_SITE = 'S'
const ENTITY_TYPE_LANDING = 'L'

Защищенные статические члены

static set ($id, $type, array $data=array())
static get ($id, $type)

Подробное описание

См. определение в файле templateref.php строка 6

Методы

◆ deleteArea()

deleteArea ( $lid)
static

Delete all area-landing by id.

Аргументы
integer$lidLanding id.
Возвращает
void

См. определение в файле templateref.php строка 213

◆ get()

get ( $id,
$type )
staticprotected

Get template refs for entity.

Аргументы
int$idEntity id.
string$typeEntity type.
Возвращает
array

См. определение в файле templateref.php строка 79

◆ getForLanding()

getForLanding ( $id)
static

Get template refs for site.

Аргументы
int$idLanding id.
Возвращает
array

См. определение в файле templateref.php строка 153

◆ getForSite()

getForSite ( $id)
static

Get template refs for site.

Аргументы
int$idSite id.
Возвращает
array

См. определение в файле templateref.php строка 143

◆ landingIsArea()

landingIsArea ( int|array $lid)
static

This landing id is used as a area?

Аргументы
int | array$lidLanding id.
Возвращает
boolean|array

См. определение в файле templateref.php строка 165

◆ resolveClassByType()

resolveClassByType ( $type)
static

Resolves class by type.

Аргументы
string$typeEntity type.
Возвращает
string

См. определение в файле templateref.php строка 234

◆ set()

set ( $id,
$type,
array $data = array() )
staticprotected

Set new template refs for entity.

Аргументы
int$idEntity id.
string$typeEntity type.
array$dataRef array.
Возвращает
void

См. определение в файле templateref.php строка 27

◆ setForLanding()

setForLanding ( $id,
array $data = array() )
static

Set new template refs for landing.

Аргументы
int$idLanding id.
array$dataRef array (area => landing).
Возвращает
void

См. определение в файле templateref.php строка 130

◆ setForSite()

setForSite ( $id,
array $data = array() )
static

Set new template refs for site.

Аргументы
int$idSite id.
array$dataRef array (area => landing).
Возвращает
void

См. определение в файле templateref.php строка 116

Поля

◆ ENTITY_TYPE_LANDING

const ENTITY_TYPE_LANDING = 'L'

Entity type landing.

См. определение в файле templateref.php строка 16

◆ ENTITY_TYPE_SITE

const ENTITY_TYPE_SITE = 'S'

Entity type site.

См. определение в файле templateref.php строка 11


Объявления и описания членов класса находятся в файле: