PHP 클래스 Horde_Mongo_Client, horde

저자: Michael Slusarz ([email protected])
상속: extends MongoClient, implements Serializable
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$dbname string Database name (Horde_Mongo_Client uses this single database by default to ease configuration).

공개 메소드들

메소드 설명
__construct ( $server = null, array $options = [] )
checkIndices ( mixed $collection, array $indices ) : boolean Checks that indices are up-to-date.
createIndices ( mixed $collection, array $indices ) Create indices for the collection.
dropDB ( $db )
selectCollection ( $db, $collection = null )
selectDB ( $name )
serialize ( )
unserialize ( $data )

메소드 상세

__construct() 공개 메소드

public __construct ( $server = null, array $options = [] )
$options array

checkIndices() 공개 메소드

Checks that indices are up-to-date.
public checkIndices ( mixed $collection, array $indices ) : boolean
$collection mixed The collection name or a MongoCollection object.
$indices array The index definition (see ensureIndex()).
리턴 boolean True if the indices are up-to-date.

createIndices() 공개 메소드

Create indices for the collection.
public createIndices ( mixed $collection, array $indices )
$collection mixed The collection name or a MongoCollection object.
$indices array The index definition (see ensureIndex()).

dropDB() 공개 메소드

사용 중단:
public dropDB ( $db )

selectCollection() 공개 메소드

public selectCollection ( $db, $collection = null )

selectDB() 공개 메소드

public selectDB ( $name )

serialize() 공개 메소드

public serialize ( )

unserialize() 공개 메소드

public unserialize ( $data )

프로퍼티 상세

$dbname 공개적으로 프로퍼티

Database name (Horde_Mongo_Client uses this single database by default to ease configuration).
public string $dbname
리턴 string