/** * Returns prefix ID used by template engine. * * @return string $this->_sViewId */ public function getViewId() { if (!isset($this->_sViewId)) { $this->_sViewId = parent::getViewId() . '|' . oxConfig::getParameter('oxcid'); } return $this->_sViewId; }
/** * Returns prefix ID used by template engine. * * @return string $this->_sViewId */ public function getViewId() { if (!isset($this->_sViewId)) { $this->_sViewId = parent::getViewId() . '|' . oxRegistry::getConfig()->getRequestParameter('oxcid'); } return $this->_sViewId; }
/** * Returns prefix ID used by template engine. * * @return string $this->_sViewID view id */ public function getViewId() { return oxUBase::getViewId(); }
/** * Returns prefix ID used by template engine. * * @return string $this->_sViewID view id */ public function getViewId() { if (isset($this->_sViewId)) { return $this->_sViewId; } $sViewId = parent::getViewId() . '|' . $this->getConfig()->getRequestParameter('anid') . '|'; return $this->_sViewId = $sViewId; }
/** * Generates (if not generated yet) and returns view ID (for * template engine caching). * * @return string $this->_sViewId view id */ public function getViewId() { if (!isset($this->_sViewId)) { $sCatId = oxRegistry::getConfig()->getRequestParameter('cnid'); $iActPage = $this->getActPage(); $iArtPerPage = oxRegistry::getSession()->getVariable('_artperpage'); $sListDisplayType = $this->_getListDisplayType(); $sParentViewId = parent::getViewId(); // shorten it $this->_sViewId = md5($sParentViewId . '|' . $sCatId . '|' . $iActPage . '|' . $iArtPerPage . '|' . $sListDisplayType); } return $this->_sViewId; }
/** * Generates (if not generated yet) and returns view ID (for * template engine caching). * * @return string $this->_sViewId view id */ public function getViewId() { if (!isset($this->_sViewId)) { $sCatId = oxConfig::getParameter('cnid'); $iActPage = $this->getActPage(); $iArtPerPage = oxSession::getVar('_artperpage'); $sListDisplayType = oxSession::getVar('ldtype'); $sParentViewId = parent::getViewId(); // shorten it $this->_sViewId = md5($sParentViewId . '|' . $sCatId . '|' . $iActPage . '|' . $iArtPerPage . '|' . $sListDisplayType); } return $this->_sViewId; }