OXID eShop CE  4.8.12
 All Classes 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 {
13  protected function _getType()
14  {
15  return 'oxcontent';
16  }
17 
23  protected function _getEncoder()
24  {
25  return oxRegistry::get("oxSeoEncoderContent");
26  }
27 
33  public function getEntryUri()
34  {
35  $oContent = oxNew( 'oxcontent' );
36  if ( $oContent->load( $this->getEditObjectId() ) ) {
37  return $this->_getEncoder()->getContentUri( $oContent, $this->getEditLang() );
38  }
39  }
40 }