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

- improved DibiDataSource

This commit is contained in:
David Grudl
2009-02-05 23:13:29 +00:00
parent dd6ffc3d0e
commit 60662bdae1
6 changed files with 87 additions and 36 deletions

View File

@@ -429,9 +429,9 @@ class DibiResult extends DibiObject implements IDataSource
/**
* Define column type.
* @param string column
* @param string type (use constant Dibi::FIELD_*)
* @param string optional format
* @param string column
* @param string type (use constant Dibi::FIELD_*)
* @param string optional format
* @return void
*/
final public function setType($col, $type, $format = NULL)
@@ -456,7 +456,7 @@ class DibiResult extends DibiObject implements IDataSource
/**
* Define multiple columns types.
* @param array
* @param array
* @return void
* @internal
*/
@@ -479,7 +479,7 @@ class DibiResult extends DibiObject implements IDataSource
/**
* Converts value to specified type and format
* Converts value to specified type and format.
* @return array ($type, $format)
*/
final public function convert($value, $type, $format = NULL)