OXID eShop CE
4.10.6
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
category_order.php
Go to the documentation of this file.
1
<?php
2
8
class
Category_Order
extends
oxAdminDetails
9
{
10
17
public
function
render
()
18
{
19
parent::render
();
20
21
$this->_aViewData[
'edit'
] = $oCategory =
oxNew
(
'oxcategory'
);
22
23
// resetting
24
oxRegistry::getSession
()->setVariable(
'neworder_sess'
, null);
25
26
$soxId = $this->
getEditObjectId
();
27
28
if
($soxId !=
"-1"
&& isset($soxId)) {
29
// load object
30
$oCategory->load($soxId);
31
32
//Disable editing for derived items
33
if
($oCategory->isDerived()) {
34
$this->_aViewData[
'readonly'
] =
true
;
35
}
36
}
37
if
(
oxRegistry::getConfig
()->getRequestParameter(
"aoc"
)) {
38
$oCategoryOrderAjax =
oxNew
(
'category_order_ajax'
);
39
$this->_aViewData[
'oxajax'
] = $oCategoryOrderAjax->getColumns();
40
41
return
"popups/category_order.tpl"
;
42
}
43
44
return
"category_order.tpl"
;
45
}
46
}
application
controllers
admin
category_order.php
Generated by
1.8.1.2