UNA
BxShopifyTemplate Class Reference
Inheritance diagram for BxShopifyTemplate:
BxBaseModTextTemplate BxBaseModGeneralTemplate BxDolModuleTemplate BxDolTemplate BxDolFactory iBxDolSingleton

Public Member Functions

 __construct (&$oConfig, &$oDb)
 
 getIncludeCssJs ()
 
 getIncludeCode ($iProfileId, $aSettings)
 
 entryBuy ($aData)
 
 entryText ($aData, $sTemplateName='entry-text.html')
 
 entryAttachments ($aData, $aParams=array())
 
 getJsCode ($sType, $aParams=array(), $bWrap=true)
 
- Public Member Functions inherited from BxBaseModTextTemplate
 __construct (&$oConfig, &$oDb)
 
 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)
 
 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
 __construct (&$oConfig, &$oDb)
 
 addLocationBase ()
 
 getJsCode ($sType, $aParams=array(), $mixedWrap=true)
 
 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)
 
 addCssJs ()
 
- Public Member Functions inherited from BxDolModuleTemplate
 __construct (&$oConfig, &$oDb, $sRootPath=BX_DIRECTORY_PATH_ROOT, $sRootUrl=BX_DOL_URL_ROOT)
 
 getModule ()
 
 init ()
 
 addLocationBase ()
 
 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)
 
 addCssJs ()
 
 isMethodExists ($s)
 
- Public Member Functions inherited from BxDolTemplate
 __clone ()
 
 getIncludedUrls ($sType)
 
 collectingStart ()
 
 collectingInject ($aCss, $aJs)
 
 collectingEndGetCode ($aExcludeCss=array(), $aExcludeJs=array(), $sFormat='html')
 
 getClassName ()
 
 loadTemplates ()
 
 init ()
 
 setPageNameIndex ($i)
 
 setPageNameIndexByTarget ($s)
 
 getPageNameIndex ()
 
 setPageType ($i)
 
 setPageUrl ($s)
 
 getPageType ()
 
 setPageHeader ($s)
 
 getPageHeader ()
 
 setPageParams ($a)
 
 getPageParams ()
 
 setPageMetaTitle ($sTitle)
 
 setPageDescription ($sDescription)
 
 setPageMetaRobots ($s)
 
 setPageInjections ($aInjections)
 
 setPageContent ($sVar, $sContent, $iIndex=false)
 
 getPageContent ($sVar=false, $iIndex=false)
 
 getName ()
 
 getCssClassName ()
 
 getCode ()
 
 getEmbed ($sContent)
 
 getCodeKey ()
 
 getMix ()
 
 getPath ()
 
 setPageTitle ($sTitle)
 
 setPageMainBoxTitle ($sTitle)
 
 isLocation ($sKey)
 
 getLocations ()
 
 addLocation ($sKey, $sLocationPath, $sLocationUrl)
 
 addDynamicLocation ($sLocationPath, $sLocationUrl)
 
 removeLocation ($sKey)
 
 isLocationJs ($sKey)
 
 addLocationJs ($sKey, $sLocationPath, $sLocationUrl)
 
 addDynamicLocationJs ($sLocationPath, $sLocationUrl)
 
 removeLocationJs ($sKey)
 
 addJsOption ($mixedName)
 
 addJsTranslation ($mixedKey, $bDynamic=false)
 
 addJsImage ($aImages)
 
 addJsIcon ($aIcons)
 
 addCssStyle ($sName, $sContent)
 
 addPageKeywords ($mixedKeywords, $sDevider=',')
 
 addPageMetaLocation ($fLat, $fLng, $sCountryCode)
 
 addPageMetaImage ($sImageUrl)
 
 addPageRssLink ($sTitle, $sUrl)
 
 getMetaInfo ()
 
 getTemplate ($sName)
 
 getTemplateFunctions ()
 
 getImageMimeType ($sExtension)
 
 getIcon ($mixedId, $aParams=array())
 
 getImage ($mixedId, $aParams=array())
 
 getIconUrl ($sName, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 getIconPath ($sName, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 getImageAuto ($sName, $bWrapped=true, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 getImageUrl ($sName, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 getImagePath ($sName, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 getCssUrl ($sName, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 getCssUrlWithRevision ($sName, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 getCssPath ($sName, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 getJsUrl ($sName)
 
 getJsUrlWithRevision ($sName)
 
 getJsPath ($sName)
 
 getTemplateUrl ($sName, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 getTemplatePath ($sName, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 getMenu ($s)
 
 isHtml ($sName, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 getHtml ($sName, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 parseHtmlByName ($sName, $aVariables, $mixedKeyWrapperHtml=null, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH)
 
 parseHtmlByContent ($sContent, $aVariables, $mixedKeyWrapperHtml=null)
 
 parseHtmlByTemplateName ($sName, $aVariables, $mixedKeyWrapperHtml=null)
 
 parsePageByName ($sName, $aVariables)
 
 parseSystemKey ($sKey, $mixedKeyWrapperHtml=null, $bProcessInjection=true)
 
 parseLink ($sLink, $sContent, $aAttrs=array())
 
 parseLinkByName ($sName, $sLink, $sContent, $aAttrs=array())
 
 parseButton ($sContent, $aAttrs=array())
 
 parseImage ($sLink, $aAttrs=array())
 
 parseIcon ($sName, $aAttrs=array())
 
 getCacheFilePrefix ($sType)
 
 getTemplatesCacheObject ()
 
 getCached ($sName, &$aVariables, $mixedKeyWrapperHtml=null, $sCheckIn=BX_DOL_TEMPLATE_CHECK_IN_BOTH, $bEvaluate=true)
 
 addJs ($mixedFiles, $bDynamic=false)
 
 addJsPreloaded ($aFiles, $sCallback=false, $sCondition=false, $sConditionElseCallback=false)
 
 addJsPreloadedWrapped ($aFiles, $sCallback=false, $sCondition=false, $sConditionElseCallback=false)
 
 addJsCodeOnLoad ($sCallback)
 
 addJsCodeOnLoadWrapped ($sCallback)
 
 getJs ()
 
 addJsSystem ($mixedFiles)
 
 deleteJs ($mixedFiles)
 
 deleteJsSystem ($mixedFiles)
 
 _compileJs ($sAbsolutePath, &$aIncluded)
 
 _minifyJs ($s)
 
 _wrapInTagJs ($sFile)
 
 _wrapInTagJsCode ($sCode)
 
 addCss ($mixedFiles, $bDynamic=false)
 
 addCssPreloaded ($aFiles)
 
 addCssPreloadedWrapped ($aFiles)
 
 getCss ()
 
 addCssAsync ($mixedFiles)
 
 includeCssAsync ()
 
 addCssSystem ($mixedFiles)
 
 deleteCss ($mixedFiles)
 
 deleteCssSystem ($mixedFiles)
 
 _compileCss ($sAbsolutePath, &$aIncluded)
 
 _lessCss ($mixed)
 
 _minifyCss ($s)
 
 _wrapInTagCss ($sFile)
 
 _wrapInTagCssCode ($sCode)
 
 includeCssStyles ()
 
 includeFiles ($sType, $bSystem=false, $bWrap=true)
 
 _includeFiles ($sType, &$aFiles, $bWrap=true)
 
 _processFiles ($sType, $sAction, $mixedFiles, $bDynamic=false, $bSystem=false)
 
 _locateFile ($sType, $sFile)
 
 _parseContent ($sContent, $aVariables, $mixedKeyWrapperHtml=null)
 
 _compileContent ($sContent, $aVarName, $iVarDepth, $aVarValues, $mixedKeyWrapperHtml=null)
 
 _getAbsoluteLocation ($sType, $sFolder, $sName, $sCheckIn=BX_DOL_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)
 
 getRevision ()
 
 addRevision ($sUrl)
 
 displayAccessDenied ($sMsg='', $iPage=BX_PAGE_DEFAULT, $iDesignBox=BX_DB_PADDING_DEF)
 
 displayNoData ($sMsg='', $iPage=BX_PAGE_DEFAULT, $iDesignBox=BX_DB_PADDING_DEF)
 
 displayErrorOccured ($sMsg='', $iPage=BX_PAGE_DEFAULT, $iDesignBox=BX_DB_PADDING_DEF)
 
 displayPageNotFound ($sMsg='', $iPage=BX_PAGE_DEFAULT, $iDesignBox=BX_DB_PADDING_DEF)
 
 displayMsg ($s, $bTranslate=false, $iPage=BX_PAGE_DEFAULT, $iDesignBox=BX_DB_PADDING_DEF)
 
 processInjection ($iPageIndex, $sKey, $sValue="")
 
 addInjection ($sKey, $sType, $sData, $iReplace=0)
 
 getPageCode ($oTemplate=null)
 

Protected Member Functions

 getUnit ($aData, $aParams=array())
 
- 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)
 
 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='')
 
 getAttachmentsImagesTranscoders ($sStorage='')
 
 getAttachmentsVideoTranscoders ($sStorage='')
 
 getAttachments ($sStorage, $aData, $aParams=array())
 
 _embedChecks ($sStorageKey, $iFileId)
 
- Protected Member Functions inherited from BxDolTemplate
 __construct ($sRootPath=BX_DIRECTORY_PATH_ROOT, $sRootUrl=BX_DOL_URL_ROOT)
 
 initImages ()
 
 saveImages ()
 
 getInjectionsData ()
 
 _getImage ($sType, $mixedId, $aParams=array())
 
 _parseContentKeys ($sContent, $aCallbackPatterns=array())
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolTemplate
static getInstance ()
 
static retrieveCode ($sCodeKey=BX_DOL_TEMPLATE_CODE_KEY, $sMixKey=BX_DOL_TEMPLATE_MIX_KEY, $sRootPath=BX_DIRECTORY_PATH_ROOT)
 
static getColorPalette ()
 
static getColorCode ($mixedName=false, $fOpacity=false)
 
static getColorClass ($sType=BX_DOL_COLOR_FT, $sName='')
 
- 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
 
- Protected Attributes inherited from BxDolTemplate
 $_sName
 
 $_sPrefix
 
 $_sRootPath
 
 $_sRootUrl
 
 $_sSubPath
 
 $_sInjectionsTable
 
 $_sInjectionsCache
 
 $_sCode
 
 $_sCodeKey
 
 $_iMix
 
 $_sMixKey
 
 $_sKeyWrapperHtml
 
 $_sFolderHtml
 
 $_sFolderCss
 
 $_sFolderImages
 
 $_sFolderIcons
 
 $_aTemplates
 
 $_aLocations
 
 $_aLocationsJs
 
 $_bCacheEnable
 
 $_sCacheFolderUrl
 
 $_sCachePublicFolderUrl
 
 $_sCachePublicFolderPath
 
 $_sCacheFilePrefix
 
 $_aCacheExceptions
 
 $_bImagesInline
 
 $_iImagesMaxSize
 
 $_bCssLess
 
 $_bCssCache
 
 $_bCssMinify
 
 $_bCssArchive
 
 $_sCssLessPrefix
 
 $_sCssCachePrefix
 
 $_bJsLess
 
 $_bJsCache
 
 $_bJsMinify
 
 $_bJsArchive
 
 $_sJsCachePrefix
 
 $aPage
 
 $aPageContent
 
 $aPageSnapshot = array()
 
 $_oTemplateConfig
 
 $_oTemplateFunctions
 
- Static Protected Attributes inherited from BxDolTemplate
static $_sColorClassPrefix = 'col-'
 
static $_sColorClassPrefixBg = 'bg-col-'
 
static $_aColors
 
static $_aImages
 
static $_sImagesCacheKey
 
static $_iImagesCacheTTL
 

Constructor & Destructor Documentation

◆ __construct()

BxShopifyTemplate::__construct ( $oConfig,
$oDb 
)

Constructor


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