dolibarr
x.y.z
|
Class to buld vCard files. More...
Public Member Functions | |
setPhoneNumber ($number, $type="") | |
mise en forme du numero de telephone More... | |
setPhoto ($type, $photo) | |
mise en forme de la photo warning NON TESTE ! More... | |
setFormattedName ($name) | |
mise en forme du nom formate More... | |
setName ($family="", $first="", $additional="", $prefix="", $suffix="") | |
mise en forme du nom complet More... | |
setBirthday ($date) | |
mise en forme de l'anniversaire More... | |
setAddress ($postoffice="", $extended="", $street="", $city="", $region="", $zip="", $country="", $type="HOME;POSTAL") | |
mise en forme de l'adresse More... | |
setLabel ($postoffice="", $extended="", $street="", $city="", $region="", $zip="", $country="", $type="HOME;POSTAL") | |
mise en forme du label More... | |
setEmail ($address, $type="TYPE=INTERNET;PREF") | |
Add a e-mail address to this vCard. More... | |
setNote ($note) | |
mise en forme de la note More... | |
setTitle ($title) | |
mise en forme de la fonction More... | |
setOrg ($org) | |
mise en forme de la societe More... | |
setProdId ($prodid) | |
mise en forme du logiciel generateur More... | |
setUID ($uid) | |
mise en forme du logiciel generateur More... | |
setURL ($url, $type="") | |
mise en forme de l'url More... | |
getVCard () | |
permet d'obtenir une vcard More... | |
getFileName () | |
permet d'obtenir le nom de fichier More... | |
Class to buld vCard files.
Definition at line 88 of file vcard.class.php.
vCard::getFileName | ( | ) |
permet d'obtenir le nom de fichier
Definition at line 365 of file vcard.class.php.
vCard::getVCard | ( | ) |
vCard::setAddress | ( | $postoffice = "" , |
|
$extended = "" , |
|||
$street = "" , |
|||
$city = "" , |
|||
$region = "" , |
|||
$zip = "" , |
|||
$country = "" , |
|||
$type = "HOME;POSTAL" |
|||
) |
mise en forme de l'adresse
string | $postoffice | Postoffice |
string | $extended | Extended |
string | $street | Street |
string | $city | City |
string | $region | Region |
string | $zip | Zip |
string | $country | Country |
string | $type | Type |
Definition at line 193 of file vcard.class.php.
vCard::setBirthday | ( | $date | ) |
mise en forme de l'anniversaire
integer | $date | Date |
Definition at line 174 of file vcard.class.php.
vCard::setEmail | ( | $address, | |
$type = "TYPE=INTERNET;PREF" |
|||
) |
Add a e-mail address to this vCard.
string | $address | E-mail address |
string | $type | (optional) The type of the e-mail (typical "PREF;INTERNET" or "INTERNET") |
Definition at line 256 of file vcard.class.php.
vCard::setFormattedName | ( | $name | ) |
mise en forme du nom formate
string | $name | Name |
Definition at line 144 of file vcard.class.php.
vCard::setLabel | ( | $postoffice = "" , |
|
$extended = "" , |
|||
$street = "" , |
|||
$city = "" , |
|||
$region = "" , |
|||
$zip = "" , |
|||
$country = "" , |
|||
$type = "HOME;POSTAL" |
|||
) |
mise en forme du label
string | $postoffice | Postoffice |
string | $extended | Extended |
string | $street | Street |
string | $city | City |
string | $region | Region |
string | $zip | Zip |
string | $country | Country |
string | $type | Type |
Definition at line 221 of file vcard.class.php.
vCard::setName | ( | $family = "" , |
|
$first = "" , |
|||
$additional = "" , |
|||
$prefix = "" , |
|||
$suffix = "" |
|||
) |
mise en forme du nom complet
string | $family | Family name |
string | $first | First name |
string | $additional | Additional (e.g. second name, nick name) |
string | $prefix | Prefix (e.g. "Mr.", "Ms.", "Prof.") |
string | $suffix | Suffix (e.g. "sen." for senior, "jun." for junior) |
Definition at line 159 of file vcard.class.php.
vCard::setNote | ( | $note | ) |
mise en forme de la note
string | $note | Note |
Definition at line 271 of file vcard.class.php.
vCard::setOrg | ( | $org | ) |
mise en forme de la societe
string | $org | Org |
Definition at line 294 of file vcard.class.php.
References encode().
vCard::setPhoneNumber | ( | $number, | |
$type = "" |
|||
) |
mise en forme du numero de telephone
int | $number | numero de telephone |
string | $type | Type |
Definition at line 113 of file vcard.class.php.
vCard::setPhoto | ( | $type, | |
$photo | |||
) |
mise en forme de la photo warning NON TESTE !
string | $type | Type |
string | $photo | Photo |
Definition at line 132 of file vcard.class.php.
vCard::setProdId | ( | $prodid | ) |
mise en forme du logiciel generateur
string | $prodid | Prodid |
Definition at line 306 of file vcard.class.php.
References encode().
vCard::setTitle | ( | $title | ) |
mise en forme de la fonction
string | $title | Title |
Definition at line 282 of file vcard.class.php.
vCard::setUID | ( | $uid | ) |
mise en forme du logiciel generateur
string | $uid | Uid |
Definition at line 318 of file vcard.class.php.
References encode().
vCard::setURL | ( | $url, | |
$type = "" |
|||
) |
mise en forme de l'url
string | $url | URL |
string | $type | Type |
Definition at line 331 of file vcard.class.php.