Browse Source

make db\Connection phpdoc more clear

fixes #12429
tags/2.0.10
Carsten Brandt 8 years ago
parent
commit
487b2cb439
  1. 2
      framework/db/Connection.php

2
framework/db/Connection.php

@ -27,7 +27,7 @@ use yii\caching\Cache;
* the masters. * the masters.
* *
* To establish a DB connection, set [[dsn]], [[username]] and [[password]], and then * To establish a DB connection, set [[dsn]], [[username]] and [[password]], and then
* call [[open()]] to be true. * call [[open()]] to connect to the database server. The current state of the connection can be checked using [[$isActive]].
* *
* The following example shows how to create a Connection instance and establish * The following example shows how to create a Connection instance and establish
* the DB connection: * the DB connection:

Loading…
Cancel
Save