category_order.php

Go to the documentation of this file.
00001 <?php
00002 
00009 class Category_Order extends oxAdminDetails
00010 {
00017     public function render()
00018     {
00019         parent::render();
00020 
00021         $this->_aViewData['edit'] = $oCategory = oxNew( 'oxcategory' );
00022 
00023         // resetting
00024         oxSession::setVar( 'neworder_sess', null );
00025 
00026         $soxId = oxConfig::getParameter( "oxid" );
00027 
00028         if ( $soxId != "-1" && isset( $soxId)) {
00029             // load object
00030             $oCategory->load( $soxId );
00031 
00032             //Disable editing for derived items
00033             if ( $oCategory->isDerived() ) {
00034                 $this->_aViewData['readonly'] = true;
00035             }
00036         }
00037         if ( oxConfig::getParameter("aoc") ) {
00038 
00039             $aColumns = array();
00040             include_once 'inc/'.strtolower(__CLASS__).'.inc.php';
00041             $this->_aViewData['oxajax'] = $aColumns;
00042 
00043             return "popups/category_order.tpl";
00044         }
00045         return "category_order.tpl";
00046     }
00047 }

Generated on Thu Dec 4 12:04:55 2008 for OXID eShop CE by  doxygen 1.5.5