UNA
BxMarketTemplate Class Reference
Inheritance diagram for BxMarketTemplate:
BxBaseModTextTemplate BxBaseModGeneralTemplate BxDolModuleTemplate

Public Member Functions

 __construct (&$oConfig, &$oDb)
 entryRating ($aData)
 getTmplVarsText ($aData)
 getScreenshots ($aData)
 getAuthorAddon ($aData, $oProfile)
 getGhostTemplateFileOptions ($sField, $aFile, $aVersions)
 _prepareImage ($aData, $sUniqId, $sUploader, $sStorage, $sField, $bAllowTweak, $bAllowMultiple=false)
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)
 getAuthorDesc ($aData, $oProfile)
 getAuthorProfileDesc ($aData, $oProfile)
 getProfileSnippetMenu ($aData)
 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)
 getAbstract ($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)
 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=[])
 getAttachments ($sStorage, $aData, $aParams=array())
 getAttachmentsImagesTranscoders ($sStorage='')
 _getHeaderImageParams ()
 _getHeaderImage ($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='')
 getUnitThumbAndGallery ($aData)
 _getUnitName ($aData, $sTemplateName='unit.html')
 _getUnitClass ($aData, $sTemplateName='unit.html')
 _getUnitHtmlId ($aData, $sTemplateName='unit.html')
Protected Member Functions inherited from BxBaseModGeneralTemplate
 getSummary ($aData, $sTitle='', $sText='', $sUrl='')
 getAttachmentsVideoTranscoders ($sStorage='')
 _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()

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

Reimplemented from BxBaseModTextTemplate.

Member Function Documentation

◆ _getHeaderImage()

BxMarketTemplate::_getHeaderImage ( $aData)
protected

Reimplemented from BxBaseModTextTemplate.

◆ _getHeaderImageParams()

BxMarketTemplate::_getHeaderImageParams ( )
protected

Reimplemented from BxBaseModTextTemplate.

◆ _prepareImage()

BxMarketTemplate::_prepareImage ( $aData,
$sUniqId,
$sUploader,
$sStorage,
$sField,
$bAllowTweak,
$bAllowMultiple = false )

Reimplemented from BxBaseModGeneralTemplate.

◆ getAttachments()

BxMarketTemplate::getAttachments ( $sStorage,
$aData,
$aParams = array() )
protected

Reimplemented from BxBaseModGeneralTemplate.

◆ getAttachmentsImagesTranscoders()

BxMarketTemplate::getAttachmentsImagesTranscoders ( $sStorage = '')
protected

Reimplemented from BxBaseModTextTemplate.

◆ getAuthorAddon()

BxMarketTemplate::getAuthorAddon ( $aData,
$oProfile )

Reimplemented from BxBaseModTextTemplate.

◆ getTmplVarsText()

BxMarketTemplate::getTmplVarsText ( $aData)

Reimplemented from BxBaseModTextTemplate.

◆ getUnit()

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

Reimplemented from BxBaseModTextTemplate.


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