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

Datei anzeigen Open project: unionofrad/lithium Class Usage Examples

Public Properties

Property Type Description
$gridFsPrefix
$queries
$results

Protected Properties

Property Type Description
$_collection

Public Methods

Method 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 )

Protected Methods

Method Description
_record ( $type, array $data = [] )

Method Details

__get() public method

public __get ( $property )

_record() protected method

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

connect() public method

public connect ( )

find() public method

public find ( $conditions, $fields )

getConnections() public method

public getConnections ( )

getGridFS() public method

public getGridFS ( $prefix = "fs" )

insert() public method

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

listCollections() public method

public listCollections ( )

listDBs() public method

public listDBs ( )

remove() public method

public remove ( $conditions, $options )

storeBytes() public method

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

update() public method

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