OXID eShop CE
4.9.7
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
{
10
16
public
function
__construct
()
17
{
18
parent::__construct
();
19
20
$this->_sTableName =
'oxcategories'
;
21
$this->_sShopObjectName =
'oxcategory'
;
22
}
23
33
protected
function
_preAssignObject
($oShopObject, $aData, $blAllowCustomShopId)
34
{
35
$aData =
parent::_preAssignObject
($oShopObject, $aData, $blAllowCustomShopId);
36
37
if
(!$aData[
'OXPARENTID'
]) {
38
$aData[
'OXPARENTID'
] =
'oxrootid'
;
39
}
40
41
return
$aData;
42
}
43
}
core
objects
oxerptype_category.php
Generated by
1.8.1.2