attribute_category.php

Go to the documentation of this file.
00001 <?php
00002 
00009 class Attribute_Category extends oxAdminDetails
00010 {
00011 
00018     public function render()
00019     {
00020         parent::render();
00021 
00022         $soxId = $this->_aViewData["oxid"] = $this->getEditObjectId();
00023 
00024         $aListAllIn = array();
00025         if ($soxId != "-1" && isset($soxId)) {
00026             // load object
00027             $oAttr = oxNew("oxattribute");
00028             $oAttr->load($soxId);
00029             $this->_aViewData["edit"] = $oAttr;
00030         }
00031 
00032         if (oxRegistry::getConfig()->getRequestParameter("aoc")) {
00033             $oAttributeCategoryAjax = oxNew('attribute_category_ajax');
00034             $this->_aViewData['oxajax'] = $oAttributeCategoryAjax->getColumns();
00035 
00036             return "popups/attribute_category.tpl";
00037         }
00038 
00039         return "attribute_category.tpl";
00040     }
00041 }