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