dolibarr  7.0.0-beta
Classes | Functions
vcard.class.php File Reference

Class to manage vCard files. More...

Go to the source code of this file.

Classes

class  vCard
 Class to buld vCard files. More...
 

Functions

 encode ($string)
 Encode a string for vCard. More...
 
 dol_quoted_printable_encode ($input, $line_max=76)
 Taken from php documentation comments No more used. More...
 

Detailed Description

Class to manage vCard files.

Definition in file vcard.class.php.

Function Documentation

dol_quoted_printable_encode (   $input,
  $line_max = 76 
)

Taken from php documentation comments No more used.

Parameters
string$inputString
int$line_maxMax length of lines
Returns
string Encoded string

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

Referenced by encode().

encode (   $string)

Encode a string for vCard.

Parameters
string$stringString to encode
Returns
string String encoded

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

References dol_quoted_printable_encode().

Referenced by vCard\setAddress(), vCard\setFormattedName(), vCard\setLabel(), vCard\setName(), vCard\setNote(), vCard\setOrg(), vCard\setPhoneNumber(), vCard\setProdId(), vCard\setTitle(), and vCard\setUID().