PHP Class lithium\tests\mocks\data\source\MockMongoConnection

Afficher le fichier Open project: unionofrad/lithium Class Usage Examples

Méthodes publiques

Свойство Type Description
$gridFsPrefix
$queries
$results

Protected Properties

Свойство Type Description
$_collection

Méthodes publiques

Méthode Description
__get ( $property )
connect ( )
find ( $conditions, $fields )
getConnections ( )
getGridFS ( $prefix = "fs" )
insert ( array &$data, array $options = [] )
listCollections ( )
listDBs ( )
remove ( $conditions, $options )
storeBytes ( $bytes = null, array $extra = [], array $options = [] )
update ( $conditions, $update, $options )

Méthodes protégées

Méthode Description
_record ( $type, array $data = [] )

Method Details

__get() public méthode

public __get ( $property )

_record() protected méthode

protected _record ( $type, array $data = [] )
$data array

connect() public méthode

public connect ( )

find() public méthode

public find ( $conditions, $fields )

getConnections() public méthode

public getConnections ( )

getGridFS() public méthode

public getGridFS ( $prefix = "fs" )

insert() public méthode

public insert ( array &$data, array $options = [] )
$data array
$options array

listCollections() public méthode

public listCollections ( )

listDBs() public méthode

public listDBs ( )

remove() public méthode

public remove ( $conditions, $options )

storeBytes() public méthode

public storeBytes ( $bytes = null, array $extra = [], array $options = [] )
$extra array
$options array

update() public méthode

public update ( $conditions, $update, $options )

Property Details

$_collection protected_oe property

protected $_collection

$gridFsPrefix public_oe property

public $gridFsPrefix

$queries public_oe property

public $queries

$results public_oe property

public $results