PHP Класс Skeleton_Driver_Sql, horde

Автор: Your Name ([email protected])
Наследование: extends Skeleton_Driver
Показать файл Открыть проект

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

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

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

Метод Описание
__construct ( array $params = [] ) Constructs a new SQL storage object.
retrieve ( ) Retrieves the foos from the database.
store ( $data ) Stores a foo in the database.

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

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

Constructs a new SQL storage object.
public __construct ( array $params = [] )
$params array Class parameters: - db: (Horde_Db_Adapater) A database handle. - table: (string, optional) The name of the database table.

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

Retrieves the foos from the database.
public retrieve ( )

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

Stores a foo in the database.
public store ( $data )

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

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

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

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

Storage variable.
protected array $_foo
Результат array