OXID eShop CE  4.8.10
 All Classes Files Functions Variables Pages
credits.php
Go to the documentation of this file.
1 <?php
2 
6 class Credits extends Content
7 {
12  protected $_sContentId = "oxcredits";
13 
19  protected function _getSeoObjectId()
20  {
21  return $this->getContentId();
22  }
23 
29  public function getContent()
30  {
31  if ( $this->_oContent === null ) {
32  $this->_oContent = false;
33  $oContent = oxNew( 'oxcontent' );
34  if ( $oContent->loadByIdent( $this->getContentId() ) ) {
35  $this->_oContent = $oContent;
36  }
37  }
38 
39  return $this->_oContent;
40  }
41 }