Commit 5744f045 authored by zYne's avatar zYne

updated doc blocks

parent 89a36ca9
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
Doctrine::autoload('Doctrine_DataDict'); Doctrine::autoload('Doctrine_DataDict');
/** /**
* @package Doctrine * @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi> * @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Lorenzo Alberton <l.alberton@quipo.it> (PEAR MDB2 Interbase driver) * @author Lorenzo Alberton <l.alberton@quipo.it> (PEAR MDB2 Interbase driver)
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
Doctrine::autoload('Doctrine_DataDict'); Doctrine::autoload('Doctrine_DataDict');
/** /**
* @package Doctrine * @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi> * @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library) * @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library)
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
Doctrine::autoload('Doctrine_DataDict'); Doctrine::autoload('Doctrine_DataDict');
/** /**
* @package Doctrine * @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi> * @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library) * @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library)
...@@ -207,6 +208,7 @@ class Doctrine_DataDict_Mysql extends Doctrine_DataDict ...@@ -207,6 +208,7 @@ class Doctrine_DataDict_Mysql extends Doctrine_DataDict
case 'timestamp': case 'timestamp':
return 'DATETIME'; return 'DATETIME';
case 'float': case 'float':
case 'double':
return 'DOUBLE'; return 'DOUBLE';
case 'decimal': case 'decimal':
$length = !empty($field['length']) ? $field['length'] : 18; $length = !empty($field['length']) ? $field['length'] : 18;
......
...@@ -18,8 +18,10 @@ ...@@ -18,8 +18,10 @@
* and is licensed under the LGPL. For more information, see * and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>. * <http://www.phpdoctrine.com>.
*/ */
Doctrine::autoload('Doctrine_DataDict');
/** /**
* @package Doctrine * @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi> * @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @version $Revision$ * @version $Revision$
...@@ -84,6 +86,7 @@ class Doctrine_DataDict_Oracle extends Doctrine_DataDict ...@@ -84,6 +86,7 @@ class Doctrine_DataDict_Oracle extends Doctrine_DataDict
case 'timestamp': case 'timestamp':
return 'DATE'; return 'DATE';
case 'float': case 'float':
case 'double':
return 'NUMBER'; return 'NUMBER';
case 'decimal': case 'decimal':
return 'NUMBER(*,'.$this->conn->options['decimal_places'].')'; return 'NUMBER(*,'.$this->conn->options['decimal_places'].')';
......
...@@ -18,8 +18,10 @@ ...@@ -18,8 +18,10 @@
* and is licensed under the LGPL. For more information, see * and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>. * <http://www.phpdoctrine.com>.
*/ */
Doctrine::autoload('Doctrine_DataDict');
/** /**
* @package Doctrine * @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi> * @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Paul Cooper <pgc@ucecom.com> * @author Paul Cooper <pgc@ucecom.com>
...@@ -408,6 +410,7 @@ class Doctrine_DataDict_Pgsql extends Doctrine_DataDict ...@@ -408,6 +410,7 @@ class Doctrine_DataDict_Pgsql extends Doctrine_DataDict
case 'timestamp': case 'timestamp':
return 'TIMESTAMP without time zone'; return 'TIMESTAMP without time zone';
case 'float': case 'float':
case 'double':
return 'FLOAT8'; return 'FLOAT8';
case 'decimal': case 'decimal':
$length = !empty($field['length']) ? $field['length'] : 18; $length = !empty($field['length']) ? $field['length'] : 18;
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
Doctrine::autoload('Doctrine_DataDict'); Doctrine::autoload('Doctrine_DataDict');
/** /**
* @package Doctrine * @package Doctrine
* @subpackage Doctrine_DataDict
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Konsta Vesterinen <kvesteri@cc.hut.fi> * @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library) * @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment