Public Member Functions | |
__construct () | |
checkWriteAccess ($oObj, $aData=null) | |
Protected Member Functions | |
_preAssignObject ($oShopObject, $aData, $blAllowCustomShopId) | |
_postSaveObject ($oShopObject, $aData) |
article type subclass
Definition at line 104 of file oxerptype_article.php.
oxERPType_Article.__construct | ( | ) |
class constructor
Reimplemented from oxERPType.
Definition at line 112 of file oxerptype_article.php.
oxERPType_Article._postSaveObject | ( | $ | oShopObject, | |
$ | aData | |||
) | [protected] |
post saving hook. can finish transactions if needed or ajust related data
oxBase | $oShopObject shop object | |
data | $aData data to save |
Reimplemented from oxERPType.
Definition at line 151 of file oxerptype_article.php.
oxERPType_Article._preAssignObject | ( | $ | oShopObject, | |
$ | aData, | |||
$ | blAllowCustomShopId | |||
) | [protected] |
issued before saving an object. can modify aData for saving
oxBase | $oShopObject shop object | |
array | $aData data to prepare | |
bool | $blAllowCustomShopId if allow custom shop id |
Reimplemented from oxERPType.
Definition at line 129 of file oxerptype_article.php.
oxERPType_Article.checkWriteAccess | ( | $ | oObj, | |
$ | aData = null | |||
) |
Basic access check for writing data. For oxarticle we allow super admin to change subshop oxarticle fields discribed in config option aMultishopArticleFields.
oxBase | $oObj loaded shop object | |
array | $aData fields to be written, null for default |
Exception | on now access |
Reimplemented from oxERPType.
Definition at line 172 of file oxerptype_article.php.