Method |
Description |
|
addAddress ( $name = '', $extended = '', $street = '', $city = '', $region = '', $zip = '', $country = '', $type = 'WORK;POSTAL' ) |
Add address |
|
addBirthday ( string $date ) |
Add birthday |
|
addCompany ( string $company ) |
Add company |
|
addEmail ( string $address, $type = '' ) |
Add email |
|
addJobtitle ( string $jobtitle ) |
Add jobtitle |
|
addLogo ( string $url, boolean $include = true ) |
Add Logo |
|
addName ( $lastName = '', $firstName = '', $additional = '', $prefix = '', $suffix = '' ) |
Add name |
|
addNote ( string $note ) |
Add note |
|
addPhoneNumber ( string $number, $type = '' ) |
Add phone number |
|
addPhoto ( string $url, boolean $include = true ) |
Add Photo |
|
addRole ( string $role ) |
Add role |
|
addURL ( string $url, $type = '' ) |
Add URL |
|
buildVCalendar ( ) : string |
Build VCalender (.ics) - Safari (< iOS 8) can not open .vcf files, so we have build a workaround. |
|
buildVCard ( ) : string |
Build VCard (.vcf) |
|
download ( ) |
Download a vcard or vcal file to the browser. |
|
get ( ) : string |
Get output as string |
|
getCharset ( ) : string |
Get charset |
|
getCharsetString ( ) : string |
Get charset string |
|
getContentType ( ) : string |
Get content type |
|
getFileExtension ( ) : string |
Get file extension |
|
getFilename ( ) : string |
Get filename |
|
getHeaders ( boolean $asAssociative ) : array |
Get headers |
|
getOutput ( ) : string |
Get output as string
iOS devices (and safari < iOS 8 in particular) can not read .vcf (= vcard) files. |
|
getProperties ( ) : array |
Get properties |
|
hasProperty ( string $key ) : boolean |
Has property |
|
isIOS ( ) : boolean |
Is iOS - Check if the user is using an iOS-device |
|
isIOS7 ( ) : boolean |
Is iOS less than 7 (should cal wrapper be returned) |
|
save ( ) : void |
Save to a file |
|
setCharset ( mixed $charset ) : void |
Set charset |
|
setFilename ( mixed $value, boolean $overwrite = true, string $separator = '_' ) : void |
Set filename |
|