Cheetah
Public Member Functions | Public Attributes | List of all members
ChPmtTemplate Class Reference
Inheritance diagram for ChPmtTemplate:
ChWsbModuleTemplate ChWsbTemplate

Public Member Functions

 __construct (&$oConfig, &$oDb)
 
 loadTemplates ()
 
 displayMoreWindow ()
 
 displayItems ($aItemsInfo)
 
 displayManualOrderWindow ($aForm)
 
 displayOrder ($sType, $iId)
 
 displayOrders ($sType, $aParams)
 
 displayOrdersBlock ($sType, $iVendorId)
 
 displayHistoryBlock ($iUserId, $iVendorId)
 
 displayToolbarSubmenu ($aInfo)
 
 displayCartContent ($aCartInfo, $iVendorId=CH_PMT_EMPTY_ID)
 
 displayCartJs ($bWrapped=true)
 
 displayAddToCartJs ($iVendorId, $iModuleId, $iItemId, $iItemCount, $bNeedRedirect=false, $bWrapped=true)
 
 displayAddToCartLink ($iVendorId, $iModuleId, $iItemId, $iItemCount, $bNeedRedirect=false)
 
 getPageCode (&$aParams)
 
 getPageCodeResponse ($sMessage)
 
 getPageCodeError ($sMessage, $bWrap=true)
 
 getPageCodeAdmin (&$aParams)
 
 _getJsContentCart ($bWrapped=true)
 
 _isSubscription ($aOrder)
 
- Public Member Functions inherited from ChWsbModuleTemplate
 __construct (&$oConfig, &$oDb, $sRootPath=CH_DIRECTORY_PATH_ROOT, $sRootUrl=CH_WSB_URL_ROOT)
 
 addAdminCss ($mixedFiles, $bDynamic=false)
 
 addAdminJs ($mixedFiles, $bDynamic=false)
 
 pageCodeAdminStart ()
 
 pageCodeAdmin ($sTitle)
 
 pageStart ()
 
 pageEnd ($isGetContent=true)
 
 _parseAnything ($s, $sDiv, $sLinkStart, $sClassName='')
 
- Public Member Functions inherited from ChWsbTemplate
 __construct ($sRootPath=CH_DIRECTORY_PATH_ROOT, $sRootUrl=CH_WSB_URL_ROOT)
 
 init ()
 
 addLocation ($sKey, $sLocationPath, $sLocationUrl)
 
 addDynamicLocation ($sLocationPath, $sLocationUrl)
 
 removeLocation ($sKey)
 
 addLocationJs ($sKey, $sLocationPath, $sLocationUrl)
 
 addDynamicLocationJs ($sLocationPath, $sLocationUrl)
 
 removeLocationJs ($sKey)
 
 getCodeKey ()
 
 getCode ()
 
 getPageWidth ()
 
 setPageWidth ($sWidth)
 
 setPageTitle ($sTitle)
 
 setPageMainBoxTitle ($sTitle)
 
 setPageDescription ($sDescription)
 
 addJsOption ($mixedName)
 
 addJsTranslation ($mixedKey)
 
 addJsImage ($aImages)
 
 addJsIcon ($aIcons)
 
 addCssStyle ($sName, $sContent)
 
 addPageKeywords ($mixedKeywords, $sDevider=',')
 
 setOpenGraphInfo ($a, $sNamespace='og')
 
 getMetaInfo ()
 
 getTemplate ($sName)
 
 getIconUrl ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH)
 
 getIconPath ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH)
 
 getImageUrl ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH)
 
 getImagePath ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH)
 
 getCssUrl ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH)
 
 getCssPath ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH)
 
 getHtml ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH)
 
 parseHtmlByName ($sName, $aVariables, $mixedKeyWrapperHtml=null, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH)
 
 parseHtmlByContent ($sContent, $aVariables, $mixedKeyWrapperHtml=null)
 
 parseHtmlByTemplateName ($sName, $aVariables, $mixedKeyWrapperHtml=null)
 
 parsePageByName ($sName, $aVariables)
 
 parseSystemKey ($sKey, $mixedKeyWrapperHtml=null)
 
 getTemplatesCacheObject ()
 
 getCached ($sName, &$aVariables, $mixedKeyWrapperHtml=null, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH, $bEvaluate=true)
 
 addJs ($mixedFiles, $bDynamic=false)
 
 addJsSystem ($mixedFiles)
 
 deleteJs ($mixedFiles)
 
 deleteJsSystem ($mixedFiles)
 
 _compileJs ($sAbsolutePath, &$aIncluded)
 
 _wrapInTagJs ($sFile)
 
 _wrapInTagJsCode ($sCode)
 
 addCss ($mixedFiles, $bDynamic=false)
 
 addCssAsync ($mixedFiles)
 
 includeCssAsync ()
 
 addCssSystem ($mixedFiles)
 
 deleteCss ($mixedFiles)
 
 deleteCssSystem ($mixedFiles)
 
 _compileCss ($sAbsolutePath, &$aIncluded)
 
 _minifyCss ($s)
 
 _wrapInTagCss ($sFile)
 
 _wrapInTagCssCode ($sCode)
 
 includeCssStyles ()
 
 includeFiles ($sType, $bSystem=false)
 
 _includeFiles ($sType, &$aFiles)
 
 _processFiles ($sType, $sAction, $mixedFiles, $bDynamic=false, $bSystem=false)
 
 _parseContent ($sContent, $aVariables, $mixedKeyWrapperHtml=null)
 
 _compileContent ($sContent, $aVarName, $iVarDepth, $aVarValues, $mixedKeyWrapperHtml=null)
 
 _getAbsoluteLocation ($sType, $sFolder, $sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH)
 
 _getAbsoluteLocationJs ($sType, $sName)
 
 _getAbsoluteLocationCss ($sType, $sName)
 
 _getInlineData ($sType, $sName, $sCheckIn)
 
 _getCacheFileName ($sType, $sAbsolutePath)
 
 _getKeyWrappers ($mixedKeyWrapperHtml)
 
 _processJsTranslations ()
 
 _processJsOptions ()
 
 _processJsImages ()
 
 _getLoaderUrl ($sType, $sName)
 
 displayAccessDenied ()
 
 displayNoData ()
 
 displayErrorOccured ()
 
 displayPageNotFound ()
 
 displayMsg ($s, $bTranslate=false)
 
 processInjection ($iPageIndex, $sKey, $sValue="")
 
 addInjection ($sKey, $sType, $sData, $iReplace=0)
 

Public Attributes

 $_sLangsPrefix
 
- Public Attributes inherited from ChWsbModuleTemplate
 $_oDb
 
 $_oConfig
 
 $_bObStarted = 0
 
- Public Attributes inherited from ChWsbTemplate
 $_sPrefix
 
 $_sRootPath
 
 $_sRootUrl
 
 $_sInjectionsTable
 
 $_sInjectionsCache
 
 $_sCode
 
 $_sCodeKey
 
 $_sKeyWrapperHtml
 
 $_sFolderHtml
 
 $_sFolderCss
 
 $_sFolderImages
 
 $_sFolderIcons
 
 $_aTemplates
 
 $_aLocations
 
 $_aLocationsJs
 
 $_bCacheEnable
 
 $_sCacheFolderUrl
 
 $_sCachePublicFolderUrl
 
 $_sCachePublicFolderPath
 
 $_sCacheFilePrefix
 
 $_bImagesInline
 
 $_iImagesMaxSize
 
 $_bCssCache
 
 $_bCssArchive
 
 $_sCssCachePrefix
 
 $_bJsCache
 
 $_bJsArchive
 
 $_sJsCachePrefix
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbTemplate
static _callbackParseUrl ($sPath, $aMatches)
 

Detailed Description

Definition at line 13 of file ChPmtTemplate.php.

Constructor & Destructor Documentation

◆ __construct()

ChPmtTemplate::__construct ( $oConfig,
$oDb 
)

Constructor

Definition at line 20 of file ChPmtTemplate.php.

Member Function Documentation

◆ _getJsContentCart()

ChPmtTemplate::_getJsContentCart (   $bWrapped = true)

Definition at line 528 of file ChPmtTemplate.php.

◆ _isSubscription()

ChPmtTemplate::_isSubscription (   $aOrder)

Definition at line 547 of file ChPmtTemplate.php.

◆ displayAddToCartJs()

ChPmtTemplate::displayAddToCartJs (   $iVendorId,
  $iModuleId,
  $iItemId,
  $iItemCount,
  $bNeedRedirect = false,
  $bWrapped = true 
)

Definition at line 427 of file ChPmtTemplate.php.

◆ displayAddToCartLink()

ChPmtTemplate::displayAddToCartLink (   $iVendorId,
  $iModuleId,
  $iItemId,
  $iItemCount,
  $bNeedRedirect = false 
)

Definition at line 443 of file ChPmtTemplate.php.

◆ displayCartContent()

ChPmtTemplate::displayCartContent (   $aCartInfo,
  $iVendorId = CH_PMT_EMPTY_ID 
)

Definition at line 329 of file ChPmtTemplate.php.

◆ displayCartJs()

ChPmtTemplate::displayCartJs (   $bWrapped = true)

Definition at line 420 of file ChPmtTemplate.php.

◆ displayHistoryBlock()

ChPmtTemplate::displayHistoryBlock (   $iUserId,
  $iVendorId 
)

Definition at line 265 of file ChPmtTemplate.php.

◆ displayItems()

ChPmtTemplate::displayItems (   $aItemsInfo)

Definition at line 39 of file ChPmtTemplate.php.

◆ displayManualOrderWindow()

ChPmtTemplate::displayManualOrderWindow (   $aForm)

Definition at line 64 of file ChPmtTemplate.php.

◆ displayMoreWindow()

ChPmtTemplate::displayMoreWindow ( )

Definition at line 34 of file ChPmtTemplate.php.

◆ displayOrder()

ChPmtTemplate::displayOrder (   $sType,
  $iId 
)

Definition at line 74 of file ChPmtTemplate.php.

◆ displayOrders()

ChPmtTemplate::displayOrders (   $sType,
  $aParams 
)

Definition at line 140 of file ChPmtTemplate.php.

◆ displayOrdersBlock()

ChPmtTemplate::displayOrdersBlock (   $sType,
  $iVendorId 
)

Definition at line 232 of file ChPmtTemplate.php.

◆ displayToolbarSubmenu()

ChPmtTemplate::displayToolbarSubmenu (   $aInfo)

Definition at line 284 of file ChPmtTemplate.php.

◆ getPageCode()

ChPmtTemplate::getPageCode ( $aParams)

Definition at line 456 of file ChPmtTemplate.php.

◆ getPageCodeAdmin()

ChPmtTemplate::getPageCodeAdmin ( $aParams)

Definition at line 510 of file ChPmtTemplate.php.

◆ getPageCodeError()

ChPmtTemplate::getPageCodeError (   $sMessage,
  $bWrap = true 
)

Definition at line 497 of file ChPmtTemplate.php.

◆ getPageCodeResponse()

ChPmtTemplate::getPageCodeResponse (   $sMessage)

Definition at line 484 of file ChPmtTemplate.php.

◆ loadTemplates()

ChPmtTemplate::loadTemplates ( )

Load templates.

Reimplemented from ChWsbTemplate.

Definition at line 26 of file ChPmtTemplate.php.

Member Data Documentation

◆ $_sLangsPrefix

ChPmtTemplate::$_sLangsPrefix

Definition at line 15 of file ChPmtTemplate.php.


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