credits.php

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