3 require_once
'oxerptype.php';
20 $this->_sTableName =
'oxorderarticles';
21 $this->_sShopObjectName =
'oxorderarticle';
35 public function getSQL($sWhere, $iLanguage = 0, $iShopID = 1)
37 if (strstr($sWhere,
'where')) {
43 $sWhere .=
'oxordershopid = \'' . $iShopID .
'\'';
63 throw new Exception(oxERPBase::$ERROR_USER_NO_RIGHTS);
82 return "'1' as $sField";
102 $aPersVals = @unserialize($aData[
'OXPERSPARAM']);
103 if (!is_array($aPersVals)) {
105 $aPersVals = explode(
"|", $aData[
'OXPERSPARAM']);
106 $aData[
'OXPERSPARAM'] = serialize($aPersVals);
109 if (isset($aData[
'OXORDERSHOPID'])) {
110 $aData[
'OXORDERSHOPID'] =
'oxbaseshop';