OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Application\Model\SeoEncoderManufacturer Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Model\SeoEncoderManufacturer:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Model\SeoEncoderManufacturer:

Public Member Functions

 getManufacturerUri ($oManufacturer, $iLang=null, $blRegenerate=false)
 
 getManufacturerPageUrl ($manufacturer, $pageNumber, $languageId=null, $isFixed=null)
 
 getManufacturerUrl ($oManufacturer, $iLang=null)
 
 onDeleteManufacturer ($oManufacturer)
 

Protected Member Functions

 _getUrlExtension ()
 
 _getAltUri ($sObjectId, $iLang)
 

Protected Attributes

 $_aRootManufacturerUri = null
 

Detailed Description

Seo encoder base

Member Function Documentation

◆ _getAltUri()

OxidEsales\EshopCommunity\Application\Model\SeoEncoderManufacturer::_getAltUri (   $sObjectId,
  $iLang 
)
protected

Returns alternative uri used while updating seo

Parameters
string$sObjectIdobject id
int$iLanglanguage id
Returns
string

◆ _getUrlExtension()

OxidEsales\EshopCommunity\Application\Model\SeoEncoderManufacturer::_getUrlExtension ( )
protected

Returns target "extension" (/)

Returns
string

◆ getManufacturerPageUrl()

OxidEsales\EshopCommunity\Application\Model\SeoEncoderManufacturer::getManufacturerPageUrl (   $manufacturer,
  $pageNumber,
  $languageId = null,
  $isFixed = null 
)

Returns Manufacturer SEO url for specified page

Parameters
\OxidEsales\Eshop\Application\Model\Manufacturer$manufacturerManufacturer object
int$pageNumberNumber of the page which should be prepared.
int$languageIdLanguage id.
bool$isFixedFixed url marker (default is null).
Returns
string

◆ getManufacturerUri()

OxidEsales\EshopCommunity\Application\Model\SeoEncoderManufacturer::getManufacturerUri (   $oManufacturer,
  $iLang = null,
  $blRegenerate = false 
)

Returns part of SEO url excluding path

Parameters
\OxidEsales\Eshop\Application\Model\Manufacturer$oManufacturermanufacturer object
int$iLanglanguage
bool$blRegenerateif TRUE forces seo url regeneration
Returns
string

◆ getManufacturerUrl()

OxidEsales\EshopCommunity\Application\Model\SeoEncoderManufacturer::getManufacturerUrl (   $oManufacturer,
  $iLang = null 
)

Encodes manufacturer category URLs into SEO format

Parameters
\OxidEsales\Eshop\Application\Model\Manufacturer$oManufacturerManufacturer object
int$iLanglanguage
Returns
string

◆ onDeleteManufacturer()

OxidEsales\EshopCommunity\Application\Model\SeoEncoderManufacturer::onDeleteManufacturer (   $oManufacturer)

Deletes manufacturer seo entry

Parameters
\OxidEsales\Eshop\Application\Model\Manufacturer$oManufacturerManufacturer object

Member Data Documentation

◆ $_aRootManufacturerUri

OxidEsales\EshopCommunity\Application\Model\SeoEncoderManufacturer::$_aRootManufacturerUri = null
protected

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