Logical representation of a vcard-based address record Provides functions to parse and export vCard data format
| package |
Framework |
|---|---|
| subpackage |
Addressbook |
__construct( $vcard = null, $charset = RCUBE_CHARSET, $detect = false, $fieldmap = array())
array_filter( $arr, $values, $inverse = false) : array
arrayThe filtered array
charset_convert( $card, $force_charset = null)
If $force_charset is null, each member value that has a charset parameter will be converted
cleanup( $vcard) : string
stringCleaned vcard block
decode_value( $value, $encoding) : string
stringDecoded 8bit value
detect_encoding( $string) : string
stringDetected encoding
export( $folded = true)
extend_fieldmap( $map)
get_assoc() : array
arrayHash array with key-value pairs
get_type_index( $field) : integer
integerField index having $type set
import( $data) : array
arrayList of rcube_vcard objects
is_empty(mixed $value) : boolean
mixedAttribute value (string or array)
booleanTrue if the value is empty, False otherwise
load( $vcard, $charset = RCUBE_CHARSET, $detect = false)
reset( $fields = null)
rfc2425_fold( $val)
rfc2425_fold_callback( $matches)
set( $field, $value, $type = 'HOME')
set_raw( $tag, $value, $append = false)
vcard_decode( $vcard) : array
arrayRaw data structure
vcard_encode( $data) : string
stringvCard encoded string
vcard_quote( $s, $sep = ';') : string
stringJoined and quoted string
vcard_unquote( $s, $sep = ';') : array
arrayList with splited values
values_decoded :
raw :
fieldmap :
typemap :
phonetypemap :
addresstypemap :
immap :
business :
displayname :
surname :
firstname :
middlename :
nickname :
organization :
email :
eol :