Commit: 25d3314524f551c3becb0a80792652acad1351b7

Author: Nate Abele | Date: 2010-03-08 18:13:55 -0500
Updating docblock in MongoDB adapter to reflect API changes.
diff --git a/libraries/lithium/core/Libraries.php b/libraries/lithium/core/Libraries.php index 4726f79..ebaa9c8 100644 --- a/libraries/lithium/core/Libraries.php +++ b/libraries/lithium/core/Libraries.php @@ -303,7 +303,6 @@ class Libraries { /** * Finds the classes in a library/namespace/folder * - * @todo Tie this into how path() is implemented * @param string $library * @param string $options * @return array diff --git a/libraries/lithium/data/source/MongoDb.php b/libraries/lithium/data/source/MongoDb.php index 85b8032..d2fbbea 100644 --- a/libraries/lithium/data/source/MongoDb.php +++ b/libraries/lithium/data/source/MongoDb.php @@ -26,10 +26,10 @@ use \Exception; * * After installing MongoDB, you can connect to it as follows: * {{{//app/config/connections.php: - * Connections::add('default', 'MongoDb', array('database' => 'myDb'));}}} + * Connections::add('default', array('type' => 'MongoDb', 'database' => 'myDb'));}}} * * By default, it will attempt to connect to a Mongo instance running on `localhost` on port - * 27017. See `__construct()` for details on how to change this. + * 27017. See `__construct()` for details on the accepted configuration settings. * * @see lithium\data\collection\Document * @see lithium\data\Connections::add()