$business
$business
Logical representation of a vcard-based address record Provides functions to parse and export vCard data format
__construct(string $vcard = null, string $charset = RCUBE_CHARSET, bool $detect = false, array $fieldmap = []) : mixed
Constructor
| string | $vcard | vCard content |
| string | $charset | Charset of string values |
| bool | $detect | True if loading a 'foreign' vcard and extra heuristics for charset detection is required |
| array | $fieldmap | Fields mapping definition |
load(string $vcard, string $charset = RCUBE_CHARSET, bool $detect = false) : mixed
Load record from (internal, unfolded) vcard 3.0 format
| string | $vcard | vCard string to parse |
| string | $charset | Charset of string values |
| bool | $detect | True if loading a 'foreign' vcard and extra heuristics for charset detection is required |
set_raw(string $tag, array $value, bool $append = false) : mixed
Setter for individual vcard properties
| string | $tag | VCard tag name |
| array | $value | Value-set of this vcard property |
| bool | $append | Set to true if the value-set should be appended instead of replacing any existing value-set |