Lines Matching +full:e +full:- +full:tel

22 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
39 $hex = array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F');
53 if ( ($dec == 32) && ($i == ($linlen - 1)) ) { // convert space at eol only
66 if ($j<count($lines)-1) $output .= $linebreak;
77 …CELL | PAGER | BBS | CAR | MODEM | ISDN | VIDEO or any senseful combination, e.g. "PREF;WORK;VOICE"
78 $key = "TEL";
80 $key.= ";ENCODING=UTF-8";
81 $this->properties[$key] = quoted_printable_encode($number);
86 $this->properties["PHOTO;TYPE=$type;ENCODING=BASE64"] = base64_encode($photo);
90 $this->properties["FN"] = quoted_printable_encode($name);
94 $this->properties["N"] = "$family;$first;$additional;$prefix;$suffix";
95 $this->filename = "$first-$family.vcf";
96 …if ($this->properties["FN"]=="") $this->setFormattedName(trim("$prefix $first $additional $family …
99 function setBirthday($date) { // $date format is YYYY-MM-DD
100 $this->properties["BDAY"] = $date;
104 …// $type may be DOM | INTL | POSTAL | PARCEL | HOME | WORK or any combination of these: e.g. "WORK…
107 $key.= ";ENCODING=UTF-8";
108 …$this->properties[$key] = encode($name).";".encode($extended).";".encode($street).";".encode($city…
110 if ($this->properties["LABEL;$type;ENCODING=UTF-8"] == "") {
111 //$this->setLabel($postoffice, $extended, $street, $city, $region, $zip, $country, $type);
125 $this->properties["LABEL;$type;ENCODING=UTF-8"] = quoted_printable_encode($label);
129 $this->properties["EMAIL;INTERNET"] = $address;
133 $this->properties["ORG"] = $company;
137 $this->properties["NOTE;ENCODING=UTF-8"] = quoted_printable_encode($note);
144 $this->properties[$key] = $url;
150 foreach($this->properties as $key => $value) {
153 $text.= "REV:".date("Y-m-d")."T".date("H:i:s")."Z\r\n";
160 return $this->filename;
172 $v->setName($_REQUEST['family-name'], $_REQUEST['given-name'], $_REQUEST['additional-name'], '');
173 $v->setEmail($_REQUEST['email']);
174 $v->setCompany($_REQUEST['org']);
175 $v->setURL($_REQUEST['website'], 'WORK');
176 $v->setBirthday($_REQUEST['bday']);
177 $v->setPhoneNumber($_REQUEST['home'], 'PREF;HOME;VOICE');
178 $v->setPhoneNumber($_REQUEST['cell'], 'CELL;VOICE');
179 $v->setPhoneNumber($_REQUEST['work'], 'WORK;VOICE');
180 $v->setPhoneNumber($_REQUEST['fax'], 'WORK;FAX');
181 $v->setAddress('', '', $_REQUEST['street-address'], $_REQUEST['locality'], '', $_REQUEST['postal-co…
184 $output = $v->getVCard();
185 $filename = $v->getFileName();
187 header('Content-Disposition: attachment; filename='.$filename);
188 header('Content-Length: '.strlen($output));
190 header('Content-Type: text/x-vCard; name='.$filename);