3 require_once
'oxerptype.php';
22 $this->_sTableName =
'oxorderarticles';
23 $this->_sShopObjectName =
'oxorderarticle';
37 public function getSQL($sWhere, $iLanguage = 0, $iShopID = 1)
39 if (strstr($sWhere,
'where')) {
45 $sWhere .=
'oxordershopid = \'' . $iShopID .
'\'';
65 throw new Exception(oxERPBase::$ERROR_USER_NO_RIGHTS);
84 return "'1' as $sField";
104 $aPersVals = @unserialize($aData[
'OXPERSPARAM']);
105 if (!is_array($aPersVals)) {
107 $aPersVals = explode(
"|", $aData[
'OXPERSPARAM']);
108 $aData[
'OXPERSPARAM'] = serialize($aPersVals);
111 if (isset($aData[
'OXORDERSHOPID'])) {
112 $aData[
'OXORDERSHOPID'] =
'oxbaseshop';