1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Page
Граф наследования:Page:
B24button Background Cookies Copyright CssBlock Favicon Fonts GMap GTM GaCounter HeadBlock Layout MetaGoogleVerification MetaMain MetaOg MetaRobots MetaYandexVerification PixelFb PixelVk Robots Settings Speed Theme ThemeFonts Transition Up View YMap YaCounter

Открытые члены

 __construct ($editMode=false, $isPage=true)
 isPage ()
 getTitle ()
 getDescription ()
 getSort ()
 isFree ()
 isLocked ()
 getLockedMessage ()
 isNeedPublication ()
 getCode ()
 setData (array $data)
 getPageFields ()
 getFields ()
 enabledInEditMode ()
 enabledInIntranetMode ()
 fieldsHash ()
 dataExist ()
 setCustomExec (callable $callback)
 issetCustomExec ()
 enabled ()
 exec ()

Защищенные члены

 isEditMode ()
 execCustom ()
 getMap ()

Защищенные данные

 $editMode = false
 $fields = array()
 $fieldsPage = array()
 $isPage = true
 $customExec = null
 $isNeedPublication = false

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

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

Конструктор(ы)

◆ __construct()

__construct ( $editMode = false,
$isPage = true )

Class constructor.

Аргументы
boolean$editModeEdit mode if true.
boolean$isPageInstance of page.

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

Методы

◆ dataExist()

dataExist ( )

Exist or not data in this hook.

Возвращает
boolean

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

◆ enabled()

enabled ( )
abstract

◆ enabledInEditMode()

enabledInEditMode ( )

Exec or not hook in edit mode.

Возвращает
boolean

Переопределяется в B24button, Cookies, CssBlock, Favicon, GaCounter, GTM, HeadBlock, MetaGoogleVerification, MetaMain, MetaOg, MetaRobots, MetaYandexVerification, PixelFb, PixelVk, Robots и YaCounter.

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

◆ enabledInIntranetMode()

enabledInIntranetMode ( )

Exec or not hook in intranet mode.

Возвращает
boolean

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

◆ exec()

◆ execCustom()

execCustom ( )
protected

Execute custom exec method if exist.

Возвращает
boolean

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

◆ fieldsHash()

fieldsHash ( )

Get unique hash from hook fields.

Возвращает
string

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

◆ getCode()

getCode ( )

Get code of hook.

Возвращает
string

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

◆ getDescription()

getDescription ( )

Description of Hook, if you want.

Возвращает
string

Переопределяется в Background и MetaMain.

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

◆ getFields()

getFields ( )

Get fields of current Page Hook.

Возвращает
\Bitrix\Landing\Field[]

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

◆ getLockedMessage()

getLockedMessage ( )

Gets message for locked state.

Возвращает
string

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

◆ getMap()

getMap ( )
abstractprotected

◆ getPageFields()

getPageFields ( )

Get fields of current Page Hook in Page context.

Возвращает
array

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

◆ getSort()

getSort ( )

Get sort of block (execute order).

Возвращает
int

Переопределяется в Cookies, CssBlock и HeadBlock.

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

◆ getTitle()

getTitle ( )

Title of Hook, if you want.

Возвращает
string

Переопределяется в Background, Cookies, CssBlock, Favicon, HeadBlock, Layout, MetaMain, MetaOg, MetaRobots, Robots, Speed и View.

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

◆ isEditMode()

isEditMode ( )
protected

Edit mode or not.

Возвращает
boolean

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

◆ isFree()

isFree ( )

Enable only in high plan or not.

Возвращает
boolean

Переопределяется в Copyright, GaCounter, GTM, HeadBlock и YaCounter.

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

◆ isLocked()

isLocked ( )

Locked or not current hook in free plan.

Возвращает
bool

Переопределяется в Copyright, GaCounter, GTM, HeadBlock и YaCounter.

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

◆ isNeedPublication()

isNeedPublication ( )
Возвращает
bool - true if hook change required forced page/site publication

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

◆ isPage()

isPage ( )

This hook is instance for page?

Возвращает
bool

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

◆ issetCustomExec()

issetCustomExec ( )

If isset custom exec method.

Возвращает
boolean

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

◆ setCustomExec()

setCustomExec ( callable $callback)

Set custom exec method.

Аргументы
callable$callbackCallback function.
Возвращает
void

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

◆ setData()

setData ( array $data)

Set data to the fields current hook.

Аргументы
array$dataData array.
Возвращает
void

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

Поля

◆ $customExec

$customExec = null
protected

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

◆ $editMode

$editMode = false
protected

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

◆ $fields

$fields = array()
protected

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

◆ $fieldsPage

$fieldsPage = array()
protected

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

◆ $isNeedPublication

$isNeedPublication = false
protected

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

◆ $isPage

$isPage = true
protected

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/landing/lib/hook/page.php