PHP Class Horde_Kolab_Server_Object_Person, horde

Copyright 2009-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_Top
Show file Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$init_attributes array A structure to initialize the attribute structure for this class.

Public Methods

Method Description
generateId ( array &$info ) : string Generates an ID for the given information.
getFilter ( ) : string Return the filter string to retrieve this object type.
prepareObjectInformation ( array &$info ) : array Distill the server side object information to save.

Protected Methods

Method Description
hashPassword ( string $password ) : string Salt and hash the password.

Method Details

generateId() public method

Generates an ID for the given information.
public generateId ( array &$info ) : string
$info array The data of the object.
return string 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.

hashPassword() protected method

Salt and hash the password.
protected hashPassword ( string $password ) : string
$password string The password.
return string The salted hashed password.

prepareObjectInformation() public method

Distill the server side object information to save.
public prepareObjectInformation ( array &$info ) : array
$info array The information about the object.
return array The set of information.

Property Details

$init_attributes public static property

A structure to initialize the attribute structure for this class.
public static array $init_attributes
return array