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             $oAttributeCategoryAjax = oxNew( 'attribute_category_ajax' );
00033             $this->_aViewData['oxajax'] = $oAttributeCategoryAjax->getColumns();
00034 
00035             return "popups/attribute_category.tpl";
00036         }
00037         return "attribute_category.tpl";
00038     }
00039 }