UNA
BxPollsPageEntry Class Reference
Inheritance diagram for BxPollsPageEntry:
BxBaseModTextPageEntry BxBaseModGeneralPageEntry BxTemplPage BxBasePage BxBasePage BxDolPage BxDolPage BxDolFactory iBxDolFactoryObject iBxDolReplaceable BxDolFactory iBxDolFactoryObject iBxDolReplaceable

Public Member Functions

 __construct ($aObject, $oTemplate=false)
 getCode ()
Public Member Functions inherited from BxBaseModTextPageEntry
 setContentId ($iId)
Public Member Functions inherited from BxBaseModGeneralPageEntry
 getContentInfo ()
Public Member Functions inherited from BxBasePage
 performActionGetHelp ()
 performActionGetShare ()
 performActionEmbed ()
 performActionCreativeSave ()
 isAllowedCreativeManage ()
 getCodeDynamic ()
 getIncludes ()
 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

 _addJsCss ()
Protected Member Functions inherited from BxBaseModTextPageEntry
 _isAvailablePage ($a)
 _setSubmenu ($aParams)
 _getBlockService ($aBlock)
 _getImageForPageCover ()
Protected Member Functions inherited from BxBaseModGeneralPageEntry
 _isVisiblePage ($a)
 _getPageAccessDeniedMsg ($mixedMsg=false)
 _getPageMetaDesc ()
 _getThumbForMetaObject ()
 _getPageCacheParams ()
Protected Member Functions inherited from BxBasePage
 _getPageCodeVars ()
 processPageBlock (&$aBlock, $bApi=false)
 _getPageCode ()
 _getBlockOnlyCode ($iBlockId)
 _getBlockCodeWithCache (&$aBlock, $iAsync=0)
 _getBlockCode (&$aBlock, $iAsync=0)
 _addSysTemplateVars ()
 _selectMenu ()
 _getBlockRaw ($aBlock)
 _getBlockCustom ($aBlock)
 _getBlockHtml ($aBlock)
 _getBlockCreative ($aBlock)
 _getBlockBentoGrid ($aBlock)
 _getBlockWiki ($aBlock)
 _getBlockLang ($aBlock)
 _getBlockImage ($aBlock)
 _getBlockRss ($aBlock)
 _getBlockMenu ($aBlock)
 _getPageTitle ()
 _getPageMetaTitle ()
 _getPageMetaImage ()
 _getPageMetaKeywords ()
 _getPageMetaRobots ()
 _getPageNotFoundMsg ($mixedMsg=false)
 _getPageCacheObject ()
 _getBlockCacheObject ()
 _getCacheObject ($sSuffixObj='Page', $sSuffixParam='page')
 _getPageCacheKey ($isPrefixOnly=false)
 _getBlockCacheKey ($isPrefixOnly=false, $aBlock=array())
 cleanCache ($isDelAllWithPagePrefix=false)
Protected Member Functions inherited from BxDolPage
 __construct ($aObject)
 _replaceMarkers ($mixed, $aAdditionalMarkers=array())
 _isVisibleBlock ($a)

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 getPageBlockData ($iBlockId, $iContentId=0, $sContentModule='')
static setPageBlockData ($iBlockId, $iContentId=0, $sContentModule='', $mixedData='')
static isLockedFromUnauthenticated ($sUri)
static redirectToLoginForm ()
Static Public Member Functions inherited from iBxDolFactoryObject
static getObjectInstance ($sObject)
Protected Attributes inherited from BxBaseModTextPageEntry
 $_bLoggedOwner
 $_bLoggedModerator
 $_bLoggedContextModerator
Protected Attributes inherited from BxBaseModGeneralPageEntry
 $MODULE
 $_oModule
 $_aContentInfo = false
 $_sCoverClass
Protected Attributes inherited from BxBasePage
 $_oTemplate
 $_sStorage
 $_oPageCacheObject = null
 $_oBlockCacheObject = null
 $_sJsClassName = ''
 $_sJsObjectName = ''
 $_aHtmlIds = []
 $_bStickyColumns = false
 $_bSubPage = false
Protected Attributes inherited from BxDolPage
 $_sObject
 $_aObject
 $_oQuery
 $_aMarkers = array ()

Detailed Description

Entry create/edit pages

Constructor & Destructor Documentation

◆ __construct()

BxPollsPageEntry::__construct ( $aObject,
$oTemplate = false )

Reimplemented from BxBaseModTextPageEntry.

Member Function Documentation

◆ _addJsCss()

BxPollsPageEntry::_addJsCss ( )
protected

Add necessary js and css files.

Reimplemented from BxBasePage.

◆ getCode()

BxPollsPageEntry::getCode ( )

Get page code with automatic caching, adding necessary css/js files and system template vars.

Returns
string.

Hooks:

'system', 'page_output_block' - hook with page block data to be output

  • $unit_name - equals system
  • $action - equals page_output_block
  • $object_id - not used
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:

Hooks:

'system', 'page_output' - hook with page data to be output

  • $unit_name - equals system
  • $action - equals page_output
  • $object_id - not used
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:
    • page_name - [string] page object name
    • page_object - [object] an instance of page class,
      See also
      BxDolPage
    • page_query - [object] an instance of page related query class
    • page_code - [string] by ref, final page code to be output, can be overridden in hook processing
    • sub_page - [boolean] if the page is used as subpage of some parent page
      HOOKS
      'system', 'page_output' - hook with page data to be output

Reimplemented from BxBaseModTextPageEntry.


The documentation for this class was generated from the following file:
  • modules/boonex/polls/classes/BxPollsPageEntry.php