1 <?php
2
3 namespace rpf\api\module;
4 use rpf\api\apiModule;
5 use rpf\system\module\exception;
6
7 8 9 10 11
12 class bbCustomer_saveAdress extends apiModule
13 {
14 protected $rpcMethod = 'bbCustomer::readAdress';
15
16 17 18 19 20 21 22 23
24 public function setCtid($ctid)
25 {
26 throw new exception(__METHOD__.' is not implemented yet');
27 }
28
29 30 31 32 33 34
35 public function setTyp($typ)
36 {
37 return $this->addParam('typ', $typ);
38 }
39
40 41 42 43 44 45
46 public function addAdress1($adress1)
47 {
48 return $this->addParam('adress_1', (string) $adress1);
49 }
50 }