dolibarr 21.0.0-alpha
vcard.class.php File Reference

Class to manage vCard files. More...

Go to the source code of this file.

Classes

class  vCard
 Class to build vCard files. More...
 

Functions

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

Detailed Description

Class to manage vCard files.

Definition in file vcard.class.php.

Function Documentation

◆ dol_quoted_printable_encode()

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 48 of file vcard.class.php.

Referenced by encode().

◆ encode()

encode ( $string)

Encode a string for vCard.

Parameters
string$stringString to encode
Returns
string String encoded

Definition at line 34 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\setProdId(), vCard\setTitle(), and vCard\setUID().