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

Public Member Functions

 __construct (&$oConfig, &$oDb)
 
 unit ($aData, $isCheckPrivateContent=true, $sTemplateName='unit.html', $aParams=array())
 
 entryFilePreview ($aData)
 
 entryText ($aData, $sTemplateName='entry-text.html')
 
 entryInfoPopup ($aData)
 
 getTmplVarsText ($aData)
 
 getJsTree ($aFilesToMove, $aFolders)
 
- Public Member Functions inherited from BxBaseModTextTemplate
 addLocationBase ()
 
 getJsCode ($sType, $aParams=array(), $bWrap=true)
 
 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)
 
 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)
 
 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

 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='')
 
 getUnit ($aData, $aParams=array())
 
 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()

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

Reimplemented from BxBaseModTextTemplate.

Member Function Documentation

◆ entryText()

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

Reimplemented from BxBaseModGeneralTemplate.

◆ getTmplVarsText()

BxFilesTemplate::getTmplVarsText ( $aData)

Reimplemented from BxBaseModTextTemplate.

◆ getUnitThumbAndGallery()

BxFilesTemplate::getUnitThumbAndGallery ( $aData)
protected

Reimplemented from BxBaseModTextTemplate.

◆ unit()

BxFilesTemplate::unit ( $aData,
$isCheckPrivateContent = true,
$sTemplateName = 'unit.html',
$aParams = array() )

Reimplemented from BxBaseModTextTemplate.


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