oxERPType_User Class Reference

Inheritance diagram for oxERPType_User:
Inheritance graph
[legend]
Collaboration diagram for oxERPType_User:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 __construct ()
 getSQL ($sWhere, $iLanguage=0, $iShopID=1)
 checkWriteAccess ($sOxid)
 getObjectForDeletion ($sId)
 addExportData ($aFields)

Static Public Attributes

static $CAN_NOT_IMPORT_SALT = 'ERROR: Can not import user password salt to shop config.'

Protected Member Functions

 getSqlFieldName ($sField, $iLanguage=0, $iShopID=1)
 _preAssignObject ($oShopObject, $aData, $blAllowCustomShopId)
 _preSaveObject ($oShopObject, $aData)

Protected Attributes

 $_aFieldListVersions

Detailed Description

ERP user description class

Definition at line 9 of file oxerptype_user.php.


Constructor & Destructor Documentation

oxERPType_User.__construct (  ) 

Class constructor

Returns:
null

Reimplemented from oxERPType.

Definition at line 99 of file oxerptype_user.php.


Member Function Documentation

oxERPType_User._preAssignObject ( oShopObject,
aData,
blAllowCustomShopId 
) [protected]

issued before saving an object. can modify aData for saving

Parameters:
oxBase $oShopObject shop object
array $aData data used in assign
bool $blAllowCustomShopId if TRUE - custom shop id is allowed
Returns:
array

Reimplemented from oxERPType.

Definition at line 243 of file oxerptype_user.php.

oxERPType_User._preSaveObject ( oShopObject,
aData 
) [protected]

prepares object for saving in shop returns true if save can proceed further

Parameters:
object $oShopObject shop object
array $aData data array
Returns:
boolean

Reimplemented from oxERPType.

Definition at line 280 of file oxerptype_user.php.

oxERPType_User.addExportData ( aFields  ) 

We have the possibility to add some data

Parameters:
array $aFields fields to add to export
Returns:
array

Reimplemented from oxERPType.

Definition at line 308 of file oxerptype_user.php.

oxERPType_User.checkWriteAccess ( sOxid  ) 

Checks for write access. If access is not granted exception is thrown

Parameters:
object $sOxid object id
Returns:
null

Reimplemented from oxERPType.

Definition at line 150 of file oxerptype_user.php.

oxERPType_User.getObjectForDeletion ( sId  ) 

Returns object to delete

Parameters:
string $sId object id
Returns:
oxuser

Reimplemented from oxERPType.

Definition at line 166 of file oxerptype_user.php.

oxERPType_User.getSQL ( sWhere,
iLanguage = 0,
iShopID = 1 
)

return sql column name of given table column

Parameters:
string $sWhere where condition
int $iLanguage language id
int $iShopID shop id
Returns:
string

Reimplemented from oxERPType.

Definition at line 122 of file oxerptype_user.php.

oxERPType_User.getSqlFieldName ( sField,
iLanguage = 0,
iShopID = 1 
) [protected]

return sql column name of given table column

Parameters:
string $sField object field anme
int $iLanguage language id
int $iShopID shop id
Returns:
string

Reimplemented from oxERPType.

Definition at line 201 of file oxerptype_user.php.


Member Data Documentation

oxERPType_User.$_aFieldListVersions [protected]

Reimplemented from oxERPType.

Definition at line 21 of file oxerptype_user.php.

oxERPType_User.$CAN_NOT_IMPORT_SALT = 'ERROR: Can not import user password salt to shop config.' [static]

Definition at line 15 of file oxerptype_user.php.


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

Generated by  doxygen 1.6.2