OXID eShop CE  4.10.4
 All Classes Namespaces Files Functions Variables Pages
content_seo.php
Go to the documentation of this file.
1 <?php
2 
6 class Content_Seo extends Object_Seo
7 {
8 
14  protected function _getType()
15  {
16  return 'oxcontent';
17  }
18 
24  protected function _getEncoder()
25  {
26  return oxRegistry::get("oxSeoEncoderContent");
27  }
28 
34  public function getEntryUri()
35  {
36  $oContent = oxNew('oxcontent');
37  if ($oContent->load($this->getEditObjectId())) {
38  return $this->_getEncoder()->getContentUri($oContent, $this->getEditLang());
39  }
40  }
41 }