1 | <?php |
||
20 | class Contact extends Create |
||
21 | { |
||
22 | use ContactTrait; |
||
23 | |||
24 | public function setId($id) |
||
28 | |||
29 | public function setName($name) |
||
33 | |||
34 | public function setOrganization($org) |
||
38 | |||
39 | public function addStreet($street) |
||
43 | |||
44 | public function setCity($city) |
||
48 | |||
49 | public function setProvince($sp) |
||
53 | |||
54 | public function setPostalCode($pc) |
||
58 | |||
59 | public function setCountryCode($cc) |
||
63 | |||
64 | public function setVoice($voice, $extension = null) |
||
65 | { |
||
66 | $this->appendVoice('contact:voice', $voice, $extension); |
||
67 | } |
||
68 | |||
69 | public function setFax($fax, $extension = null) |
||
70 | { |
||
71 | $this->appendFax('contact:fax', $fax, $extension); |
||
72 | } |
||
73 | |||
74 | public function setEmail($email) |
||
78 | |||
79 | public function setAuthInfo($pw = null) |
||
83 | |||
84 | public function addDisclose($value, $flag = 0) |
||
88 | } |
||
89 |