dolibarr  9.0.0
Public Member Functions | List of all members
vCard Class Reference

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="internet,pref")
 mise en forme de l'email 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...
 

Detailed Description

Class to buld vCard files.

Definition at line 85 of file vcard.class.php.

Member Function Documentation

◆ getFileName()

vCard::getFileName ( )

permet d'obtenir le nom de fichier

Returns
string Filename

Definition at line 329 of file vcard.class.php.

◆ getVCard()

vCard::getVCard ( )

permet d'obtenir une vcard

Returns
string

Definition at line 309 of file vcard.class.php.

◆ setAddress()

vCard::setAddress (   $postoffice = "",
  $extended = "",
  $street = "",
  $city = "",
  $region = "",
  $zip = "",
  $country = "",
  $type = "HOME;POSTAL" 
)

mise en forme de l'adresse

Parameters
string$postofficePostoffice
string$extendedExtended
string$streetStreet
string$cityCity
string$regionRegion
string$zipZip
string$countryCountry
string$typeType
Returns
void

Definition at line 177 of file vcard.class.php.

◆ setBirthday()

vCard::setBirthday (   $date)

mise en forme de l'anniversaire

Parameters
timestamp$dateDate
Returns
void

Definition at line 158 of file vcard.class.php.

◆ setEmail()

vCard::setEmail (   $address,
  $type = "internet,pref" 
)

mise en forme de l'email

Parameters
string$addressEMail
string$typeVcard type
Returns
void

Definition at line 225 of file vcard.class.php.

◆ setFormattedName()

vCard::setFormattedName (   $name)

mise en forme du nom formate

Parameters
string$nameName
Returns
void

Definition at line 130 of file vcard.class.php.

◆ setLabel()

vCard::setLabel (   $postoffice = "",
  $extended = "",
  $street = "",
  $city = "",
  $region = "",
  $zip = "",
  $country = "",
  $type = "HOME;POSTAL" 
)

mise en forme du label

Parameters
string$postofficePostoffice
string$extendedExtended
string$streetStreet
string$cityCity
string$regionRegion
string$zipZip
string$countryCountry
string$typeType
Returns
void

Definition at line 204 of file vcard.class.php.

◆ setName()

vCard::setName (   $family = "",
  $first = "",
  $additional = "",
  $prefix = "",
  $suffix = "" 
)

mise en forme du nom complet

Parameters
string$familyFamily
string$firstFirst
string$additionalAdditionnal
string$prefixPrefix
string$suffixSuffix
Returns
void

Definition at line 145 of file vcard.class.php.

◆ setNote()

vCard::setNote (   $note)

mise en forme de la note

Parameters
string$noteNote
Returns
void

Definition at line 236 of file vcard.class.php.

References encode().

◆ setOrg()

vCard::setOrg (   $org)

mise en forme de la societe

Parameters
string$orgOrg
Returns
void

Definition at line 259 of file vcard.class.php.

References encode().

◆ setPhoneNumber()

vCard::setPhoneNumber (   $number,
  $type = "" 
)

mise en forme du numero de telephone

Parameters
int$numbernumero de telephone
string$typeType
Returns
void

Definition at line 101 of file vcard.class.php.

◆ setPhoto()

vCard::setPhoto (   $type,
  $photo 
)

mise en forme de la photo warning NON TESTE !

Parameters
string$typeType
string$photoPhoto
Returns
void

Definition at line 118 of file vcard.class.php.

◆ setProdId()

vCard::setProdId (   $prodid)

mise en forme du logiciel generateur

Parameters
string$prodidProdid
Returns
void

Definition at line 271 of file vcard.class.php.

References encode().

◆ setTitle()

vCard::setTitle (   $title)

mise en forme de la fonction

Parameters
string$titleTitle
Returns
void

Definition at line 247 of file vcard.class.php.

◆ setUID()

vCard::setUID (   $uid)

mise en forme du logiciel generateur

Parameters
string$uidUid
Returns
void

Definition at line 283 of file vcard.class.php.

References encode().

◆ setURL()

vCard::setURL (   $url,
  $type = "" 
)

mise en forme de l'url

Parameters
string$urlURL
string$typeType
Returns
void

Definition at line 296 of file vcard.class.php.


The documentation for this class was generated from the following file: