35 if (is_null($this->_oStateObject)) {
36 $this->_oStateObject =
oxNew(
'oxState');
50 $this->
init(
'oxaddress');
70 $sFirstName = $this->oxaddress__oxfname->value;
71 $sLastName = $this->oxaddress__oxlname->value;
72 $sStreet = $this->oxaddress__oxstreet->value;
73 $sStreetNr = $this->oxaddress__oxstreetnr->value;
74 $sCity = $this->oxaddress__oxcity->value;
78 if ($sFirstName || $sLastName) {
79 $sAddress = $sFirstName . ($sFirstName ?
" " :
"") .
"$sLastName, ";
81 $sAddress .=
"$sStreet $sStreetNr $sCity";
83 $sAddress = trim($sAddress);
117 return $this->oxaddress__oxstateid->value;
136 return $oState->getTitleById($sId);
154 $this->_blSelected =
true;
165 $sDelAddress .= $this->oxaddress__oxcompany;
166 $sDelAddress .= $this->oxaddress__oxfname;
167 $sDelAddress .= $this->oxaddress__oxlname;
168 $sDelAddress .= $this->oxaddress__oxstreet;
169 $sDelAddress .= $this->oxaddress__oxstreetnr;
170 $sDelAddress .= $this->oxaddress__oxaddinfo;
171 $sDelAddress .= $this->oxaddress__oxcity;
172 $sDelAddress .= $this->oxaddress__oxcountryid;
173 $sDelAddress .= $this->oxaddress__oxstateid;
174 $sDelAddress .= $this->oxaddress__oxzip;
175 $sDelAddress .= $this->oxaddress__oxfon;
176 $sDelAddress .= $this->oxaddress__oxfax;
177 $sDelAddress .= $this->oxaddress__oxsal;