source/Application/Controller/FrontendController.php
public function getContentByIdent($ident)
    {
        if (!isset($this->_aContents[$ident])) {
            $this->_aContents[$ident] = oxNew(\OxidEsales\Eshop\Application\Model\Content::class);
            $this->_aContents[$ident]->loadByIdent($ident);
        }

        return $this->_aContents[$ident];
    }
public function getContentByIdent($ident)
    {
        if (!isset($this->_aContents[$ident])) {
            $this->_aContents[$ident] = oxNew(\OxidEsales\Eshop\Application\Model\Content::class);
            $this->_aContents[$ident]->loadByIdent($ident);
        }

        return $this->_aContents[$ident];
    }
public function getContentByIdent ( $ ident ) { if ( ! isset ( $ this -> _aContents [ $ ident ] ) ) { $ this -> _aContents [ $ ident ] = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Content :: class ) ; $ this -> _aContents [ $ ident ] -> loadByIdent ( $ ident ) ; } return $ this -> _aContents [ $ ident ] ; }
Loads and returns oxContent object requested by its ident

@param string $ident content identifier

@return \OxidEsales\Eshop\Application\Model\Content
Loads and returns oxContent object requested by its ident