OXID eShop CE  6.1.4
OxidEsales\EshopCommunity\Application\Controller\ContentController Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Controller\ContentController:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Controller\ContentController:

Public Member Functions

 getViewId ()
 
 render ()
 
 getContentCategory ()
 
 showPlainTemplate ()
 
 getContentId ()
 
 getContent ()
 
 getBreadCrumb ()
 
 getTitle ()
 
 showRdfa ()
 
 getContentPageTpl ()
 
 getBusinessEntityExtends ()
 
 getNotMappedToRDFaPayments ()
 
 getNotMappedToRDFaDeliverySets ()
 
 getDeliveryChargeSpecs ()
 
 getDeliveryList ()
 
 getRdfaVAT ()
 
 getRdfaPriceValidity ()
 
 getParsedContent ()
 
 getCanonicalUrl ()
 

Protected Member Functions

 _canShowContent ($sContentIdent)
 
 _prepareMetaDescription ($sMeta, $iLength=200, $blDescTag=false)
 
 _prepareMetaKeyword ($sKeywords, $blRemoveDuplicatedWords=true)
 
 _getSeoObjectId ()
 
 _getSubject ($iLang)
 
 _getTplName ()
 

Protected Attributes

 $_sContentId = null
 
 $_oContent = null
 
 $_sThisTemplate = 'page/info/content.tpl'
 
 $_sThisPlainTemplate = 'page/info/content_plain.tpl'
 
 $_oContentCat = null
 
 $_aPsAllowedContents = ["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
 

Detailed Description

CMS - loads pages and displays it

Member Function Documentation

◆ _canShowContent()

OxidEsales\EshopCommunity\Application\Controller\ContentController::_canShowContent (   $sContentIdent)
protected

Checks if content can be shown

Parameters
string$sContentIdentident of content to display
Returns
bool

◆ _getSeoObjectId()

OxidEsales\EshopCommunity\Application\Controller\ContentController::_getSeoObjectId ( )
protected

Returns active content id to load its seo meta info

Returns
string

◆ _getSubject()

OxidEsales\EshopCommunity\Application\Controller\ContentController::_getSubject (   $iLang)
protected

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

Parameters
int$iLanglanguage id
Returns
object

◆ _getTplName()

OxidEsales\EshopCommunity\Application\Controller\ContentController::_getTplName ( )
protected

Returns name of template

Returns
string

◆ _prepareMetaDescription()

OxidEsales\EshopCommunity\Application\Controller\ContentController::_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 duplicate cleaning
Returns
string

◆ _prepareMetaKeyword()

OxidEsales\EshopCommunity\Application\Controller\ContentController::_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 duplicated words
Returns
string

◆ getBreadCrumb()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getBreadCrumb ( )

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

Returns
array

◆ getBusinessEntityExtends()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getBusinessEntityExtends ( )

Gets extended business entity data

Returns
object

◆ getCanonicalUrl()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getCanonicalUrl ( )

Returns view canonical url

Returns
string

◆ getContent()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getContent ( )

Template variable getter. Returns active content

Returns
object

◆ getContentCategory()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getContentCategory ( )

If current content is assigned to category returns its object

Returns
oxcontent

◆ getContentId()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getContentId ( )

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

Returns
object

◆ getContentPageTpl()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getContentPageTpl ( )

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

Returns
array

◆ getDeliveryChargeSpecs()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getDeliveryChargeSpecs ( )

Returns delivery methods with assigned deliverysets.

Returns
object

◆ getDeliveryList()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getDeliveryList ( )

Template variable getter. Returns delivery list

Returns
object

◆ getNotMappedToRDFaDeliverySets()

OxidEsales\EshopCommunity\Application\Controller\ContentController::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

◆ getNotMappedToRDFaPayments()

OxidEsales\EshopCommunity\Application\Controller\ContentController::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

◆ getParsedContent()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getParsedContent ( )

Returns content parsed through smarty

Returns
string

◆ getRdfaPriceValidity()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getRdfaPriceValidity ( )

Returns rdfa VAT

Returns
bool

◆ getRdfaVAT()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getRdfaVAT ( )

Returns rdfa VAT

Returns
bool

◆ getTitle()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getTitle ( )

Template variable getter. Returns tag title

Returns
string

◆ getViewId()

OxidEsales\EshopCommunity\Application\Controller\ContentController::getViewId ( )

Returns prefix ID used by template engine.

Returns
string $this->_sViewId

◆ render()

OxidEsales\EshopCommunity\Application\Controller\ContentController::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

◆ showPlainTemplate()

OxidEsales\EshopCommunity\Application\Controller\ContentController::showPlainTemplate ( )

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

Returns
bool

◆ showRdfa()

OxidEsales\EshopCommunity\Application\Controller\ContentController::showRdfa ( )

Returns if page has rdfa

Returns
bool

Member Data Documentation

◆ $_aBusinessEntityExtends

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_aBusinessEntityExtends
protected
Initial value:
= ["sRDFaLogoUrl",
"sRDFaLongitude",
"sRDFaLatitude",
"sRDFaGLN",
"sRDFaNAICS",
"sRDFaISIC",
"sRDFaDUNS"]

◆ $_aPsAllowedContents

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_aPsAllowedContents = ["oxagb", "oxrightofwithdrawal", "oximpressum"]
protected

◆ $_blBargainAction

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_blBargainAction = true
protected

◆ $_oContent

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_oContent = null
protected

◆ $_oContentCat

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_oContentCat = null
protected

◆ $_sBusinessTemplate

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_sBusinessTemplate = 'rdfa/content/inc/business_entity.tpl'
protected

◆ $_sContentId

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_sContentId = null
protected

◆ $_sContentTitle

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_sContentTitle = null
protected

◆ $_sDeliveryTemplate

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_sDeliveryTemplate = 'rdfa/content/inc/delivery_charge.tpl'
protected

◆ $_sPaymentTemplate

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_sPaymentTemplate = 'rdfa/content/inc/payment_charge.tpl'
protected

◆ $_sThisPlainTemplate

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_sThisPlainTemplate = 'page/info/content_plain.tpl'
protected

◆ $_sThisTemplate

OxidEsales\EshopCommunity\Application\Controller\ContentController::$_sThisTemplate = 'page/info/content.tpl'
protected

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