OXID eShop CE  4.8.12
 All Classes Files Functions Variables Pages
Content Class Reference
+ Inheritance diagram for Content:
+ Collaboration diagram for Content:

Public Member Functions

 getViewId ()
 render ()
 getContentCategory ()
 showPlainTemplate ()
 getContentId ()
 getContent ()
 getBreadCrumb ()
 getTitle ()
 showRdfa ()
 getContentPageTpl ()
 getBusinessEntityExtends ()
 getNotMappedToRDFaPayments ()
 getNotMappedToRDFaDeliverySets ()
 getDeliveryChargeSpecs ()
 getDeliveryList ()
 getRdfaVAT ()
 getRdfaPriceValidity ()
 getParsedContent ()
- Public Member Functions inherited from oxUBase
 init ()
 showSorting ()
 setComponents ($aComponents=null)
 getComponents ()
 getComponent ($sName)
 setIsOrderStep ($blIsOrderStep=null)
 getIsOrderStep ()
 setActiveCategory ($oCategory)
 getActiveCategory ()
 getListType ()
 getListDisplayType ()
 getCustomListDisplayType ()
 setListType ($sType)
 loadCurrency ()
 dontShowEmptyCategories ()
 showCategoryArticlesCount ()
 isLanguageLoaded ()
 getTopNavigationCatCnt ()
 addRssFeed ($sTitle, $sUrl, $key=null)
 getSortOrderByParameterName ()
 getSortOrderParameterName ()
 getSortIdent ()
 getDefaultSorting ()
 getUserSelectedSorting ()
 getSavedSorting ($sSortIdent)
 setListOrderBy ($sColumn)
 setListOrderDirection ($sDirection)
 prepareSortColumns ()
 getListOrderBy ()
 getListOrderDirection ()
 setMetaDescription ($sDescription)
 setMetaKeywords ($sKeywords)
 getMetaKeywords ()
 getMetaDescription ()
 getActCurrency ()
 setActCurrency ($oCur)
 getCompareItemCount ()
 noIndex ()
 isSortingActive ()
 getMenueList ()
 setMenueList ($aMenue)
 getNavigationParams ()
 setItemSorting ($sSortIdent, $sSortBy, $sSortDir=null)
 getSorting ($sSortIdent)
 getSortingSql ($sIdent)
 getTitleSuffix ()
 getTitlePageSuffix ()
 getTitlePrefix ()
 getDynUrlParams ()
 getLink ($iLang=null)
 getCanonicalUrl ()
 getSimilarRecommListIds ()
 getSearchParamForHtml ()
 showSearch ()
 getRssLinks ()
 getSortColumns ()
 setSortColumns ($aSortColumns)
 getEditTags ()
 getRecommSearch ()
 getPaymentList ()
 getActiveRecommList ()
 getAccessoires ()
 getCrossSelling ()
 getSimilarProducts ()
 getAlsoBoughtTheseProducts ()
 getArticleId ()
 getActiveLangAbbr ()
 addGlobalParams ($oShop=null)
 getAdditionalParams ()
 generatePageNavigationUrl ()
 getPageNavigation ()
 getPageNavigationLimitedTop ($iPositionCount=7)
 getPageNavigationLimitedBottom ($iPositionCount=11)
 generatePageNavigation ($iPositionCount=0)
 getViewProduct ()
 setViewProduct ($oProduct)
 getViewProductList ()
 getActPage ()
 getActTag ()
 getActVendor ()
 getActManufacturer ()
 setActVendor ($oVendor)
 setActManufacturer ($oManufacturer)
 getActSearch ()
 getCategoryTree ()
 setCategoryTree ($oCatTree)
 getManufacturerTree ()
 setManufacturerTree ($oManufacturerTree)
 getAddUrlParams ()
 getTop5ArticleList ($iCount=null)
 getBargainArticleList ()
 isLowOrderPrice ()
 getMinOrderPrice ()
 getNewsRealStatus ()
 getProduct ()
 getManufacturerlist ()
 setManufacturerlist ($aList)
 setRootVendor ($oVendor)
 getRootVendor ()
 setRootManufacturer ($oManufacturer)
 getRootManufacturer ()
 getVendorId ()
 getManufacturerId ()
 getSearchCatTree ()
 setSearchCatTree ($aTree)
 getCatMoreUrl ()
 getCatTreePath ()
 getContentByIdent ($sIdent)
 getMustFillFields ()
 isFieldRequired ($sField)
 getFormId ()
 canAcceptFormData ()
 getPromoFinishedList ()
 getPromoCurrentList ()
 getPromoFutureList ()
 getShowPromotionList ()
 isEnabledPrivateSales ()
 getFieldValidationErrors ()
 setRootCatChanged ($blRootCatChanged)
 isRootCatChanged ()
 getInvoiceAddress ()
 getDeliveryAddress ()
 setDeliveryAddress ($aDeliveryAddress)
 setInvoiceAddress ($aAddress)
 getActiveUsername ()
 getWishlistUserId ()
 getSearchCatId ()
 getSearchVendor ()
 getSearchManufacturer ()
 getLastProducts ()
 getNewBasketItemMsgType ()
 isActive ($sName)
 isFbWidgetVisible ()
 isEnabledDownloadableFiles ()
 showRememberMe ()
 isVatIncluded ()
 isPriceCalculated ()
 showTags ()
 getWishlistName ()
 getWidgetLink ()
- Public Member Functions inherited from oxView
 setViewParameters ($aParams=null)
 getViewParameter ($sKey)
 setIsCallForCache ($blIsCallForCache=null)
 getIsCallForCache ()
 addTplParam ($sPara, $sValue)
 getBelboonParam ()
 getViewConfig ()
 getTemplateName ()
 setTemplateName ($sTemplate)
 setClassName ($sClassName)
 getClassName ()
 setFncName ($sFncName)
 getFncName ()
 setViewData ($aViewData=null)
 getViewData ()
 getViewDataElement ($sParamId=null)
 setClassLocation ($sClassLocation=null)
 getClassLocation ()
 setThisAction ($sThisAction=null)
 getThisAction ()
 setParent ($oParent=null)
 getParent ()
 setIsComponent ($blIsComponent=null)
 getIsComponent ()
 executeFunction ($sFunction)
 getTrustedShopId ()
 getTSExcellenceId ()
 getCharSet ()
 getShopVersion ()
 getShopEdition ()
 getRevision ()
 getPackageInfo ()
 getShopFullEdition ()
 isDemoVersion ()
 isBetaVersion ()
 isRCVersion ()
 showBetaNote ()
 isDemoShop ()
 showNewsletter ()
 setShowNewsletter ($blShow)
 getShopLogo ()
 setShopLogo ($sLogo)
 getActCategory ()
 setActCategory ($oCategory)
 getCategoryId ()
 setCategoryId ($sCategoryId)
 getErrorDestination ()
 getActionClassName ()
 isConnectedWithFb ()
 getFbUserId ()
 showFbConnectToAccountMsg ()
 isMall ()
 getSidForWidget ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 __construct ()
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _canShowContent ($sContentIdent)
 _prepareMetaDescription ($sMeta, $iLength=200, $blDescTag=false)
 _prepareMetaKeyword ($sKeywords, $blRemoveDuplicatedWords=true)
 _getSeoObjectId ()
 _getSubject ($iLang)
 _getTplName ()
- Protected Member Functions inherited from oxUBase
 _getComponentNames ()
 _processRequest ()
 _getMetaFromSeo ($sDataType)
 _getMetaFromContent ($sMetaIdent)
 _forceNoIndex ()
 _setNrOfArtPerPage ()
 _removeDuplicatedWords ($aInput, $aSkipTags=array())
 _getRequestParams ($blAddPageNr=true)
 _getSeoRequestParams ()
 _addPageNrParam ($sUrl, $iPage, $iLang=null)
 _canRedirect ()
- Protected Member Functions inherited from oxView
 _executeNewAction ($sNewAction)

Protected Attributes

 $_sContentId = null
 $_oContent = null
 $_sThisTemplate = 'page/info/content.tpl'
 $_sThisPlainTemplate = 'page/info/content_plain.tpl'
 $_oContentCat = null
 $_aPsAllowedContents = array( "oxagb", "oxrightofwithdrawal", "oximpressum" )
 $_sContentTitle = null
 $_blBargainAction = true
 $_sBusinessTemplate = 'rdfa/content/inc/business_entity.tpl'
 $_sDeliveryTemplate = 'rdfa/content/inc/delivery_charge.tpl'
 $_sPaymentTemplate = 'rdfa/content/inc/payment_charge.tpl'
 $_aBusinessEntityExtends
- Protected Attributes inherited from oxUBase
 $_blFbWidgetsOn = null
 $_sRemoveMetaChars = '.\+*?[^]$(){}=!<>|:&'
 $_oaComponents = array()
 $_blIsOrderStep = false
 $_sListType = null
 $_aListDisplayTypes = array( 'grid', 'line', 'infogrid' )
 $_sListDisplayType = null
 $_sCustomListDisplayType = null
 $_oActCategory = null
 $_oActManufacturer = null
 $_oActVendor = null
 $_oActiveRecommList = null
 $_oActSearch = null
 $_blShowSorting = false
 $_blLoadCurrency = null
 $_blLoadManufacturerTree = null
 $_blDontShowEmptyCats = null
 $_blLoadLanguage = null
 $_iTopCatNavItmCnt = null
 $_aRssLinks = null
 $_sListOrderBy = null
 $_sListOrderDir = null
 $_sMetaDescription = null
 $_sMetaKeywords = null
 $_sMetaDescriptionIdent = null
 $_sMetaKeywordsIdent = null
 $_sAdditionalParams = null
 $_oActCurrency = null
 $_blEnabledPrivateSales = null
 $_blCommonAdded = false
 $_iViewIndexState = VIEW_INDEXSTATE_INDEX
 $_blForceNoIndex = false
 $_iCompItemsCnt = null
 $_sContentId = null
 $_oContent = null
 $_sViewResetID = null
 $_blActiveSorting = null
 $_aMenueList = null
 $_aComponentNames
 $_aUserComponentNames = array()
 $_oProduct = null
 $_iActPage = null
 $_aArticleList = null
 $_oManufacturerTree = null
 $_oCategoryTree = null
 $_aTop5ArticleList = null
 $_aBargainArticleList = null
 $_blLowOrderPrice = null
 $_sMinOrderPrice = null
 $_iNewsRealStatus = null
 $_aBlockRedirectParams = array( 'fnc', 'stoken', 'force_sid', 'force_admin_sid' )
 $_oRootVendor = null
 $_sVendorId = null
 $_aManufacturerlist = null
 $_oRootManufacturer = null
 $_sManufacturerId = null
 $_aSearchCatTree = null
 $_blNewsSubscribed = null
 $_oDelAddress = null
 $_sCatTreePath = null
 $_aContents = array()
 $_blTop5Action = false
 $_blBargainAction = false
 $_aMustFillFields = null
 $_blShowTagCloud = true
 $_blRootCatChanged = false
 $_aInvoiceAddress = null
 $_aDeliveryAddress = null
 $_sActiveUsername = null
 $_blLoadComponents = true
 $_aSortColumns = null
- Protected Attributes inherited from oxView
 $_aViewData = array()
 $_sClassLocation = null
 $_sThisAction = null
 $_oParent = null
 $_blIsComponent = false
 $_sThisTemplate = null
 $_sViewId = null
 $_sClass = null
 $_sFnc = null
 $_sTrustedShopId = null
 $_sTSExcellenceId = null
 $_sCharSet = null
 $_sVersion = null
 $_blDemoVersion = null
 $_blDemoShop = null
 $_iNewsStatus = null
 $_sShopLogo = null
 $_sCategoryId = null
 $_oClickCat = null
 $_blIsCallForCache = false
 $_oViewConf = null

Additional Inherited Members

- Static Protected Attributes inherited from oxUBase
static $_aCollectedComponentNames = null

Detailed Description

CMS - loads pages and displays it

Definition at line 6 of file content.php.

Member Function Documentation

Content::_canShowContent (   $sContentIdent)
protected

Checks if content can be shown

Parameters
string$sContentIdentident of content to display
Returns
bool

Definition at line 147 of file content.php.

Content::_getSeoObjectId ( )
protected

Returns active content id to load its seo meta info

Returns
string

Reimplemented from oxUBase.

Reimplemented in Credits.

Definition at line 234 of file content.php.

Content::_getSubject (   $iLang)
protected

returns object, assosiated with current view. (the object that is shown in frontend)

Parameters
int$iLanglanguage id
Returns
object

Reimplemented from oxUBase.

Definition at line 298 of file content.php.

Content::_getTplName ( )
protected

Returns name of template

Returns
string

Definition at line 308 of file content.php.

Content::_prepareMetaDescription (   $sMeta,
  $iLength = 200,
  $blDescTag = false 
)
protected

Returns current view meta data If $sMeta parameter comes empty, sets to it current content title

Parameters
string$sMetacategory path
int$iLengthmax length of result, -1 for no truncation
bool$blDescTagif true - performs additional dublicate cleaning
Returns
string

Reimplemented from oxUBase.

Definition at line 167 of file content.php.

Content::_prepareMetaKeyword (   $sKeywords,
  $blRemoveDuplicatedWords = true 
)
protected

Returns current view keywords seperated by comma If $sKeywords parameter comes empty, sets to it current content title

Parameters
string$sKeywordsdata to use as keywords
bool$blRemoveDuplicatedWordsremove dublicated words
Returns
string

Reimplemented from oxUBase.

Definition at line 184 of file content.php.

Content::getBreadCrumb ( )

Returns Bread Crumb - you are here page1/page2/page3...

Returns
array

Reimplemented from oxUBase.

Definition at line 333 of file content.php.

Content::getBusinessEntityExtends ( )

Gets extended business entity data

Returns
object

Definition at line 400 of file content.php.

Content::getContent ( )

Template variable getter. Returns active content

Returns
object

Reimplemented in Credits.

Definition at line 279 of file content.php.

Content::getContentCategory ( )

If current content is assigned to category returns its object

Returns
oxcontent

Reimplemented from oxUBase.

Definition at line 197 of file content.php.

Content::getContentId ( )

Template variable getter. Returns active content id. If no content id specified, uses "impressum" content id

Returns
object

Definition at line 245 of file content.php.

Content::getContentPageTpl ( )

Returns template name wich content page to specify: business entity data, payment charge specifications or delivery charge

Returns
array

Definition at line 378 of file content.php.

Content::getDeliveryChargeSpecs ( )

Returns delivery methods with assigned deliverysets.

Returns
object

Definition at line 445 of file content.php.

Content::getDeliveryList ( )

Template variable getter. Returns delivery list

Returns
object

Definition at line 465 of file content.php.

Content::getNotMappedToRDFaDeliverySets ( )

Returns an object including all delivery sets which are not mapped to a predefined GoodRelations delivery method. This object is used for defining new instances of gr:DeliveryMethods at content pages.

Returns
object

Definition at line 433 of file content.php.

Content::getNotMappedToRDFaPayments ( )

Returns an object including all payments which are not mapped to a predefined GoodRelations payment method. This object is used for defining new instances of gr:PaymentMethods at content pages.

Returns
object

Definition at line 419 of file content.php.

Content::getParsedContent ( )

Returns content parsed through smarty

Returns
string

Definition at line 505 of file content.php.

Content::getRdfaPriceValidity ( )

Returns rdfa VAT

Returns
bool

Definition at line 489 of file content.php.

Content::getRdfaVAT ( )

Returns rdfa VAT

Returns
bool

Definition at line 479 of file content.php.

Content::getTitle ( )

Template variable getter. Returns tag title

Returns
string

Reimplemented from oxUBase.

Definition at line 352 of file content.php.

Content::getViewId ( )

Returns prefix ID used by template engine.

Returns
string $this->_sViewId

Reimplemented from oxUBase.

Definition at line 93 of file content.php.

Content::render ( )

Executes parent::render(), passes template variables to template engine and generates content. Returns the name of template to render content::_sThisTemplate

Returns
string $this->_sThisTemplate current template file name

Reimplemented from oxUBase.

Definition at line 108 of file content.php.

Content::showPlainTemplate ( )

Returns true if user forces to display plain template or if private sales switched ON and user is not logged in

Returns
bool

Definition at line 215 of file content.php.

Content::showRdfa ( )

Returns if page has rdfa

Returns
bool

Reimplemented from oxView.

Definition at line 367 of file content.php.

Member Data Documentation

Content::$_aBusinessEntityExtends
protected
Initial value:
array( "sRDFaLogoUrl",
"sRDFaLongitude",
"sRDFaLatitude",
"sRDFaGLN",
"sRDFaNAICS",
"sRDFaISIC",
"sRDFaDUNS")

Definition at line 80 of file content.php.

Content::$_aPsAllowedContents = array( "oxagb", "oxrightofwithdrawal", "oximpressum" )
protected

Definition at line 42 of file content.php.

Content::$_blBargainAction = true
protected

Definition at line 54 of file content.php.

Content::$_oContent = null
protected

Definition at line 18 of file content.php.

Content::$_oContentCat = null
protected

Definition at line 36 of file content.php.

Content::$_sBusinessTemplate = 'rdfa/content/inc/business_entity.tpl'
protected

Definition at line 60 of file content.php.

Content::$_sContentId = null
protected

Definition at line 12 of file content.php.

Content::$_sContentTitle = null
protected

Definition at line 48 of file content.php.

Content::$_sDeliveryTemplate = 'rdfa/content/inc/delivery_charge.tpl'
protected

Definition at line 66 of file content.php.

Content::$_sPaymentTemplate = 'rdfa/content/inc/payment_charge.tpl'
protected

Definition at line 72 of file content.php.

Content::$_sThisPlainTemplate = 'page/info/content_plain.tpl'
protected

Definition at line 30 of file content.php.

Content::$_sThisTemplate = 'page/info/content.tpl'
protected

Definition at line 24 of file content.php.


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