OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Core\Contract\IUrl Interface Reference

Public Member Functions

 getLink ($iLang=null)
 
 getStdLink ($iLang=null, $aParams=[])
 
 getBaseStdLink ($iLang, $blAddId=true, $blFull=true)
 

Detailed Description

Interface for object URLs getters

Member Function Documentation

◆ getBaseStdLink()

OxidEsales\EshopCommunity\Core\Contract\IUrl::getBaseStdLink (   $iLang,
  $blAddId = true,
  $blFull = true 
)

Returns base dynamic url: e.g. shopurl/index.php?cl=details&anid=artid

Parameters
int$iLanglanguage id
bool$blAddIdadd current object id to url or not
bool$blFullreturn full including domain name [optional]
Returns
string

◆ getLink()

OxidEsales\EshopCommunity\Core\Contract\IUrl::getLink (   $iLang = null)

Returns object URL. If SEO if ON returned link will be in SEO form, else URL will have dynamic form

Parameters
int$iLanglanguage id [optional]
Returns
string

◆ getStdLink()

OxidEsales\EshopCommunity\Core\Contract\IUrl::getStdLink (   $iLang = null,
  $aParams = [] 
)

Returns standard (dynamic) object URL

Parameters
int$iLanglanguage id [optional]
array$aParamsadditional params to use [optional]
Returns
string

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