public static factory ( mixed $type, string $uid, Horde_Kolab_Server_Composite $storage, array $data = null ) : Horde_Kolab_Server_Object | PEAR_Error | ||
$type | mixed | The type of the Horde_Kolab_Server_Object subclass to return. |
$uid | string | UID of the object |
$storage | Horde_Kolab_Server_Composite | A link to the Kolab_Server class handling read/write. |
$data | array | A possible array of data for the object |
return | Horde_Kolab_Server_Object | PEAR_Error | The newly created concrete Horde_Kolab_Server_Object instance. |