Skip to content

Commit

Permalink
Fixing incorrect doc blocks for connection_manager.php. Thanks to ADm…
Browse files Browse the repository at this point in the history
…ad for noticing the inconsistency.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8106 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information
jperras committed Mar 15, 2009
1 parent 056402e commit beb6aee
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions cake/libs/model/connection_manager.php
@@ -1,9 +1,9 @@
<?php
/* SVN FILE: $Id$ */
/**
* Short description for file.
* Datasource connection manager
*
* Long description for file
* Provides an interface for loading and enumerating connections defined in app/config/database.php
*
* PHP versions 4 and 5
*
Expand Down Expand Up @@ -85,7 +85,7 @@ function &getInstance() {
/**
* Gets a reference to a DataSource object
*
* @param string $name The name of the DataSource, as defined in app/config/connections
* @param string $name The name of the DataSource, as defined in app/config/database.php
* @return object Instance
* @access public
* @static
Expand Down Expand Up @@ -145,8 +145,9 @@ function getSourceName(&$source) {
/**
* Loads the DataSource class for the given connection name
*
* @param mixed $connName A string name of the connection, as defined in Connections config,
* or an array containing the file and class name of the object.
* @param mixed $connName A string name of the connection, as defined in app/config/database.php,
* or an array containing the filename (without extension) and class name of the object,
* to be found in app/models/datasources/ or cake/libs/model/datasources/.
* @return boolean True on success, null on failure or false if the class is already loaded
* @access public
* @static
Expand Down Expand Up @@ -259,4 +260,4 @@ function __destruct() {
}
}
}
?>
?>

0 comments on commit beb6aee

Please sign in to comment.