Return a reference to a new component.
public static newComponent ( string $type, Horde_Icalendar $container ) : object | ||
$type | string | The type of component to return |
$container | Horde_Icalendar | A container that this component will be associated with. |
return | object | Reference to a Horde_Icalendar_* object as specified. |