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 |
ERP user description class
Definition at line 9 of file oxerptype_user.php.
oxERPType_User.__construct | ( | ) |
Class constructor
Reimplemented from oxERPType.
Definition at line 99 of file oxerptype_user.php.
oxERPType_User._preAssignObject | ( | $ | oShopObject, | |
$ | aData, | |||
$ | blAllowCustomShopId | |||
) | [protected] |
issued before saving an object. can modify aData for saving
oxBase | $oShopObject shop object | |
array | $aData data used in assign | |
bool | $blAllowCustomShopId if TRUE - custom shop id is allowed |
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
object | $oShopObject shop object | |
array | $aData data array |
Reimplemented from oxERPType.
Definition at line 280 of file oxerptype_user.php.
oxERPType_User.addExportData | ( | $ | aFields | ) |
We have the possibility to add some data
array | $aFields fields to add to export |
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
object | $sOxid object id |
Reimplemented from oxERPType.
Definition at line 150 of file oxerptype_user.php.
oxERPType_User.getObjectForDeletion | ( | $ | sId | ) |
Returns object to delete
string | $sId object id |
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
string | $sWhere where condition | |
int | $iLanguage language id | |
int | $iShopID shop id |
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
string | $sField object field anme | |
int | $iLanguage language id | |
int | $iShopID shop id |
Reimplemented from oxERPType.
Definition at line 201 of file oxerptype_user.php.
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.