PHP 클래스 Skeleton_Driver_Sql, horde

저자: Your Name ([email protected])
상속: extends Skeleton_Driver
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_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