Lines Matching refs:address
52 public function add($address, $name="", $where="to") argument
54 if ($address instanceof Swift_Address)
56 $address_str = trim(strtolower($address->getAddress()));
59 elseif (is_array($address))
61 foreach ($address as $a) $this->add($a, $name, $where);
66 $address_str = (string) $address;
68 $address = new Swift_Address($address_str, $name);
74 $container[$address_str] = $address;
82 public function remove($address, $where="to") argument
84 if ($address instanceof Swift_Address)
86 $key = trim(strtolower($address->getAddress()));
88 else $key = trim(strtolower((string) $address));
128 public function addTo($address, $name=null) argument
130 $this->add($address, $name, "to");
145 public function removeTo($address) argument
147 $this->remove($address, "to");
162 public function addCc($address, $name=null) argument
164 $this->add($address, $name, "cc");
179 public function removeCc($address) argument
181 $this->remove($address, "cc");
196 public function addBcc($address, $name=null) argument
198 $this->add($address, $name, "bcc");
213 public function removeBcc($address) argument
215 $this->remove($address, "bcc");