UNA
Loading...
Searching...
No Matches
BxPollsTemplate Class Reference
Inheritance diagram for BxPollsTemplate:
BxBaseModTextTemplate BxBaseModGeneralTemplate BxDolModuleTemplate

Public Member Functions

 __construct (&$oConfig, &$oDb)
 
 embedEntry ($mixedContentInfo, $aParams=array())
 
 getJsCode ($sType, $aParams=array(), $bWrap=true)
 
 entrySubentries ($aData, $bDynamic=false)
 
 entryResults ($aData, $bDynamic=false)
 
 entryTextAndSubentries ($aData, $bForceDisplaySubentries=false)
 
 getTitleAuto ($aData, $iMaxLen=32, $sEllipsisSign='...')
 
 getTitle ($aData, $mixedProcessOutput=BX_DATA_TEXT)
 
- Public Member Functions inherited from BxBaseModTextTemplate
 addLocationBase ()
 
 unit ($aData, $isCheckPrivateContent=true, $sTemplateName='unit.html', $aParams=array())
 
 entryAttachments ($aData, $aParams=array())
 
 entryAuthor ($aData, $iProfileId=false, $sFuncAuthorDesc='getAuthorDesc', $sTemplateName='author.html', $sFuncAuthorAddon='getAuthorAddon')
 
 entryBreadcrumb ($aContentInfo, $aTmplVarsItems=array())
 
 entryPolls ($aData)
 
 entryPollAnswers ($aPoll, $bDynamic=false)
 
 entryPollResults ($aPoll, $bDynamic=false)
 
 getPollForm ()
 
 getPollField ($iContentId=0, $iProfileId=0)
 
 getPollItem ($mixedPoll, $iProfileId=0, $aParams=array())
 
 embedPollItem ($mixedPoll, $aParams=array())
 
 embedPollItems ($mixedContentInfo, $aParams=array())
 
 getAttachLinkForm ($iContentId=0)
 
 getAttachLinkField ($iUserId, $iContentId=0)
 
 getAttachLinkItem ($iUserId, $mixedLink)
 
 getEventLinks ($iContentId)
 
 getTmplVarsText ($aData)
 
 getAuthorDesc ($aData, $oProfile)
 
 getAuthorProfileDesc ($aData, $oProfile)
 
 getProfileSnippetMenu ($aData)
 
 getAuthorAddon ($aData, $oProfile)
 
 mediaExif ($aMediaInfo, $iProfileId=false, $sFuncAuthorDesc='', $sTemplateName='media-exif.html')
 
- Public Member Functions inherited from BxBaseModGeneralTemplate
 getText ($aData, $mixedProcessOutput=BX_DATA_HTML)
 
 getProfileLink ($mixedProfile)
 
 getLink ($sTemplate, $aParams)
 
 getContextAddon ($aData, $oProfile)
 
 getContextDesc ($aData)
 
 entryText ($aData, $sTemplateName='entry-text.html')
 
 entryLocation ($iContentId)
 
 entryInfo ($aData, $aValues=array())
 
 getFavoriteList ($oProfile, $iStart, $iPerPage, $aParams)
 
 getFavoritesListInfo ($aList, $oProfile)
 
 getBrowsingFilters ($aParams)
 
 entryAllActions ($sActions)
 
 entryAttachmentsByStorage ($mixedStorage, $aData, $aParams=array())
 
 entryContext ($aData, $iProfileId=false, $sFuncContextDesc='getContextDesc', $sTemplateName='context.html', $sFuncContextAddon='getContextAddon')
 
 getAttachmentsData ($sStorage, $aData, $aParams=array())
 
 embedVideo ($iFileId)
 
 embedSound ($iFileId)
 
 _getImageSettings ($sSettings)
 
 _prepareImage ($aData, $sUniqId, $sUploader, $sStorage, $sField, $bAllowTweak)
 
 addCssJs ()
 
- Public Member Functions inherited from BxDolModuleTemplate
 __construct (&$oConfig, &$oDb, $sRootPath=BX_DIRECTORY_PATH_ROOT, $sRootUrl=BX_DOL_URL_ROOT)
 
 getModule ()
 
 init ()
 
 addCssSystem ($mixedFiles, $bDynamic=false)
 
 addCss ($mixedFiles, $bDynamic=false)
 
 addJsSystem ($mixedFiles, $bDynamic=false)
 
 addJs ($mixedFiles, $bDynamic=false)
 
 addJsTranslation ($mixedKey, $bDynamic=false)
 
 addStudioCss ($mixedFiles, $bDynamic=false, $bSearchInModule=true)
 
 addStudioCssSystem ($mixedFiles, $bDynamic=false, $bSearchInModule=true)
 
 addStudioJs ($mixedFiles, $bDynamic=false, $bSearchInModule=true)
 
 addStudioJsSystem ($mixedFiles, $bDynamic=false, $bSearchInModule=true)
 
 addStudioJsTranslation ($mixedKey)
 
 _addFiles ($oTemplate, $sFuncAddFiles, $sFuncIsLocation, $sFuncAddLocation, $sFuncRemoveLocation, $sPath, $mixedFiles, $bDynamic=false, $bSearchInModule=true, $aLocations=array())
 
 addStudioInjection ($sKey, $sType, $sData, $iReplace=0)
 
 pageStart ()
 
 pageEnd ($isGetContent=true)
 
 isMethodExists ($s)
 

Protected Member Functions

 getSummary ($aData, $sTitle='', $sText='', $sUrl='')
 
 getUnit ($aData, $aParams=[])
 
 getUnitThumbAndGallery ($aData)
 
 _getGetBlockMenu ($aData, $sSelected='')
 
 _getGetBlockContentSubentries ($aData, $bDynamic=false)
 
 _getGetBlockContentResults ($aData, $bDynamic=false)
 
- Protected Member Functions inherited from BxBaseModTextTemplate
 _addCssJs ()
 
 _getPollAnswers ($aPoll, $bDynamic=false)
 
 _getPollResults ($aPoll, $bDynamic=false)
 
 _getPollBlockMenu ($aPoll, $sSelected='', $aParams=array())
 
 checkPrivacy ($aData, $isCheckPrivateContent, $oModule, $sTemplateName='')
 
 getAttachmentsImagesTranscoders ($sStorage='')
 
 _getUnitName ($aData, $sTemplateName='unit.html')
 
 _getUnitClass ($aData, $sTemplateName='unit.html')
 
 _getUnitHtmlId ($aData, $sTemplateName='unit.html')
 
 _getHeaderImage ($aData)
 
- Protected Member Functions inherited from BxBaseModGeneralTemplate
 getAttachmentsVideoTranscoders ($sStorage='')
 
 getAttachments ($sStorage, $aData, $aParams=array())
 
 _embedChecks ($sStorageKey, $iFileId)
 

Additional Inherited Members

- Public Attributes inherited from BxBaseModGeneralTemplate
 $aMethodsToCallAddJsCss = array('entry', 'unit')
 
- Protected Attributes inherited from BxBaseModTextTemplate
 $_sUnitClassShowCase
 
- Protected Attributes inherited from BxBaseModGeneralTemplate
 $MODULE
 
 $_bIsApi
 
- Protected Attributes inherited from BxDolModuleTemplate
 $_oDb
 
 $_oConfig
 
 $_bObStarted = 0
 
 $_oModule
 

Constructor & Destructor Documentation

◆ __construct()

BxPollsTemplate::__construct ( & $oConfig,
& $oDb )

Constructor

Reimplemented from BxBaseModTextTemplate.

Member Function Documentation

◆ embedEntry()

BxPollsTemplate::embedEntry ( $mixedContentInfo,
$aParams = array() )

Anonymous voting MUST be enabled for Embeded poll, because a list of voters cannot be correctly displayed in Embeded iframe.

◆ getJsCode()

BxPollsTemplate::getJsCode ( $sType,
$aParams = array(),
$bWrap = true )

Reimplemented from BxBaseModTextTemplate.

◆ getSummary()

BxPollsTemplate::getSummary ( $aData,
$sTitle = '',
$sText = '',
$sUrl = '' )
protected

Reimplemented from BxBaseModGeneralTemplate.

◆ getTitle()

BxPollsTemplate::getTitle ( $aData,
$mixedProcessOutput = BX_DATA_TEXT )

Reimplemented from BxBaseModGeneralTemplate.

◆ getTitleAuto()

BxPollsTemplate::getTitleAuto ( $aData,
$iMaxLen = 32,
$sEllipsisSign = '...' )

Reimplemented from BxBaseModGeneralTemplate.

◆ getUnit()

BxPollsTemplate::getUnit ( $aData,
$aParams = [] )
protected

Reimplemented from BxBaseModTextTemplate.

◆ getUnitThumbAndGallery()

BxPollsTemplate::getUnitThumbAndGallery ( $aData)
protected

Reimplemented from BxBaseModTextTemplate.


The documentation for this class was generated from the following file: