Пример #1
0
 /**
  * encodeContentUrl encodes content link
  *
  * @param oxContent $oCont category object
  * @param int       $iLang language
  *
  * @return string|bool
  */
 public function getContentUrl($oCont, $iLang = null)
 {
     if (!isset($iLang)) {
         $iLang = $oCont->getLanguage();
     }
     return $this->_getFullUrl($this->getContentUri($oCont, $iLang), $iLang);
 }