source/Application/Controller/Admin/CategoryPictures.php
public function render()
    {
        parent::render();

        $this->_aViewData['edit'] = $oCategory = oxNew(\OxidEsales\Eshop\Application\Model\Category::class);

        $soxId = $this->getEditObjectId();
        if (isset($soxId) && $soxId != '-1') {
            // load object
            $oCategory->load($soxId);
        }

        return "category_pictures.tpl";
    }
public function render()
    {
        parent::render();

        $this->_aViewData['edit'] = $oCategory = oxNew(\OxidEsales\Eshop\Application\Model\Category::class);

        $soxId = $this->getEditObjectId();
        if (isset($soxId) && $soxId != '-1') {
            // load object
            $oCategory->load($soxId);
        }

        return "category_pictures.tpl";
    }
public function render ( ) { parent :: render ( ) ; $ this -> _aViewData [ 'edit' ] = $ oCategory = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Category :: class ) ; $ soxId = $ this -> getEditObjectId ( ) ; if ( isset ( $ soxId ) && $ soxId != '-1' ) { // load object $ oCategory -> load ( $ soxId ) ; } return "category_pictures.tpl" ; }
Loads category object, passes it to Smarty engine and returns name
of template file "category_pictures.tpl".

@return string
Loads category object passes it to Smarty engine and returns name of template file category_pictures . tpl .