diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-19 03:02:33 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-19 03:02:33 +0200 |
commit | 9ba2189dd10fd9a8cd779d8e3058af5f2ecf2696 (patch) | |
tree | 3d8ad46c877e8a93ec5a22cc7a922882fe2bca5d /user_guide | |
parent | f59c31ec2b1556d3f3aa3239a5c0150c9bbcf190 (diff) |
Improved connection info
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/database/connecting.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/user_guide/database/connecting.html b/user_guide/database/connecting.html index 246aa4e6a..8ece6dcef 100644 --- a/user_guide/database/connecting.html +++ b/user_guide/database/connecting.html @@ -80,6 +80,16 @@ available globally in that class.</p> <p class="important">If the above function does <strong>not</strong> contain any information in the first parameter it will connect
to the group specified in your database config file. For most people, this is the preferred method of use.</p>
+<h3>Available Parameters</h3>
+
+<ol>
+ <li>The database connection values, passed either as an array or a DSN string.</li>
+ <li>TRUE/FALSE (boolean). Whether to return the connection ID (see Connecting to Multiple Databases below).</li>
+ <li>TRUE/FALSE (boolean). Whether to enable the Active Record class. Set to FALSE by default.</li>
+</ol>
+
+
+<h3>Manuallly Connecting to a Database</h3>
<p>The first parameter of this function can <strong>optionally</strong> be used to specify a particular database group
from your config file, or you can even submit connection values for a database that is not specified in your config file.
|