22 if ( $soxId !=
"-1" && isset( $soxId)) {
24 $oOrder =
oxNew(
"oxorder" );
25 $oOrder->load( $soxId);
27 $this->_aViewData[
"edit"] = $oOrder;
30 $oCountryList =
oxNew(
"oxCountryList" );
33 $this->_aViewData[
"countrylist"] = $oCountryList;
35 return "order_address.tpl";
56 foreach ( $aData as $sName => $sValue ) {
59 if ( strpos( $sName, $sTypeToProcess ) !==
false ) {
65 if ( !in_array( $sName, $aIgnore ) && $sValue ) {
76 foreach ( $aFields as $sName ) {
98 $aParams[
'oxorder__oxshopid'] = $sShopID;
100 $oOrder =
oxNew(
"oxorder" );
101 if ( $soxId !=
"-1") {
102 $oOrder->load( $soxId );
104 $aParams[
'oxorder__oxid'] = null;
107 $aParams = $this->
_processAddress( $aParams,
"oxorder__oxdel", array(
"oxorder__oxdelsal" ) );
108 $oOrder->assign( $aParams );