OXID eShop CE  4.9.7
 All Classes Files Functions Variables Pages
oxERPType_OrderArticle Class Reference
+ Inheritance diagram for oxERPType_OrderArticle:
+ Collaboration diagram for oxERPType_OrderArticle:

Public Member Functions

 __construct ()
 getSQL ($sWhere, $iLanguage=0, $iShopID=1)
 checkWriteAccess ($oObj, $aData=null)
- Public Member Functions inherited from oxERPType
 getFunctionSuffix ()
 getShopObjectName ()
 getBaseTableName ()
 setFunctionSuffix ($sNew)
 setFieldList ($aFieldList)
 getTableName ($iShopID=null, $iLanguage=0)
 getSortString ($sFieldName=null, $sType=null)
 checkCreateAccess ($aData)
 getObjectForDeletion ($sId)
 checkForDeletion ($sId)
 delete ($sID)
 deleteObject ($oObj, $sID)
 addExportData ($aFields)
 addImportData ($aFields)
 getRightFields ()
 getFieldList ()
 getKeyFields ()
 getOxidFromKeyFields ($aData)
 hasKeyFields ()
 saveObject ($aData, $blAllowCustomShopId)

Protected Member Functions

 _getSqlFieldName ($sField, $iLanguage=0, $iShopID=1)
 _preAssignObject ($oShopObject, $aData, $blAllowCustomShopId)
- Protected Member Functions inherited from oxERPType
 _isAllowedToEdit ($iShopId)
 _directSqlCheckForDeletion ($sId)
 _preSaveObject ($oShopObject, $aData)
 _postSaveObject ($oShopObject, $aData)

Additional Inherited Members

- Static Public Attributes inherited from oxERPType
static $ERROR_WRONG_SHOPID = "Wrong shop id, operation not allowed!"
- Protected Attributes inherited from oxERPType
 $_sTableName = null
 $_sFunctionSuffix = null
 $_aFieldList = null
 $_aKeyFieldList = null
 $_sShopObjectName = null
 $_blRestrictedByShopId = false
 $_aFieldListVersions = null

Detailed Description

Order Article erp type subclass

Definition at line 8 of file oxerptype_orderarticle.php.

Constructor & Destructor Documentation

oxERPType_OrderArticle::__construct ( )

class constructor

Returns
null

Reimplemented from oxERPType.

Definition at line 16 of file oxerptype_orderarticle.php.

Member Function Documentation

oxERPType_OrderArticle::_getSqlFieldName (   $sField,
  $iLanguage = 0,
  $iShopID = 1 
)
protected

return sql column name of given table column

Parameters
string$sFieldfield name
int$iLanguagelanguage id
int$iShopIDshop id
Returns
string

Reimplemented from oxERPType.

Definition at line 78 of file oxerptype_orderarticle.php.

oxERPType_OrderArticle::_preAssignObject (   $oShopObject,
  $aData,
  $blAllowCustomShopId 
)
protected

issued before saving an object. can modify aData for saving

Parameters
oxBase$oShopObjectoxBase child for object
array$aDatadata for object
bool$blAllowCustomShopIdif true then AllowCustomShopId
Returns
array

Reimplemented from oxERPType.

Definition at line 97 of file oxerptype_orderarticle.php.

oxERPType_OrderArticle::checkWriteAccess (   $oObj,
  $aData = null 
)

check for write access for id

Parameters
oxBase$oObjloaded shop object
array$aDatafields to be written, null for default
Exceptions
Exceptionon now access
Returns
null

Reimplemented from oxERPType.

Definition at line 58 of file oxerptype_orderarticle.php.

oxERPType_OrderArticle::getSQL (   $sWhere,
  $iLanguage = 0,
  $iShopID = 1 
)

returns Sql for export

Parameters
string$sWherewhere part of sql
int$iLanguagelanguage id
int$iShopIDshop id
See Also
objects/oxERPTypegetSQL()
Returns
string

Reimplemented from oxERPType.

Definition at line 35 of file oxerptype_orderarticle.php.


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