PHP Class Content_Users_Manager, horde

Author: Chuck Hagenbuch ([email protected])
Author: Michael Rubinsky ([email protected])
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_db Horde_Db_Adapter Database adapter
$_tables array Tables

Méthodes publiques

Méthode Description
__construct ( Horde_Db_Adapter $db )
ensureUsers ( array $users ) : array Ensure that an array of users exist in storage. Create any that don't, return user_ids for all.
toDriver ( $value )

Méthodes protégées

Méthode Description
_t ( string $tableType ) : string Shortcut for getting a table name.

Method Details

__construct() public méthode

public __construct ( Horde_Db_Adapter $db )
$db Horde_Db_Adapter

_t() protected méthode

Shortcut for getting a table name.
protected _t ( string $tableType ) : string
$tableType string
Résultat string Configured table name.

ensureUsers() public méthode

Ensure that an array of users exist in storage. Create any that don't, return user_ids for all.
public ensureUsers ( array $users ) : array
$users array An array of users. Values typed as an integer are assumed to already be an user_id.
Résultat array An array of user_ids.

toDriver() public méthode

public toDriver ( $value )

Property Details

$_db protected_oe property

Database adapter
protected Horde_Db_Adapter $_db
Résultat Horde_Db_Adapter

$_tables protected_oe property

Tables
protected array $_tables
Résultat array