PHP Class Horde_Kolab_Server_Object_Inetorgperson, horde

Copyright 2008-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.
Inheritance: extends Horde_Kolab_Server_Object_Organizationalperson
Show file Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$attributes array The attributes defined for this class.

Public Methods

Method Description
generateId ( array &$info ) : string | PEAR_Error Generates an ID for the given information.
getFilter ( ) : string Return the filter string to retrieve this object type.

Protected Methods

Method Description
getFnLn ( ) : string Get the name of this Object as "Firstname Lastname".
getHomePostalAddressHash ( ) : array Get home postal addresses as an array.
getLabeledUriHash ( ) : array Return a hash of URIs. The keys of the hash are the labels.
getLnFn ( ) : string Get the name of this Object as "Lastname, Firstname".
setHomePostalAddressHash ( string $key, array $attributes, &$info ) : null Store home postal addresses provided as array.
setLabeledUriHash ( string $key, array $attributes, &$info ) : null Store a hash of URIs. The keys of the hash are the labels.

Method Details

generateId() public method

Generates an ID for the given information.
public generateId ( array &$info ) : string | PEAR_Error
$info array The data of the object.
return string | PEAR_Error The ID.

getFilter() public static method

Return the filter string to retrieve this object type.
public static getFilter ( ) : string
return string The filter to retrieve this object type from the server database.

getFnLn() protected method

Get the name of this Object as "Firstname Lastname".
protected getFnLn ( ) : string
return string The name.

getHomePostalAddressHash() protected method

Get home postal addresses as an array.
protected getHomePostalAddressHash ( ) : array
return array The home addressses.

getLabeledUriHash() protected method

Return a hash of URIs. The keys of the hash are the labels.
protected getLabeledUriHash ( ) : array
return array The URIs.

getLnFn() protected method

Get the name of this Object as "Lastname, Firstname".
protected getLnFn ( ) : string
return string The name.

setHomePostalAddressHash() protected method

Store home postal addresses provided as array.
protected setHomePostalAddressHash ( string $key, array $attributes, &$info ) : null
$key string The attribute to collapse into.
$attributes array The attributes to collapse.
return null

setLabeledUriHash() protected method

Store a hash of URIs. The keys of the hash are the labels.
protected setLabeledUriHash ( string $key, array $attributes, &$info ) : null
$key string The attribute to collapse into.
$attributes array The attributes to collapse.
return null

Property Details

$attributes public static property

The attributes defined for this class.
public static array $attributes
return array