OXID eShop CE
4.9.8
|
Public Member Functions | |
__construct () | |
checkWriteAccess ($oObj, $aData=null) | |
Public Member Functions inherited from oxERPType | |
getFunctionSuffix () | |
getShopObjectName () | |
getBaseTableName () | |
setFunctionSuffix ($sNew) | |
setFieldList ($aFieldList) | |
getTableName ($iShopID=null, $iLanguage=0) | |
getSQL ($sWhere, $iLanguage=0, $iShopId=1) | |
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 | |
_preAssignObject ($oShopObject, $aData, $blAllowCustomShopId) | |
_postSaveObject ($oShopObject, $aData) | |
Protected Member Functions inherited from oxERPType | |
_getSqlFieldName ($sField, $iLanguage=0, $iShopID=1) | |
_isAllowedToEdit ($iShopId) | |
_directSqlCheckForDeletion ($sId) | |
_preSaveObject ($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 |
article type subclass
Definition at line 104 of file oxerptype_article.php.
oxERPType_Article::__construct | ( | ) |
class constructor
Reimplemented from oxERPType.
Definition at line 112 of file oxerptype_article.php.
|
protected |
post saving hook. can finish transactions if needed or ajust related data
oxBase | $oShopObject | shop object |
data | $aData | data to save |
Reimplemented from oxERPType.
Definition at line 151 of file oxerptype_article.php.
|
protected |
issued before saving an object. can modify aData for saving
oxBase | $oShopObject | shop object |
array | $aData | data to prepare |
bool | $blAllowCustomShopId | if allow custom shop id |
Reimplemented from oxERPType.
Definition at line 129 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.
oxBase | $oObj | loaded shop object |
array | $aData | fields to be written, null for default |
Exception | on now access |
Reimplemented from oxERPType.
Definition at line 172 of file oxerptype_article.php.