PHP 클래스 Horde_Imap_Client_Cache_Backend_Db, horde

Requires the Horde_Db package.
저자: Michael Slusarz ([email protected])
상속: extends Horde_Imap_Client_Cache_Backend
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_db Horde_Db_Adapter Handle for the database connection.

공개 메소드들

메소드 설명
__construct ( array $params = [] ) Constructor.
clear ( $lifetime )
deleteMailbox ( $mailbox )
deleteMsgs ( $mailbox, $uids )
get ( $mailbox, $uids, $fields, $uidvalid )
getCachedUids ( $mailbox, $uidvalid )
getMetaData ( $mailbox, $uidvalid, $entries )
set ( $mailbox, $data, $uidvalid )
setMetaData ( $mailbox, $data )

보호된 메소드들

메소드 설명
_baseSql ( string $mailbox, string $join = null ) : array Prepare the base SQL query.
_createUid ( string $mailbox ) : string
_getUid ( string $mailbox ) : string
_initOb ( )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $params = [] )
$params array Configuration parameters:
  - REQUIRED Parameters:
    - db: (Horde_Db_Adapter) DB object.

_baseSql() 보호된 메소드

Prepare the base SQL query.
protected _baseSql ( string $mailbox, string $join = null ) : array
$mailbox string The mailbox.
$join string The table to join with the base table.
리턴 array SQL query and bound parameters.

_createUid() 보호된 메소드

protected _createUid ( string $mailbox ) : string
$mailbox string
리턴 string UID from base table.

_getUid() 보호된 메소드

protected _getUid ( string $mailbox ) : string
$mailbox string
리턴 string UID from base table.

_initOb() 보호된 메소드

protected _initOb ( )

clear() 공개 메소드

public clear ( $lifetime )

deleteMailbox() 공개 메소드

public deleteMailbox ( $mailbox )

deleteMsgs() 공개 메소드

public deleteMsgs ( $mailbox, $uids )

get() 공개 메소드

public get ( $mailbox, $uids, $fields, $uidvalid )

getCachedUids() 공개 메소드

public getCachedUids ( $mailbox, $uidvalid )

getMetaData() 공개 메소드

public getMetaData ( $mailbox, $uidvalid, $entries )

set() 공개 메소드

public set ( $mailbox, $data, $uidvalid )

setMetaData() 공개 메소드

public setMetaData ( $mailbox, $data )

프로퍼티 상세

$_db 보호되어 있는 프로퍼티

Handle for the database connection.
protected Horde_Db_Adapter $_db
리턴 Horde_Db_Adapter