1
0
mirror of synced 2025-02-01 04:51:45 +03:00

updated doc blocks

This commit is contained in:
zYne 2007-02-11 08:46:29 +00:00
parent 89a36ca905
commit 5744f045da
6 changed files with 11 additions and 0 deletions

View File

@ -21,6 +21,7 @@
Doctrine::autoload('Doctrine_DataDict');
/**
* @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Lorenzo Alberton <l.alberton@quipo.it> (PEAR MDB2 Interbase driver)

View File

@ -21,6 +21,7 @@
Doctrine::autoload('Doctrine_DataDict');
/**
* @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library)

View File

@ -21,6 +21,7 @@
Doctrine::autoload('Doctrine_DataDict');
/**
* @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library)
@ -207,6 +208,7 @@ class Doctrine_DataDict_Mysql extends Doctrine_DataDict
case 'timestamp':
return 'DATETIME';
case 'float':
case 'double':
return 'DOUBLE';
case 'decimal':
$length = !empty($field['length']) ? $field['length'] : 18;

View File

@ -18,8 +18,10 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
Doctrine::autoload('Doctrine_DataDict');
/**
* @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @version $Revision$
@ -84,6 +86,7 @@ class Doctrine_DataDict_Oracle extends Doctrine_DataDict
case 'timestamp':
return 'DATE';
case 'float':
case 'double':
return 'NUMBER';
case 'decimal':
return 'NUMBER(*,'.$this->conn->options['decimal_places'].')';

View File

@ -18,8 +18,10 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
Doctrine::autoload('Doctrine_DataDict');
/**
* @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Paul Cooper <pgc@ucecom.com>
@ -408,6 +410,7 @@ class Doctrine_DataDict_Pgsql extends Doctrine_DataDict
case 'timestamp':
return 'TIMESTAMP without time zone';
case 'float':
case 'double':
return 'FLOAT8';
case 'decimal':
$length = !empty($field['length']) ? $field['length'] : 18;

View File

@ -21,6 +21,7 @@
Doctrine::autoload('Doctrine_DataDict');
/**
* @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library)