source/Application/Controller/ContentController.php
public function getContentCategory()
    {
        if ($this->_oContentCat === null) {
            // setting default status ..
            $this->_oContentCat = false;
            if (($oContent = $this->getContent()) && $oContent->oxcontents__oxtype->value == 2) {
                $this->_oContentCat = $oContent;
            }
        }

        return $this->_oContentCat;
    }
public function getContentCategory()
    {
        if ($this->_oContentCat === null) {
            // setting default status ..
            $this->_oContentCat = false;
            if (($oContent = $this->getContent()) && $oContent->oxcontents__oxtype->value == 2) {
                $this->_oContentCat = $oContent;
            }
        }

        return $this->_oContentCat;
    }
public function getContentCategory ( ) { if ( $ this -> _oContentCat === null ) { // setting default status .. $ this -> _oContentCat = false ; if ( ( $ oContent = $ this -> getContent ( ) ) && $ oContent -> oxcontents__oxtype -> value == 2 ) { $ this -> _oContentCat = $ oContent ; } } return $ this -> _oContentCat ; }
If current content is assigned to category returns its object

@return oxcontent
If current content is assigned to category returns its object