diff options
Diffstat (limited to 'libs/Zend/Db/Table.php')
-rw-r--r-- | libs/Zend/Db/Table.php | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/libs/Zend/Db/Table.php b/libs/Zend/Db/Table.php index 20319fd1ec..ba22f7f262 100644 --- a/libs/Zend/Db/Table.php +++ b/libs/Zend/Db/Table.php @@ -15,20 +15,20 @@ * @category Zend * @package Zend_Db * @subpackage Table - * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: Table.php 16733 2009-07-15 13:16:50Z ralph $ + * @version $Id: Table.php 20096 2010-01-06 02:05:09Z bkarwin $ */ /** - * Zend_Db_Table_Abstract + * @see Zend_Db_Table_Abstract */ -require_once 'Zend/Db/Table/Abstract.php'; +// require_once 'Zend/Db/Table/Abstract.php'; /** * @see Zend_Db_Table_Definition */ -require_once 'Zend/Db/Table/Definition.php'; +// require_once 'Zend/Db/Table/Definition.php'; /** * Class for SQL table interface. @@ -36,25 +36,25 @@ require_once 'Zend/Db/Table/Definition.php'; * @category Zend * @package Zend_Db * @subpackage Table - * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class Zend_Db_Table extends Zend_Db_Table_Abstract { - + /** * __construct() - For concrete implementation of Zend_Db_Table * * @param string|array $config string can reference a Zend_Registry key for a db adapter - * OR it can refernece the name of a table - * @param unknown_type $definition + * OR it can reference the name of a table + * @param array|Zend_Db_Table_Definition $definition */ public function __construct($config = array(), $definition = null) { if ($definition !== null && is_array($definition)) { $definition = new Zend_Db_Table_Definition($definition); } - + if (is_string($config)) { if (Zend_Registry::isRegistered($config)) { trigger_error(__CLASS__ . '::' . __METHOD__ . '(\'registryName\') is not valid usage of Zend_Db_Table, ' @@ -73,12 +73,7 @@ class Zend_Db_Table extends Zend_Db_Table_Abstract } } } - + parent::__construct($config); } - - - - - } |