updated doc blocks
This commit is contained in:
parent
89a36ca905
commit
5744f045da
@ -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 @@
|
|||||||
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 @@
|
|||||||
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
|
|||||||
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 @@
|
|||||||
* 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
|
|||||||
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 @@
|
|||||||
* 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
|
|||||||
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 @@
|
|||||||
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user