OXID eShop CE
4.10.6
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
oxerptype_category.php
Go to the documentation of this file.
1
<?php
2
3
require_once
'oxerptype.php'
;
4
10
class
oxERPType_Category
extends
oxERPType
11
{
12
18
public
function
__construct
()
19
{
20
parent::__construct
();
21
22
$this->_sTableName =
'oxcategories'
;
23
$this->_sShopObjectName =
'oxcategory'
;
24
}
25
35
protected
function
_preAssignObject
($oShopObject, $aData, $blAllowCustomShopId)
36
{
37
$aData =
parent::_preAssignObject
($oShopObject, $aData, $blAllowCustomShopId);
38
39
if
(!$aData[
'OXPARENTID'
]) {
40
$aData[
'OXPARENTID'
] =
'oxrootid'
;
41
}
42
43
return
$aData;
44
}
45
}
core
objects
oxerptype_category.php
Generated by
1.8.1.2