content_seo.php

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