credits.php

Go to the documentation of this file.
00001 <?php
00002 
00006 class Credits extends Content
00007 {
00012     protected $_sContentId = "oxcredits";
00013 
00019     protected function _getSeoObjectId()
00020     {
00021         return $this->getContentId();
00022     }
00023 
00029     public function getContent()
00030     {
00031         if ( $this->_oContent === null ) {
00032             $this->_oContent = false;
00033             $oContent = oxNew( 'oxcontent' );
00034             if ( $oContent->loadByIdent( $this->getContentId() ) ) {
00035                 $this->_oContent = $oContent;
00036             }
00037         }
00038 
00039         return $this->_oContent;
00040     }
00041 }