attribute_category.php

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