PHP Класс Horde_Prefs_Storage_Sql, horde

Автор: Jon Parise ([email protected])
Автор: Michael Slusarz ([email protected])
Наследование: extends Horde_Prefs_Storage_Base
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_db Horde_Db_Adapter Handle for the current database connection.

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный Метод

Constructor.
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'

get() публичный Метод

public get ( $scope_ob )

getCharset() публичный Метод

Returns the charset of the DB backend.
public getCharset ( ) : string
Результат string The connection's charset.

listScopes() публичный Метод

Lists all available scopes.
public listScopes ( ) : array
Результат array The list of scopes stored in the backend.

remove() публичный Метод

public remove ( $scope = null, $pref = null )

store() публичный Метод

public store ( $scope_ob )

Описание свойств

$_db защищенное свойство

Handle for the current database connection.
protected Horde_Db_Adapter $_db
Результат Horde_Db_Adapter