Go to the documentation of this file.00001 <?php
00002
00008 class Category_Order extends oxAdminDetails
00009 {
00010
00017 public function render()
00018 {
00019 parent::render();
00020
00021 $this->_aViewData['edit'] = $oCategory = oxNew('oxcategory');
00022
00023
00024 oxRegistry::getSession()->setVariable('neworder_sess', null);
00025
00026 $soxId = $this->getEditObjectId();
00027
00028 if ($soxId != "-1" && isset($soxId)) {
00029
00030 $oCategory->load($soxId);
00031
00032
00033 if ($oCategory->isDerived()) {
00034 $this->_aViewData['readonly'] = true;
00035 }
00036 }
00037 if (oxRegistry::getConfig()->getRequestParameter("aoc")) {
00038 $oCategoryOrderAjax = oxNew('category_order_ajax');
00039 $this->_aViewData['oxajax'] = $oCategoryOrderAjax->getColumns();
00040
00041 return "popups/category_order.tpl";
00042 }
00043
00044 return "category_order.tpl";
00045 }
00046 }