From 656c339879a071f2f875831281ed833b876e4361 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Mon, 20 Jun 2011 10:48:45 +0000 Subject: removed useless calls to empty contructor; reverted some additional undocumented changes; upported the "cgi workaround" to trunk/; large (fake) changeset are due to mixed cr/crlf used previously --- framework/Data/Common/TDbTableInfo.php | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'framework/Data/Common/TDbTableInfo.php') diff --git a/framework/Data/Common/TDbTableInfo.php b/framework/Data/Common/TDbTableInfo.php index 6f37791a..455dbc33 100644 --- a/framework/Data/Common/TDbTableInfo.php +++ b/framework/Data/Common/TDbTableInfo.php @@ -1,10 +1,10 @@ - * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2010 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Data.Common @@ -27,11 +27,11 @@ class TDbTableInfo extends TComponent private $_columns; - private $_lowercase; - - /** - * @var null|array - * @since 3.1.7 + private $_lowercase; + + /** + * @var null|array + * @since 3.1.7 */ private $_names = null; @@ -41,7 +41,6 @@ class TDbTableInfo extends TComponent */ public function __construct($tableInfo=array(),$primary=array(),$foreign=array()) { - parent::__construct(); $this->_info=$tableInfo; $this->_primaryKeys=$primary; $this->_foreignKeys=$foreign; @@ -125,12 +124,12 @@ class TDbTableInfo extends TComponent * @return array table column names (identifier quoted) */ public function getColumnNames() - { - if($this->_names===null) + { + if($this->_names===null) { $this->_names=array(); foreach($this->getColumns() as $column) - $this->_names[] = $column->getColumnName(); + $this->_names[] = $column->getColumnName(); } return $this->_names; } -- cgit v1.2.3