Property | Type | Description | |
---|---|---|---|
$_db | Horde_Db_Adapter | Handle for the current database connection. |
Method | Description | |
---|---|---|
__construct ( string $user, array $params = [] ) | Constructor. | |
get ( $scope_ob ) | ||
getCharset ( ) : string | Returns the charset of the DB backend. | |
listScopes ( ) : array | Lists all available scopes. | |
remove ( $scope = null, $pref = null ) | ||
store ( $scope_ob ) |
public __construct ( string $user, array $params = [] ) | ||
$user | string | The username. |
$params | array | Configuration parameters: - db: (Horde_Db_Adapter) [REQUIRED] The DB instance. - table: (string) The name of the prefs table. DEFAULT: 'horde_prefs' |
public getCharset ( ) : string | ||
return | string | The connection's charset. |
public listScopes ( ) : array | ||
return | array | The list of scopes stored in the backend. |