diff options
author | wei <> | 2007-01-28 01:22:37 +0000 |
---|---|---|
committer | wei <> | 2007-01-28 01:22:37 +0000 |
commit | ace9c57b1c50709bbe8085e9cf99161a4c574be2 (patch) | |
tree | 63e9dfb9c4f270e478869f863d36a344f1de5acc /framework/Data/ActiveRecord/Vendor/TSqliteColumnMetaData.php | |
parent | 97b4d7ca7f7edcedc2d9c113a60d827a967f2c5e (diff) |
Fixed TActiveListBox bug. Add more meta for active record. Fix TCallback docs.
Diffstat (limited to 'framework/Data/ActiveRecord/Vendor/TSqliteColumnMetaData.php')
-rw-r--r-- | framework/Data/ActiveRecord/Vendor/TSqliteColumnMetaData.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/framework/Data/ActiveRecord/Vendor/TSqliteColumnMetaData.php b/framework/Data/ActiveRecord/Vendor/TSqliteColumnMetaData.php index abb50caf..92315a1a 100644 --- a/framework/Data/ActiveRecord/Vendor/TSqliteColumnMetaData.php +++ b/framework/Data/ActiveRecord/Vendor/TSqliteColumnMetaData.php @@ -28,9 +28,11 @@ class TSqliteColumnMetaData extends TComponent private $_autoIncrement;
private $_default;
private $_primary=false;
+ private $_property;
- public function __construct($name,$type,$notNull,$autoIncrement,$default,$primary)
+ public function __construct($property,$name,$type,$notNull,$autoIncrement,$default,$primary)
{
+ $this->_property=$property;
$this->_name=$name;
$this->_type=$type;
$this->_notNull=$notNull;
@@ -55,6 +57,14 @@ class TSqliteColumnMetaData extends TComponent }
/**
+ * @return string column name, used as active record property name
+ */
+ public function getProperty()
+ {
+ return $this->_property;
+ }
+
+ /**
* @return string quoted column name.
*/
public function getName()
|