1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-05 21:58:10 +02:00

updated phpDoc

This commit is contained in:
David Grudl
2010-08-03 22:48:44 +02:00
parent 9a4f1e6e36
commit 0d7b9c32c9
18 changed files with 125 additions and 121 deletions

View File

@@ -46,7 +46,16 @@ class DibiConnection extends DibiObject
/**
* Creates object and (optionally) connects to a database.
* Connection options: (see driver-specific options too)
* - lazy (bool) => if TRUE, connection will be established only when required
* - result (array) => result set options
* - detectTypes (bool) => detect the types of result set fields?
* - formatDateTime => date-time format (if empty, DateTime objects will be returned)
* - profiler (array or bool)
* - run (bool) => enable profiler?
* - class => profiler class name (default is DibiProfiler)
* - substitutes (array) => map of driver specific substitutes (under development)
* @param mixed connection parameters
* @param string connection name
* @throws DibiException