UNA
|
Public Member Functions | |
__construct ($aObject, $oTemplate) | |
performActionGetHelp () | |
performActionGetShare () | |
performActionEmbed () | |
performActionCreativeSave () | |
isAllowedCreativeManage () | |
getCodeDynamic () | |
getIncludes () | |
getCode () | |
getJsClassName () | |
getJsObjectName () | |
_wrapInTagJsCode ($sCode) | |
getJsScript () | |
isPageCover () | |
setSubPage ($b=true) | |
setPageCover ($bCover=true) | |
getPageCoverImage ($bTranscoder=true) | |
getPageCoverParams () | |
getBlockTitle ($aBlock) | |
getBlockHelp ($aBlock) | |
getBlockAsyncCode ($aBlock, $iAsync) | |
getPageAPI ($aBlocks=[]) | |
getPageBlocksAPI ($aBlocks=[]) | |
Public Member Functions inherited from BxDolPage | |
displayPage ($oTemplate=null) | |
getId () | |
getType () | |
getModule () | |
getSubMenu () | |
getMetaDescription () | |
getName () | |
getObject () | |
getInjections () | |
setTitle ($sTitle) | |
addMarkers ($a) | |
isAvailablePage () | |
isVisiblePage () | |
isPage () | |
isVisiblePageSubmenu () | |
isEditAllowed () | |
isDeleteAllowed () | |
Protected Member Functions | |
_getPageCodeVars () | |
processPageBlock (&$aBlock, $bApi=false) | |
_getPageCode () | |
_getBlockOnlyCode ($iBlockId) | |
_getBlockCodeWithCache (&$aBlock, $iAsync=0) | |
_getBlockCode (&$aBlock, $iAsync=0) | |
_addJsCss () | |
_addSysTemplateVars () | |
_selectMenu () | |
_setSubmenu ($aParams) | |
_getBlockRaw ($aBlock) | |
_getBlockCustom ($aBlock) | |
_getBlockHtml ($aBlock) | |
_getBlockCreative ($aBlock) | |
_getBlockBentoGrid ($aBlock) | |
_getBlockWiki ($aBlock) | |
_getBlockLang ($aBlock) | |
_getBlockImage ($aBlock) | |
_getBlockRss ($aBlock) | |
_getBlockMenu ($aBlock) | |
_getBlockService ($aBlock) | |
_getPageTitle () | |
_getPageMetaDesc () | |
_getPageMetaTitle () | |
_getPageMetaImage () | |
_getPageMetaKeywords () | |
_getPageMetaRobots () | |
_getPageNotFoundMsg ($mixedMsg=false) | |
_getPageAccessDeniedMsg ($mixedMsg=false) | |
_getPageCacheObject () | |
_getBlockCacheObject () | |
_getCacheObject ($sSuffixObj='Page', $sSuffixParam='page') | |
_getPageCacheKey ($isPrefixOnly=false) | |
_getBlockCacheKey ($isPrefixOnly=false, $aBlock=array()) | |
_getPageCacheParams () | |
cleanCache ($isDelAllWithPagePrefix=false) | |
Protected Member Functions inherited from BxDolPage | |
__construct ($aObject) | |
_replaceMarkers ($mixed, $aAdditionalMarkers=array()) | |
_isVisibleBlock ($a) | |
_isAvailablePage ($a) | |
_isVisiblePage ($a) | |
Protected Attributes | |
$_oTemplate | |
$_sStorage | |
$_oPageCacheObject = null | |
$_oBlockCacheObject = null | |
$_sJsClassName = '' | |
$_sJsObjectName = '' | |
$_aHtmlIds = [] | |
$_bStickyColumns = false | |
$_bSubPage = false | |
Protected Attributes inherited from BxDolPage | |
$_sObject | |
$_aObject | |
$_oQuery | |
$_aMarkers = array () | |
Additional Inherited Members | |
Static Public Member Functions inherited from BxDolPage | |
static | getObjectInstanceByModuleAndURI ($sModule, $sURI='', $oTemplate=false) |
static | getObjectInstanceByURI ($sURI='', $oTemplate=false, $bRedirectCheck=false) |
static | getObjectInstance ($sObject, $oTemplate=false) |
static | processPageTrigger ($sPageTriggerName) |
static | multisiteLinkCheck ($sLink, $sPageUri='', $sPageModule='', $aQueryParams=[]) |
static | getMultisite ($sLink, $sPageUri='', $sPageModule='', $aQueryParams=[]) |
static | deleteSeoLink ($sModule, $sContentInfoObject, $sId) |
static | deleteSeoLinkByParam ($sParamName, $sId) |
static | deleteSeoLinkByModule ($sModule) |
static | getPageBySeoLink ($sRequest) |
static | processSeoLink ($sRequest) |
static | transformSeoLink ($sLink, $sPrefix, $aParams=array()) |
static | untransformSeoLink ($sSeoLink, $sPrefix) |
static | seoRedirect () |
static | getSeoHash ($s) |
static | getEmbedData ($sUrl) |
static | isLockedFromUnauthenticated ($sUri) |
static | redirectToLoginForm () |
Static Public Member Functions inherited from iBxDolFactoryObject | |
static | getObjectInstance ($sObject) |
Page representation.
|
protected |
Add necessary js and css files.
Reimplemented in BxAlbumsPageMedia, BxBasePageAccount, BxBasePageHome, BxMarketPageBrowse, and BxPollsPageEntry.
|
protected |
Set system template variables, like page title, meta description, meta keywords and meta robots.
|
protected |
Get content for 'bento_grid' block type.
Isn't supported for now.
|
protected |
Get block cache key.
$isPrefixOnly | return key prefix only. |
|
protected |
Get block cache object.
|
protected |
Get block code.
|
protected |
Get content for 'creative' block type.
|
protected |
Get content for 'custom' block type.
|
protected |
Get content for 'html' block type.
|
protected |
Get content for 'image' block type.
|
protected |
Get content for 'lang' block type.
|
protected |
Get content for 'menu' block type.
|
protected |
Get one block code only.
|
protected |
|
protected |
Get content for 'rss' block type.
|
protected |
|
protected |
Get content for 'wiki' block type.
|
protected |
|
protected |
Get page cache key.
$isPrefixOnly | return key prefix only. |
|
protected |
Get page cache object.
|
protected |
Additional cache key. In the case of dynamic page. For example - profile page, where each profile has own page.
Reimplemented in BxBaseModGeneralPageEntry, and BxBasePageAccount.
|
protected |
Get page code only.
|
protected |
|
protected |
|
protected |
|
protected |
Get page meta keywords.
|
protected |
Get page meta robots.
|
protected |
Get page meta title.
|
protected |
Get page not found message.
|
protected |
Get page title.
|
protected |
Select menu from page properties.
|
protected |
Set page submenu if it's specified
Reimplemented in BxAdsPageEntry, BxBaseModTextPageEntry, BxClssPageEntry, BxGlsrPageEntry, BxPhotosPageEntry, BxPostsPageEntry, BxReviewsPageEntry, BxShopifyPageEntry, BxSnipcartPageEntry, BxStrmPageEntry, BxTasksPageEntry, and BxVideosPageEntry.
|
protected |
Clean page cache.
$isDelAllWithPagePrefix | delete cache by prefix, it can be used for dynamic pages, like profile view, where for each profile separate cache is generated. |
BxBasePage::getBlockAsyncCode | ( | $aBlock, | |
$iAsync ) |
Get code to load block asyncroniously
$aBlock | block code |
$iAsync | if greater than 0 the it defines loading indicator for the block |
BxBasePage::getBlockHelp | ( | $aBlock | ) |
Get help control if help is available for the block.
BxBasePage::getBlockTitle | ( | $aBlock | ) |
Get block title.
BxBasePage::getCode | ( | ) |
Get page code with automatic caching, adding necessary css/js files and system template vars.
system
page_output_block
page_name
- [string] page object namepage_object
- [object] an instance of page class, page_query
- [object] an instance of page related query classblock_id
- [int] block id
system
page_output
page_name
- [string] page object namepage_object
- [object] an instance of page class, page_query
- [object] an instance of page related query classpage_code
- [string] by ref, final page code to be output, can be overridden in hook processingsub_page
- [boolean] if the page is used as subpage of some parent page
Reimplemented in BxAdsPageEntry, BxAlbumsPageMedia, BxBaseCmtsPageView, BxBaseModGeneralPageEntry, BxBaseModGeneralPageListEntry, BxBaseModGroupsPageEntry, BxBaseModProfilePageEntry, BxBaseModTextPageAuthor, BxBaseModTextPageEntry, BxBasePageHome, BxClssPageEntry, BxEventsPageEntriesInContext, BxEventsPageEntry, BxForumPageEntry, BxGroupsPageEntriesInContext, BxJobsPageEntriesInContext, BxJobsPageEntry, BxMarketPageEntry, BxPhotosPageAuthor, BxPhotosPageBrowse, BxPhotosPageEntry, BxPollsPageEntry, BxShopifyPageEntry, BxSnipcartPageEntry, and BxTimelinePageViewItem.
BxBasePage::getCodeDynamic | ( | ) |
Very similar to BxBasePage\getCode but adds css and js files which are needed for the corect page display
BxBasePage::getPageAPI | ( | $aBlocks = [] | ) |
Get page array with all cells and blocks
Profile/Context view page.
Process page cover with related menus and lists.
Process page mange menu.
system
get_page_api
page
- [object] an instance of page class, blocks
- [array] array with page blocksdata
- [array] by ref, page peremeters array as key&value pairs, can be overridden in hook processing
BxBasePage::isPageCover | ( | ) |
Is page cover enabled.
|
protected |
Process block values, especially if someting need to be overrided