content_seo.php

Go to the documentation of this file.
00001 <?php
00002 
00006 class Content_Seo extends Object_Seo
00007 {
00008 
00014     protected function _getType()
00015     {
00016         return 'oxcontent';
00017     }
00018 
00024     protected function _getEncoder()
00025     {
00026         return oxRegistry::get("oxSeoEncoderContent");
00027     }
00028 
00034     public function getEntryUri()
00035     {
00036         $oContent = oxNew('oxcontent');
00037         if ($oContent->load($this->getEditObjectId())) {
00038             return $this->_getEncoder()->getContentUri($oContent, $this->getEditLang());
00039         }
00040     }
00041 }