General Introduction
Settings
AddBufferContent
AddChainItem
AddHeadScript
AddHeadString
AddPanelButton
AddViewContent
AuthForm
CaptchaCheckCode
CaptchaGetCode
ConvertCharset
ConvertCharsetArray
CopyFileAccessPermission
GetCSS
GetCurDir
GetCurPage
GetCurPageParam
GetCurUri
GetDirProperty
GetDirPropertyList
GetException
GetFileAccessPermission
GetFileContent
GetFileRecursive
GetMenu
GetMenuHtml
GetMenuHtmlEx
GetMeta
GetNavChain
GetPageProperty
GetPagePropertyList
GetPanel
GetProperty
GetPublicShowMode
GetShowIncludeAreas
GetSiteByDir
GetTemplatePath
GetTitle
GetUserRight
GetUserRoles
IncludeAdminFile
IncludeComponent
IncludeFile
IncludeString
IsHTTPS
MoveJSToBody
RemoveFileAccessPermission
ResetException
SaveFileContent
SetAdditionalCSS
SetCurPage
SetDirProperty
SetFileAccessPermission
SetPageProperty
SetTemplateCSS
SetTitle
ShowBanner
ShowBodyScripts
ShowCSS
ShowHead
ShowHeadScripts
ShowHeadStrings
ShowMeta
ShowNavChain
ShowPanel
ShowProperty
ShowSpreadCookieHTML
ShowTitle
ShowViewContent
ThrowException
get_cookie
set_cookie
Complex logic in filter
Special variables
Special constants
ShowProperty
CMain::ShowProperty( string property_id, mixed default_value = false )
The method displays page properties, with respect to the section properties.
This method utilizes the delay function technology allowing to define page properties (e.g. inside a component) after the site prologue is displayed. Non-static method.
Parameters
Parameter | Description |
---|---|
property_id | Property ID. |
default_value | Property value by default. Optional parameter. By default value is "false", meaning that the property value is not assigned. |
See Also
Examples of use
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=LANG_CHARSET;?>"> <META NAME="ROBOTS" content="ALL"> <?$APPLICATION->ShowMeta("keywords")?> <?$APPLICATION->ShowMeta("description")?> <title><?$APPLICATION->ShowProperty("page_title")?></title> <?$APPLICATION->ShowCSS();?> </head> <body link="#525252" alink="#F1555A" vlink="#939393" text="#000000"> ...
© «Bitrix24», 2001-2023
Up