Public Member Functions | Protected Member Functions

oxERPType_Article Class Reference

Inheritance diagram for oxERPType_Article:
Collaboration diagram for oxERPType_Article:

List of all members.

Public Member Functions

 __construct ()
 checkWriteAccess ($oObj, $aData=null)

Protected Member Functions

 _preAssignObject ($oShopObject, $aData, $blAllowCustomShopId)
 _postSaveObject ($oShopObject, $aData)

Detailed Description

article type subclass

Definition at line 104 of file oxerptype_article.php.


Constructor & Destructor Documentation

oxERPType_Article.__construct (  ) 

class constructor

Returns:
null

Reimplemented from oxERPType.

Definition at line 111 of file oxerptype_article.php.


Member Function Documentation

oxERPType_Article._postSaveObject ( oShopObject,
aData 
) [protected]

post saving hook. can finish transactions if needed or ajust related data

Parameters:
oxBase $oShopObject shop object
data $aData data to save
Returns:
mixed data to return

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

Parameters:
oxBase $oShopObject shop object
array $aData data to prepare
bool $blAllowCustomShopId if allow custom shop id
Returns:
array

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.

Parameters:
oxBase $oObj loaded shop object
array $aData fields to be written, null for default
Exceptions:
Exception on now access
Returns:
null

Reimplemented from oxERPType.

Definition at line 171 of file oxerptype_article.php.


The documentation for this class was generated from the following file: