PHP 클래스 Horde_Prefs_Storage_Mongo, horde

저자: Michael Slusarz ([email protected])
상속: extends Horde_Prefs_Storage_Base, implements Horde_Mongo_Collection_Index
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_db MongoCollection The MongoDB Collection object for the cache data.
$_indices array Indices list.

공개 메소드들

메소드 설명
__construct ( string $user, array $params = [] ) Constructor.
checkMongoIndices ( )
createMongoIndices ( )
get ( $scope_ob )
listScopes ( )
remove ( $scope = null, $pref = null )
store ( $scope_ob )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $user, array $params = [] )
$user string The username.
$params array Configuration parameters.
  - collection: (string) The collection name.
  - mongo_db: (Horde_Mongo_Client) [REQUIRED] A MongoDB client object.

checkMongoIndices() 공개 메소드

public checkMongoIndices ( )

createMongoIndices() 공개 메소드

public createMongoIndices ( )

get() 공개 메소드

public get ( $scope_ob )

listScopes() 공개 메소드

public listScopes ( )

remove() 공개 메소드

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

store() 공개 메소드

public store ( $scope_ob )

프로퍼티 상세

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

The MongoDB Collection object for the cache data.
protected MongoCollection $_db
리턴 MongoCollection

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

Indices list.
protected array $_indices
리턴 array