PHP Class Horde_Icalendar_Vcard, horde

Copyright 2003-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Karsten Fourmont ([email protected])
Inheritance: extends Horde_Icalendar
Datei anzeigen Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$type string The component type of this class.

Public Methods

Method Description
__construct ( $version = '2.1' ) Constructor.
exportvCalendar ( ) : TODO Unlike vevent and vtodo, a vcard is normally not enclosed in an iCalendar container. (BEGIN.
getBareEmail ( string $address ) : string Static function to make a given email address rfc822 compliant.
printableName ( ) : string Returns the contents of the "N" tag as a printable Name: i.e. converts:
setVersion ( $version ) Sets the version of this component.

Method Details

__construct() public method

Constructor.
public __construct ( $version = '2.1' )

exportvCalendar() public method

.END)
public exportvCalendar ( ) : TODO
return TODO

getBareEmail() static public method

Static function to make a given email address rfc822 compliant.
static public getBareEmail ( string $address ) : string
$address string An email address.
return string The RFC822-formatted email address.

printableName() public method

N:Duck;Dagobert;T;Professor;Sen. to "Professor Dagobert T Duck Sen"
public printableName ( ) : string
return string Full name of vcard "N" tag or null if no N tag.

setVersion() public method

Sets the version of this component.
public setVersion ( $version )

Property Details

$type public_oe property

The component type of this class.
public string $type
return string