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

Public Member Functions

 __construct (&$oConfig, &$oDb)
 getTitle ($aData, $mixedProcessOutput=BX_DATA_TEXT)
 getUnitLink ($aData, $aParams=[])
 getUnitTitle ($aData, $aParams=[])
 entryText ($aData, $sTemplateName='entry-text.html')
 getEntriesList ($iContextId)
 getAttachLinks ($iContentId)
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())
 getAttachLinkForm ($iContentId=0)
 getAttachLinkField ($iUserId, $iContentId=0)
 getAttachLinkItem ($iUserId, $mixedLink, $aParams=[])
 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='...')
 getAbstract ($aData, $mixedProcessOutput=BX_DATA_TEXT)
 getText ($aData, $mixedProcessOutput=BX_DATA_HTML)
 getSummary ($aData, $sTitle='', $sText='', $sUrl='')
 getUnitText ($aData, $aParams=[])
 getUnitSummary ($aData, $sTitle='', $sText='', $sUrl='')
 getProfileLink ($mixedProfile)
 getLink ($sTemplate, $aParams)
 getContextAddon ($aData, $oProfile)
 getContextDesc ($aData)
 getTmplVarsAttachedLinks ($aLinks)
 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)
 entryPolls ($aData)
 entryPollAnswers ($aPoll, $bDynamic=false)
 entryPollResults ($aPoll, $bDynamic=false)
 getPollForm ($iParentCid=0)
 getPollField ($iContentId=0, $iProfileId=0)
 getPollItem ($mixedPoll, $iProfileId=0, $aParams=[])
 embedPollItem ($mixedPoll, $aParams=array())
 embedPollItems ($mixedContentInfo, $aParams=array())
 _getImageSettings ($sField, $sSettings, $sUsage='')
 _prepareImage ($aData, $sUniqId, $aUploaders, $sStorage, $sField, $bAllowTweak, $bAllowMultiple=false)
 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=[])
 getUnitThumbAndGallery ($aData)
Protected Member Functions inherited from BxBaseModTextTemplate
 _addCssJsPolls ($bDynamic=false)
 checkPrivacy ($aData, $isCheckPrivateContent, $oModule, $sTemplateName='')
 getAttachmentsImagesTranscoders ($sStorage='')
 _getUnitName ($aData, $sTemplateName='unit.html')
 _getUnitClass ($aData, $sTemplateName='unit.html')
 _getUnitHtmlId ($aData, $sTemplateName='unit.html')
 _getHeaderImageParams ()
 _getHeaderImage ($aData)
Protected Member Functions inherited from BxBaseModGeneralTemplate
 getAttachmentsVideoTranscoders ($sStorage='')
 getAttachments ($sStorage, $aData, $aParams=array())
 _getPollAnswers ($aPoll, $aParams=[])
 _getPollResults ($aPoll, $aParams=[])
 _getPollBlockMenu ($aPoll, $sSelected='', $aParams=[])
 _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()

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

Reimplemented from BxBaseModTextTemplate.

Member Function Documentation

◆ entryText()

BxResourcesTemplate::entryText ( $aData,
$sTemplateName = 'entry-text.html' )

Reimplemented from BxBaseModGeneralTemplate.

◆ getAttachLinks()

BxResourcesTemplate::getAttachLinks ( $iContentId)

Reimplemented from BxBaseModTextTemplate.

◆ getTitle()

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

Reimplemented from BxBaseModGeneralTemplate.

◆ getUnit()

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

Reimplemented from BxBaseModTextTemplate.

◆ getUnitLink()

BxResourcesTemplate::getUnitLink ( $aData,
$aParams = [] )

Reimplemented from BxBaseModGeneralTemplate.

◆ getUnitThumbAndGallery()

BxResourcesTemplate::getUnitThumbAndGallery ( $aData)
protected

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

Reimplemented from BxBaseModTextTemplate.

◆ getUnitTitle()

BxResourcesTemplate::getUnitTitle ( $aData,
$aParams = [] )

Reimplemented from BxBaseModGeneralTemplate.


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