extends |
Hm_Card_Parse |
|---|
Class for parsing vCard data
| Methods | ||||
|---|---|---|---|---|
protected
|
parse_n(array $vals): array
Parse the name field
Parse the name field Parameters
|
# | ||
protected
|
format_addr(array $vals): array
Convert an address from vcard to an internal struct
Convert an address from vcard to an internal struct Parameters
|
# | ||
protected
|
parse_adr(array $vals): array
Parse an address field value
Parse an address field value Parameters
|
# | ||
protected
|
format_vcard_n(): string
Format a name field for vcard output
Format a name field for vcard output |
# | ||
protected
|
format_vcard_adr(): array
Format addresses to vcard
Format addresses to vcard |
# | ||
| Methods inherited from Hm_Card_Parse |
|---|
__construct(), import(), import_parsed(), raw_data(), build_card(), parsed_data(), fld_val(), format_vcard_generic(), build_vcard_params(), combine(), vcard_format() |
| Methods used from Hm_Card_Line_Parse |
|---|
split_value() |
| Properties | |||
|---|---|---|---|
protected
|
|
$format = 'vCard'
|
# |
protected
|
|
$raw_card = ''
|
# |
protected
|
|
$data = []
|
# |
protected
|
|
$parameters = [
'TYPE',
'PREF',
'LABEL',
'VALUE',
'LANGUAGE',
'MEDIATYPE',
'ALTID',
'PID',
'CALSCALE',
'SORT-AS',
'GEO',
'TZ',
]
|
# |
protected
|
|
$properties = [
'BEGIN',
'VERSION',
'END',
'FN',
'N',
'KIND',
'BDAY',
'ANNIVERSARY',
'GENDER',
'PRODID',
'REV',
'UID',
'SOURCE',
'XML',
'NICKNAME',
'PROTO',
'ADR',
'TEL',
'EMAIL',
'IMPP',
'LANG',
'TZ',
'GEO',
'TITLE',
'ROLE',
'LOGO',
'ORG',
'MEMBER',
'RELATED',
'CATEGORIES',
'NOTE',
'SOUND',
'CLIENTPIDMAP',
'PHOTO',
'URL',
'KEY',
'FBURL',
'CALADRURI',
'CALURI',
]
|
# |
| Properties inherited from Hm_Card_Parse |
|---|
$version, |