Zend Framework
3.0
|
Public Member Functions | |
hasResource ($id) | |
Check if a resource exists. | |
setResource ($id, $resource) | |
Set a resource. | |
getResource ($id) | |
Instantiate and return the MongoCollection resource. | |
setServer ($id, $server) | |
getServer ($id) | |
setConnectionOptions ($id, array $connectionOptions) | |
getConnectionOptions ($id) | |
setDriverOptions ($id, array $driverOptions) | |
getDriverOptions ($id) | |
setDatabase ($id, $database) | |
getDatabase ($id) | |
setCollection ($id, $collection) | |
getCollection ($id) | |
getCollection | ( | $id | ) |
getConnectionOptions | ( | $id | ) |
getDatabase | ( | $id | ) |
getDriverOptions | ( | $id | ) |
getResource | ( | $id | ) |
Instantiate and return the MongoCollection resource.
string | $id |
Exception\RuntimeException |
getServer | ( | $id | ) |
hasResource | ( | $id | ) |
Check if a resource exists.
string | $id |
setCollection | ( | $id, | |
$collection | |||
) |
setConnectionOptions | ( | $id, | |
array | $connectionOptions | ||
) |
setDatabase | ( | $id, | |
$database | |||
) |
setDriverOptions | ( | $id, | |
array | $driverOptions | ||
) |
setResource | ( | $id, | |
$resource | |||
) |
Set a resource.
string | $id | |
array | MongoCollection | $resource |
Exception\RuntimeException |
setServer | ( | $id, | |
$server | |||
) |