3 require_once
'oxerptype.php';
19 $this->_sTableName =
'oxorderarticles';
20 $this->_sShopObjectName =
'oxorderarticle';
34 public function getSQL( $sWhere, $iLanguage = 0, $iShopID = 1)
36 if ( strstr( $sWhere,
'where')) {
42 $sWhere .=
'oxordershopid = \''.$iShopID.
'\'';
62 throw new Exception( oxERPBase::$ERROR_USER_NO_RIGHTS);
81 return "'1' as $sField";
101 $aPersVals = @unserialize($aData[
'OXPERSPARAM']);
102 if (!is_array($aPersVals)) {
104 $aPersVals = explode(
"|", $aData[
'OXPERSPARAM']);
105 $aData[
'OXPERSPARAM'] = serialize($aPersVals);
108 if (isset($aData[
'OXORDERSHOPID'])) {
109 $aData[
'OXORDERSHOPID'] =
'oxbaseshop';