Свойство | Тип | Описание | |
---|---|---|---|
$charset | string | Default Charset |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
escape ( string $text ) : string | Escape newline characters according to RFC2425 section 5.8.4. | |
fold ( string $text ) : mixed | Fold a line according to RFC2425 section 5.8.1. | |
getUserAgent ( ) : string | Returns the browser user agent string. | |
shouldAttachmentBeCal ( ) : boolean | Checks if we should return vcard in cal wrapper |
Метод | Описание | |
---|---|---|
addMedia ( string $property, string $url, boolean $include = true, $element ) | Add a photo or logo (depending on property name) | |
decode ( string $value ) : string | Decode | |
setProperty ( string $element, string $key, string $value ) : void | Set property |
public addAddress ( $name = '', $extended = '', $street = '', $city = '', $region = '', $zip = '', $country = '', $type = 'WORK;POSTAL' ) |
public addBirthday ( string $date ) | ||
$date | string | Format is YYYY-MM-DD |
public addJobtitle ( string $jobtitle ) | ||
$jobtitle | string | The jobtitle for the person. |
public addName ( $lastName = '', $firstName = '', $additional = '', $prefix = '', $suffix = '' ) |
public addPhoneNumber ( string $number, $type = '' ) | ||
$number | string |
public buildVCalendar ( ) : string | ||
Результат | string |
public getCharsetString ( ) : string | ||
Результат | string |
public getContentType ( ) : string | ||
Результат | string |
public getFileExtension ( ) : string | ||
Результат | string |
public getHeaders ( boolean $asAssociative ) : array | ||
$asAssociative | boolean | |
Результат | array |
protected getUserAgent ( ) : string | ||
Результат | string |
public hasProperty ( string $key ) : boolean | ||
$key | string | |
Результат | boolean |
public setCharset ( mixed $charset ) : void | ||
$charset | mixed | |
Результат | void |
protected shouldAttachmentBeCal ( ) : boolean | ||
Результат | boolean |