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

Public Member Functions

 __construct (&$oConfig, &$oDb)
 
 displayEmptyOwner ()
 
 addCssJs ()
 
 getIncludeCssJs ()
 
 getBlockMake ($sSelected='single')
 
 getJsCode ($sType, $aParams=array(), $bWrap=true)
 
- Public Member Functions inherited from BxBaseModGeneralTemplate
 addLocationBase ()
 
 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)
 
 getTmplVarsText ($aData)
 
 entryBreadcrumb ($aContentInfo, $aTmplVarsItems=array())
 
 entryText ($aData, $sTemplateName='entry-text.html')
 
 entryLocation ($iContentId)
 
 entryInfo ($aData, $aValues=array())
 
 getFavoriteList ($oProfile, $iStart, $iPerPage, $aParams)
 
 getFavoritesListInfo ($aList, $oProfile)
 
 getBrowsingFilters ($aParams)
 
 entryAllActions ($sActions)
 
 entryAttachments ($aData, $aParams=array())
 
 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)
 
- 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)
 

Additional Inherited Members

- Public Attributes inherited from BxBaseModGeneralTemplate
 $aMethodsToCallAddJsCss = array('entry', 'unit')
 
- Protected Member Functions inherited from BxBaseModGeneralTemplate
 getSummary ($aData, $sTitle='', $sText='', $sUrl='')
 
 getAttachmentsImagesTranscoders ($sStorage='')
 
 getAttachmentsVideoTranscoders ($sStorage='')
 
 getAttachments ($sStorage, $aData, $aParams=array())
 
 _embedChecks ($sStorageKey, $iFileId)
 
- Protected Attributes inherited from BxBaseModGeneralTemplate
 $MODULE
 
 $_bIsApi
 
- Protected Attributes inherited from BxDolModuleTemplate
 $_oDb
 
 $_oConfig
 
 $_bObStarted = 0
 
 $_oModule
 

Constructor & Destructor Documentation

◆ __construct()

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

Reimplemented from BxBaseModGeneralTemplate.

Member Function Documentation

◆ addCssJs()

BxDonationsTemplate::addCssJs ( )

Reimplemented from BxBaseModGeneralTemplate.

◆ getBlockMake()

BxDonationsTemplate::getBlockMake ( $sSelected = 'single')

Hooks:

'bx_donations', 'donate' - hook to override the content of donate block

  • $unit_name - equals bx_donations
  • $action - equals donate
  • $object_id - not used
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:
    • tmpl_name - [string] by ref, template name, can be overridden in hook processing
    • tmpl_vars - [array] by ref, template parsable variables as key&value pairs, can be overridden in hook processing
    • override_result - [string] by ref, string with HTML code to be output, if null the default template parsing function will be used, can be overridden in hook processing
      HOOKS
      'bx_donations', 'donate' - hook to override the content of donate block

◆ getJsCode()

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

Reimplemented from BxBaseModGeneralTemplate.


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