Completed
Push — master ( 25f46f...086650 )
by Aimeos
09:59
created
lib/mshoplib/src/MShop/Common/Item/Address/Base.php 1 patch
Spacing   +105 added lines, -105 removed lines patch added patch discarded remove patch
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
 	 */
77 77
 	public function getCompany()
78 78
 	{
79
-		if( isset( $this->values[$this->prefix . 'company'] ) ) {
80
-			return (string) $this->values[$this->prefix . 'company'];
79
+		if( isset( $this->values[$this->prefix.'company'] ) ) {
80
+			return (string) $this->values[$this->prefix.'company'];
81 81
 		}
82 82
 
83 83
 		return '';
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 	{
95 95
 		if( $company == $this->getCompany() ) { return $this; }
96 96
 
97
-		$this->values[$this->prefix . 'company'] = (string) $company;
97
+		$this->values[$this->prefix.'company'] = (string) $company;
98 98
 		$this->setModified();
99 99
 
100 100
 		return $this;
@@ -107,8 +107,8 @@  discard block
 block discarded – undo
107 107
 	 */
108 108
 	public function getVatID()
109 109
 	{
110
-		if( isset( $this->values[$this->prefix . 'vatid'] ) ) {
111
-			return (string) $this->values[$this->prefix . 'vatid'];
110
+		if( isset( $this->values[$this->prefix.'vatid'] ) ) {
111
+			return (string) $this->values[$this->prefix.'vatid'];
112 112
 		}
113 113
 
114 114
 		return '';
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 	{
126 126
 		if( $vatid == $this->getVatID() ) { return $this; }
127 127
 
128
-		$this->values[$this->prefix . 'vatid'] = (string) $vatid;
128
+		$this->values[$this->prefix.'vatid'] = (string) $vatid;
129 129
 		$this->setModified();
130 130
 
131 131
 		return $this;
@@ -139,8 +139,8 @@  discard block
 block discarded – undo
139 139
 	 */
140 140
 	public function getSalutation()
141 141
 	{
142
-		if( isset( $this->values[$this->prefix . 'salutation'] ) ) {
143
-			return (string) $this->values[$this->prefix . 'salutation'];
142
+		if( isset( $this->values[$this->prefix.'salutation'] ) ) {
143
+			return (string) $this->values[$this->prefix.'salutation'];
144 144
 		}
145 145
 
146 146
 		return \Aimeos\MShop\Common\Item\Address\Base::SALUTATION_UNKNOWN;
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
 
160 160
 		$this->checkSalutation( $salutation );
161 161
 
162
-		$this->values[$this->prefix . 'salutation'] = (string) $salutation;
162
+		$this->values[$this->prefix.'salutation'] = (string) $salutation;
163 163
 		$this->setModified();
164 164
 
165 165
 		return $this;
@@ -173,8 +173,8 @@  discard block
 block discarded – undo
173 173
 	 */
174 174
 	public function getTitle()
175 175
 	{
176
-		if( isset( $this->values[$this->prefix . 'title'] ) ) {
177
-			return (string) $this->values[$this->prefix . 'title'];
176
+		if( isset( $this->values[$this->prefix.'title'] ) ) {
177
+			return (string) $this->values[$this->prefix.'title'];
178 178
 		}
179 179
 
180 180
 		return '';
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
 	{
192 192
 		if( $title == $this->getTitle() ) { return $this; }
193 193
 
194
-		$this->values[$this->prefix . 'title'] = (string) $title;
194
+		$this->values[$this->prefix.'title'] = (string) $title;
195 195
 		$this->setModified();
196 196
 
197 197
 		return $this;
@@ -205,8 +205,8 @@  discard block
 block discarded – undo
205 205
 	 */
206 206
 	public function getFirstname()
207 207
 	{
208
-		if( isset( $this->values[$this->prefix . 'firstname'] ) ) {
209
-			return (string) $this->values[$this->prefix . 'firstname'];
208
+		if( isset( $this->values[$this->prefix.'firstname'] ) ) {
209
+			return (string) $this->values[$this->prefix.'firstname'];
210 210
 		}
211 211
 
212 212
 		return '';
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
 	{
224 224
 		if( $firstname == $this->getFirstname() ) { return $this; }
225 225
 
226
-		$this->values[$this->prefix . 'firstname'] = (string) $firstname;
226
+		$this->values[$this->prefix.'firstname'] = (string) $firstname;
227 227
 		$this->setModified();
228 228
 
229 229
 		return $this;
@@ -237,8 +237,8 @@  discard block
 block discarded – undo
237 237
 	 */
238 238
 	public function getLastname()
239 239
 	{
240
-		if( isset( $this->values[$this->prefix . 'lastname'] ) ) {
241
-			return (string) $this->values[$this->prefix . 'lastname'];
240
+		if( isset( $this->values[$this->prefix.'lastname'] ) ) {
241
+			return (string) $this->values[$this->prefix.'lastname'];
242 242
 		}
243 243
 
244 244
 		return '';
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
 	{
256 256
 		if( $lastname == $this->getLastname() ) { return $this; }
257 257
 
258
-		$this->values[$this->prefix . 'lastname'] = (string) $lastname;
258
+		$this->values[$this->prefix.'lastname'] = (string) $lastname;
259 259
 		$this->setModified();
260 260
 
261 261
 		return $this;
@@ -269,8 +269,8 @@  discard block
 block discarded – undo
269 269
 	 */
270 270
 	public function getAddress1()
271 271
 	{
272
-		if( isset( $this->values[$this->prefix . 'address1'] ) ) {
273
-			return (string) $this->values[$this->prefix . 'address1'];
272
+		if( isset( $this->values[$this->prefix.'address1'] ) ) {
273
+			return (string) $this->values[$this->prefix.'address1'];
274 274
 		}
275 275
 
276 276
 		return '';
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
 	{
288 288
 		if( $address1 == $this->getAddress1() ) { return $this; }
289 289
 
290
-		$this->values[$this->prefix . 'address1'] = (string) $address1;
290
+		$this->values[$this->prefix.'address1'] = (string) $address1;
291 291
 		$this->setModified();
292 292
 
293 293
 		return $this;
@@ -301,8 +301,8 @@  discard block
 block discarded – undo
301 301
 	 */
302 302
 	public function getAddress2()
303 303
 	{
304
-		if( isset( $this->values[$this->prefix . 'address2'] ) ) {
305
-			return (string) $this->values[$this->prefix . 'address2'];
304
+		if( isset( $this->values[$this->prefix.'address2'] ) ) {
305
+			return (string) $this->values[$this->prefix.'address2'];
306 306
 		}
307 307
 
308 308
 		return '';
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
 	{
320 320
 		if( $address2 == $this->getAddress2() ) { return $this; }
321 321
 
322
-		$this->values[$this->prefix . 'address2'] = (string) $address2;
322
+		$this->values[$this->prefix.'address2'] = (string) $address2;
323 323
 		$this->setModified();
324 324
 
325 325
 		return $this;
@@ -333,8 +333,8 @@  discard block
 block discarded – undo
333 333
 	 */
334 334
 	public function getAddress3()
335 335
 	{
336
-		if( isset( $this->values[$this->prefix . 'address3'] ) ) {
337
-			return (string) $this->values[$this->prefix . 'address3'];
336
+		if( isset( $this->values[$this->prefix.'address3'] ) ) {
337
+			return (string) $this->values[$this->prefix.'address3'];
338 338
 		}
339 339
 
340 340
 		return '';
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
 	{
352 352
 		if( $address3 == $this->getAddress3() ) { return $this; }
353 353
 
354
-		$this->values[$this->prefix . 'address3'] = (string) $address3;
354
+		$this->values[$this->prefix.'address3'] = (string) $address3;
355 355
 		$this->setModified();
356 356
 
357 357
 		return $this;
@@ -365,8 +365,8 @@  discard block
 block discarded – undo
365 365
 	 */
366 366
 	public function getPostal()
367 367
 	{
368
-		if( isset( $this->values[$this->prefix . 'postal'] ) ) {
369
-			return (string) $this->values[$this->prefix . 'postal'];
368
+		if( isset( $this->values[$this->prefix.'postal'] ) ) {
369
+			return (string) $this->values[$this->prefix.'postal'];
370 370
 		}
371 371
 
372 372
 		return '';
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
 	{
384 384
 		if( $postal == $this->getPostal() ) { return $this; }
385 385
 
386
-		$this->values[$this->prefix . 'postal'] = (string) $postal;
386
+		$this->values[$this->prefix.'postal'] = (string) $postal;
387 387
 		$this->setModified();
388 388
 
389 389
 		return $this;
@@ -397,8 +397,8 @@  discard block
 block discarded – undo
397 397
 	 */
398 398
 	public function getCity()
399 399
 	{
400
-		if( isset( $this->values[$this->prefix . 'city'] ) ) {
401
-			return (string) $this->values[$this->prefix . 'city'];
400
+		if( isset( $this->values[$this->prefix.'city'] ) ) {
401
+			return (string) $this->values[$this->prefix.'city'];
402 402
 		}
403 403
 
404 404
 		return '';
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
 	{
416 416
 		if( $city == $this->getCity() ) { return $this; }
417 417
 
418
-		$this->values[$this->prefix . 'city'] = (string) $city;
418
+		$this->values[$this->prefix.'city'] = (string) $city;
419 419
 		$this->setModified();
420 420
 
421 421
 		return $this;
@@ -429,8 +429,8 @@  discard block
 block discarded – undo
429 429
 	 */
430 430
 	public function getState()
431 431
 	{
432
-		if( isset( $this->values[$this->prefix . 'state'] ) ) {
433
-			return (string) $this->values[$this->prefix . 'state'];
432
+		if( isset( $this->values[$this->prefix.'state'] ) ) {
433
+			return (string) $this->values[$this->prefix.'state'];
434 434
 		}
435 435
 
436 436
 		return '';
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
 	{
448 448
 		if( $state == $this->getState() ) { return $this; }
449 449
 
450
-		$this->values[$this->prefix . 'state'] = (string) $state;
450
+		$this->values[$this->prefix.'state'] = (string) $state;
451 451
 		$this->setModified();
452 452
 
453 453
 		return $this;
@@ -461,8 +461,8 @@  discard block
 block discarded – undo
461 461
 	 */
462 462
 	public function getCountryId()
463 463
 	{
464
-		if( isset( $this->values[$this->prefix . 'countryid'] ) ) {
465
-			return (string) $this->values[$this->prefix . 'countryid'];
464
+		if( isset( $this->values[$this->prefix.'countryid'] ) ) {
465
+			return (string) $this->values[$this->prefix.'countryid'];
466 466
 		}
467 467
 
468 468
 		return null;
@@ -479,7 +479,7 @@  discard block
 block discarded – undo
479 479
 	{
480 480
 		if( $countryid === $this->getCountryId() ) { return $this; }
481 481
 
482
-		$this->values[$this->prefix . 'countryid'] = strtoupper( (string) $countryid );
482
+		$this->values[$this->prefix.'countryid'] = strtoupper( (string) $countryid );
483 483
 		$this->setModified();
484 484
 
485 485
 		return $this;
@@ -493,8 +493,8 @@  discard block
 block discarded – undo
493 493
 	 */
494 494
 	public function getLanguageId()
495 495
 	{
496
-		if( isset( $this->values[$this->prefix . 'languageid'] ) ) {
497
-			return (string) $this->values[$this->prefix . 'languageid'];
496
+		if( isset( $this->values[$this->prefix.'languageid'] ) ) {
497
+			return (string) $this->values[$this->prefix.'languageid'];
498 498
 		}
499 499
 
500 500
 		return null;
@@ -511,7 +511,7 @@  discard block
 block discarded – undo
511 511
 	{
512 512
 		if( $langid === $this->getLanguageId() ) { return $this; }
513 513
 
514
-		$this->values[$this->prefix . 'languageid'] = (string) $langid;
514
+		$this->values[$this->prefix.'languageid'] = (string) $langid;
515 515
 		$this->setModified();
516 516
 
517 517
 		return $this;
@@ -525,8 +525,8 @@  discard block
 block discarded – undo
525 525
 	 */
526 526
 	public function getTelephone()
527 527
 	{
528
-		if( isset( $this->values[$this->prefix . 'telephone'] ) ) {
529
-			return (string) $this->values[$this->prefix . 'telephone'];
528
+		if( isset( $this->values[$this->prefix.'telephone'] ) ) {
529
+			return (string) $this->values[$this->prefix.'telephone'];
530 530
 		}
531 531
 
532 532
 		return '';
@@ -543,7 +543,7 @@  discard block
 block discarded – undo
543 543
 	{
544 544
 		if( $telephone == $this->getTelephone() ) { return $this; }
545 545
 
546
-		$this->values[$this->prefix . 'telephone'] = (string) $telephone;
546
+		$this->values[$this->prefix.'telephone'] = (string) $telephone;
547 547
 		$this->setModified();
548 548
 
549 549
 		return $this;
@@ -557,8 +557,8 @@  discard block
 block discarded – undo
557 557
 	 */
558 558
 	public function getEmail()
559 559
 	{
560
-		if( isset( $this->values[$this->prefix . 'email'] ) ) {
561
-			return (string) $this->values[$this->prefix . 'email'];
560
+		if( isset( $this->values[$this->prefix.'email'] ) ) {
561
+			return (string) $this->values[$this->prefix.'email'];
562 562
 		}
563 563
 
564 564
 		return '';
@@ -579,7 +579,7 @@  discard block
 block discarded – undo
579 579
 			throw new \Aimeos\MShop\Exception( sprintf( 'Invalid characters in email address: "%1$s"', $email ) );
580 580
 		}
581 581
 
582
-		$this->values[$this->prefix . 'email'] = (string) $email;
582
+		$this->values[$this->prefix.'email'] = (string) $email;
583 583
 		$this->setModified();
584 584
 
585 585
 		return $this;
@@ -593,8 +593,8 @@  discard block
 block discarded – undo
593 593
 	 */
594 594
 	public function getTelefax()
595 595
 	{
596
-		if( isset( $this->values[$this->prefix . 'telefax'] ) ) {
597
-			return (string) $this->values[$this->prefix . 'telefax'];
596
+		if( isset( $this->values[$this->prefix.'telefax'] ) ) {
597
+			return (string) $this->values[$this->prefix.'telefax'];
598 598
 		}
599 599
 
600 600
 		return '';
@@ -611,7 +611,7 @@  discard block
 block discarded – undo
611 611
 	{
612 612
 		if( $telefax == $this->getTelefax() ) { return $this; }
613 613
 
614
-		$this->values[$this->prefix . 'telefax'] = (string) $telefax;
614
+		$this->values[$this->prefix.'telefax'] = (string) $telefax;
615 615
 		$this->setModified();
616 616
 
617 617
 		return $this;
@@ -625,8 +625,8 @@  discard block
 block discarded – undo
625 625
 	 */
626 626
 	public function getWebsite()
627 627
 	{
628
-		if( isset( $this->values[$this->prefix . 'website'] ) ) {
629
-			return (string) $this->values[$this->prefix . 'website'];
628
+		if( isset( $this->values[$this->prefix.'website'] ) ) {
629
+			return (string) $this->values[$this->prefix.'website'];
630 630
 		}
631 631
 
632 632
 		return '';
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
649 649
 			throw new \Aimeos\MShop\Exception( sprintf( 'Invalid web site URL "%1$s"', $website ) );
650 650
 		}
651 651
 
652
-		$this->values[$this->prefix . 'website'] = (string) $website;
652
+		$this->values[$this->prefix.'website'] = (string) $website;
653 653
 		$this->setModified();
654 654
 
655 655
 		return $this;
@@ -663,8 +663,8 @@  discard block
 block discarded – undo
663 663
 	 */
664 664
 	public function getLongitude()
665 665
 	{
666
-		if( isset( $this->values[$this->prefix . 'longitude'] ) ) {
667
-			return (string) $this->values[$this->prefix . 'longitude'];
666
+		if( isset( $this->values[$this->prefix.'longitude'] ) ) {
667
+			return (string) $this->values[$this->prefix.'longitude'];
668 668
 		}
669 669
 
670 670
 		return null;
@@ -682,7 +682,7 @@  discard block
 block discarded – undo
682 682
 		if( $value == '' ) { $value = null; }
683 683
 		if( $value === $this->getLongitude() ) { return $this; }
684 684
 
685
-		$this->values[$this->prefix . 'longitude'] = $value;
685
+		$this->values[$this->prefix.'longitude'] = $value;
686 686
 		$this->setModified();
687 687
 
688 688
 		return $this;
@@ -696,8 +696,8 @@  discard block
 block discarded – undo
696 696
 	 */
697 697
 	public function getLatitude()
698 698
 	{
699
-		if( isset( $this->values[$this->prefix . 'latitude'] ) ) {
700
-			return (string) $this->values[$this->prefix . 'latitude'];
699
+		if( isset( $this->values[$this->prefix.'latitude'] ) ) {
700
+			return (string) $this->values[$this->prefix.'latitude'];
701 701
 		}
702 702
 
703 703
 		return null;
@@ -715,7 +715,7 @@  discard block
 block discarded – undo
715 715
 		if( $value == '' ) { $value = null; }
716 716
 		if( $value === $this->getLatitude() ) { return $this; }
717 717
 
718
-		$this->values[$this->prefix . 'latitude'] = $value;
718
+		$this->values[$this->prefix.'latitude'] = $value;
719 719
 		$this->setModified();
720 720
 
721 721
 		return $this;
@@ -729,8 +729,8 @@  discard block
 block discarded – undo
729 729
 	 */
730 730
 	public function getFlag()
731 731
 	{
732
-		if( isset( $this->values[$this->prefix . 'flag'] ) ) {
733
-			return (int) $this->values[$this->prefix . 'flag'];
732
+		if( isset( $this->values[$this->prefix.'flag'] ) ) {
733
+			return (int) $this->values[$this->prefix.'flag'];
734 734
 		}
735 735
 
736 736
 		return 0;
@@ -747,7 +747,7 @@  discard block
 block discarded – undo
747 747
 	{
748 748
 		if( $flag == $this->getFlag() ) { return $this; }
749 749
 
750
-		$this->values[$this->prefix . 'flag'] = (int) $flag;
750
+		$this->values[$this->prefix.'flag'] = (int) $flag;
751 751
 		$this->setModified();
752 752
 
753 753
 		return $this;
@@ -816,27 +816,27 @@  discard block
 block discarded – undo
816 816
 		{
817 817
 			switch( $key )
818 818
 			{
819
-				case $this->prefix . 'salutation': $this->setSalutation( $value ); break;
820
-				case $this->prefix . 'company': $this->setCompany( $value ); break;
821
-				case $this->prefix . 'vatid': $this->setVatID( $value ); break;
822
-				case $this->prefix . 'title': $this->setTitle( $value ); break;
823
-				case $this->prefix . 'firstname': $this->setFirstname( $value ); break;
824
-				case $this->prefix . 'lastname': $this->setLastname( $value ); break;
825
-				case $this->prefix . 'address1': $this->setAddress1( $value ); break;
826
-				case $this->prefix . 'address2': $this->setAddress2( $value ); break;
827
-				case $this->prefix . 'address3': $this->setAddress3( $value ); break;
828
-				case $this->prefix . 'postal': $this->setPostal( $value ); break;
829
-				case $this->prefix . 'city': $this->setCity( $value ); break;
830
-				case $this->prefix . 'state': $this->setState( $value ); break;
831
-				case $this->prefix . 'countryid': $this->setCountryId( $value ); break;
832
-				case $this->prefix . 'languageid': $this->setLanguageId( $value ); break;
833
-				case $this->prefix . 'telephone': $this->setTelephone( $value ); break;
834
-				case $this->prefix . 'telefax': $this->setTelefax( $value ); break;
835
-				case $this->prefix . 'email': $this->setEmail( $value ); break;
836
-				case $this->prefix . 'website': $this->setWebsite( $value ); break;
837
-				case $this->prefix . 'longitude': $this->setLongitude( $value ); break;
838
-				case $this->prefix . 'latitude': $this->setLatitude( $value ); break;
839
-				case $this->prefix . 'flag': $this->setFlag( $value ); break;
819
+				case $this->prefix.'salutation': $this->setSalutation( $value ); break;
820
+				case $this->prefix.'company': $this->setCompany( $value ); break;
821
+				case $this->prefix.'vatid': $this->setVatID( $value ); break;
822
+				case $this->prefix.'title': $this->setTitle( $value ); break;
823
+				case $this->prefix.'firstname': $this->setFirstname( $value ); break;
824
+				case $this->prefix.'lastname': $this->setLastname( $value ); break;
825
+				case $this->prefix.'address1': $this->setAddress1( $value ); break;
826
+				case $this->prefix.'address2': $this->setAddress2( $value ); break;
827
+				case $this->prefix.'address3': $this->setAddress3( $value ); break;
828
+				case $this->prefix.'postal': $this->setPostal( $value ); break;
829
+				case $this->prefix.'city': $this->setCity( $value ); break;
830
+				case $this->prefix.'state': $this->setState( $value ); break;
831
+				case $this->prefix.'countryid': $this->setCountryId( $value ); break;
832
+				case $this->prefix.'languageid': $this->setLanguageId( $value ); break;
833
+				case $this->prefix.'telephone': $this->setTelephone( $value ); break;
834
+				case $this->prefix.'telefax': $this->setTelefax( $value ); break;
835
+				case $this->prefix.'email': $this->setEmail( $value ); break;
836
+				case $this->prefix.'website': $this->setWebsite( $value ); break;
837
+				case $this->prefix.'longitude': $this->setLongitude( $value ); break;
838
+				case $this->prefix.'latitude': $this->setLatitude( $value ); break;
839
+				case $this->prefix.'flag': $this->setFlag( $value ); break;
840 840
 				default: $unknown[$key] = $value;
841 841
 			}
842 842
 		}
@@ -854,27 +854,27 @@  discard block
 block discarded – undo
854 854
 	{
855 855
 		$list = parent::toArray();
856 856
 
857
-		$list[$this->prefix . 'salutation'] = $this->getSalutation();
858
-		$list[$this->prefix . 'company'] = $this->getCompany();
859
-		$list[$this->prefix . 'vatid'] = $this->getVatID();
860
-		$list[$this->prefix . 'title'] = $this->getTitle();
861
-		$list[$this->prefix . 'firstname'] = $this->getFirstname();
862
-		$list[$this->prefix . 'lastname'] = $this->getLastname();
863
-		$list[$this->prefix . 'address1'] = $this->getAddress1();
864
-		$list[$this->prefix . 'address2'] = $this->getAddress2();
865
-		$list[$this->prefix . 'address3'] = $this->getAddress3();
866
-		$list[$this->prefix . 'postal'] = $this->getPostal();
867
-		$list[$this->prefix . 'city'] = $this->getCity();
868
-		$list[$this->prefix . 'state'] = $this->getState();
869
-		$list[$this->prefix . 'countryid'] = $this->getCountryId();
870
-		$list[$this->prefix . 'languageid'] = $this->getLanguageId();
871
-		$list[$this->prefix . 'telephone'] = $this->getTelephone();
872
-		$list[$this->prefix . 'telefax'] = $this->getTelefax();
873
-		$list[$this->prefix . 'email'] = $this->getEmail();
874
-		$list[$this->prefix . 'website'] = $this->getWebsite();
875
-		$list[$this->prefix . 'longitude'] = $this->getLongitude();
876
-		$list[$this->prefix . 'latitude'] = $this->getLatitude();
877
-		$list[$this->prefix . 'flag'] = $this->getFlag();
857
+		$list[$this->prefix.'salutation'] = $this->getSalutation();
858
+		$list[$this->prefix.'company'] = $this->getCompany();
859
+		$list[$this->prefix.'vatid'] = $this->getVatID();
860
+		$list[$this->prefix.'title'] = $this->getTitle();
861
+		$list[$this->prefix.'firstname'] = $this->getFirstname();
862
+		$list[$this->prefix.'lastname'] = $this->getLastname();
863
+		$list[$this->prefix.'address1'] = $this->getAddress1();
864
+		$list[$this->prefix.'address2'] = $this->getAddress2();
865
+		$list[$this->prefix.'address3'] = $this->getAddress3();
866
+		$list[$this->prefix.'postal'] = $this->getPostal();
867
+		$list[$this->prefix.'city'] = $this->getCity();
868
+		$list[$this->prefix.'state'] = $this->getState();
869
+		$list[$this->prefix.'countryid'] = $this->getCountryId();
870
+		$list[$this->prefix.'languageid'] = $this->getLanguageId();
871
+		$list[$this->prefix.'telephone'] = $this->getTelephone();
872
+		$list[$this->prefix.'telefax'] = $this->getTelefax();
873
+		$list[$this->prefix.'email'] = $this->getEmail();
874
+		$list[$this->prefix.'website'] = $this->getWebsite();
875
+		$list[$this->prefix.'longitude'] = $this->getLongitude();
876
+		$list[$this->prefix.'latitude'] = $this->getLatitude();
877
+		$list[$this->prefix.'flag'] = $this->getFlag();
878 878
 
879 879
 		return $list;
880 880
 	}
Please login to merge, or discard this patch.