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

Public Member Functions

 __construct (&$oConfig, &$oDb)
 
- Public Member Functions inherited from BxBaseModTextTemplate
 addLocationBase ()
 
 getJsCode ($sType, $aParams=array(), $bWrap=true)
 
 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
 getTitleAuto ($aData, $iMaxLen=20, $sEllipsisSign='...')
 
 getTitle ($aData, $mixedProcessOutput=BX_DATA_TEXT)
 
 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

 getUnit ($aData, $aParams=array())
 
 getUnitThumbAndGallery ($aData)
 
- 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
 getSummary ($aData, $sTitle='', $sText='', $sUrl='')
 
 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()

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

Reimplemented from BxBaseModTextTemplate.

Member Function Documentation

◆ getUnit()

BxPostsTemplate::getUnit ( $aData,
$aParams = array() )
protected

Reimplemented from BxBaseModTextTemplate.

◆ getUnitThumbAndGallery()

BxPostsTemplate::getUnitThumbAndGallery ( $aData)
protected

Use Gallery image for both because currently there is no Unit types with small thumbnails.

Reimplemented from BxBaseModTextTemplate.


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