OXID eShop CE  4.10.7
 All Classes Namespaces Files Functions Variables Pages
oxERPType_User Class Reference
+ Inheritance diagram for oxERPType_User:
+ Collaboration diagram for oxERPType_User:

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)

Additional Inherited Members

- Static Public Attributes inherited from oxERPType
static $ERROR_WRONG_SHOPID = "Wrong shop id, operation not allowed!"
- Protected Member Functions inherited from oxERPType
 _getSqlFieldName ($sField, $iLanguage=0, $iShopID=1)
 _isAllowedToEdit ($iShopId)
 _directSqlCheckForDeletion ($sId)
 _preAssignObject ($oShopObject, $aData, $blAllowCustomShopId)
 _preSaveObject ($oShopObject, $aData)
 _postSaveObject ($oShopObject, $aData)
- Protected Attributes inherited from oxERPType
 $_sTableName = null
 $_sFunctionSuffix = null
 $_aFieldList = null
 $_aKeyFieldList = null
 $_sShopObjectName = null
 $_blRestrictedByShopId = false
 $_aFieldListVersions = null

Detailed Description

user erp type subclass

Deprecated:
since v5.3.5 (2017-10-02); This class will be completely removed in v6.0. In v6.0 use instead.

Definition at line 10 of file oxerptype_user.php.

Constructor & Destructor Documentation

oxERPType_User::__construct ( )

class constructor

Returns
null

Reimplemented from oxERPType.

Definition at line 18 of file oxerptype_user.php.

Member Function Documentation

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

Basic access check for writing data, checks for same shopid, should be overridden if field oxshopid does not exist

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 63 of file oxerptype_user.php.

oxERPType_User::getSQL (   $sWhere,
  $iLanguage = 0,
  $iShopId = 1 
)

returns SQL string for this type

Parameters
string$sWherewhere part of sql
int$iLanguagelanguage id
int$iShopIdshop id
Returns
string

Reimplemented from oxERPType.

Definition at line 35 of file oxerptype_user.php.


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