Inheritance diagram for oxERPType_Article:
Collaboration diagram for oxERPType_Article: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 111 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 150 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 128 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 171 of file oxerptype_article.php.
1.7.1