summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
authorknut <>2008-08-18 00:28:11 +0000
committerknut <>2008-08-18 00:28:11 +0000
commita652c851317d995cdab55e7f2a4bdf9132e41310 (patch)
treef476a64b95851290067d89c1d45d803e722da9ac /framework/Data
parent38eb5a099b3e4bc1b7235aff126d30468a432c86 (diff)
fixed #911
Diffstat (limited to 'framework/Data')
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordGateway.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/Data/ActiveRecord/TActiveRecordGateway.php b/framework/Data/ActiveRecord/TActiveRecordGateway.php
index b31cde5e..23104c00 100644
--- a/framework/Data/ActiveRecord/TActiveRecordGateway.php
+++ b/framework/Data/ActiveRecord/TActiveRecordGateway.php
@@ -1,10 +1,10 @@
-<?php
+<?php
/**
* TActiveRecordGateway, TActiveRecordStatementType, TActiveRecordEventParameter classes file.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2008 PradoSoft
+ * @copyright Copyright &copy; 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Data.ActiveRecord
@@ -87,7 +87,7 @@ class TActiveRecordGateway extends TComponent
* @param string table name
* @return TDbTableInfo table details.
*/
- public function getTableInfo($connection, $tableName)
+ public function getTableInfo(TDbConnection $connection, $tableName)
{
$connStr = $connection->getConnectionString();
$key = $connStr.$tableName;
@@ -410,5 +410,5 @@ class TActiveRecordGateway extends TComponent
$record->{$event}($param);
}
}
-
-?>
+
+?>