diff options
author | wei <> | 2007-03-31 06:42:15 +0000 |
---|---|---|
committer | wei <> | 2007-03-31 06:42:15 +0000 |
commit | 54c90d0102515ad58a882a6b3f4ac623fc9d50ed (patch) | |
tree | f111d06ef5ab1771a723e9a4f807f39039ec3fae /framework/Data/ActiveRecord/Vendor/TIbmColumnMetaData.php | |
parent | e54507780bbb25537735139fdf65637fbaa39542 (diff) |
Add changes by ezar for IBM Db2 Active Record support.
Diffstat (limited to 'framework/Data/ActiveRecord/Vendor/TIbmColumnMetaData.php')
-rw-r--r-- | framework/Data/ActiveRecord/Vendor/TIbmColumnMetaData.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/framework/Data/ActiveRecord/Vendor/TIbmColumnMetaData.php b/framework/Data/ActiveRecord/Vendor/TIbmColumnMetaData.php index 65e40a59..eafadae5 100644 --- a/framework/Data/ActiveRecord/Vendor/TIbmColumnMetaData.php +++ b/framework/Data/ActiveRecord/Vendor/TIbmColumnMetaData.php @@ -45,7 +45,7 @@ class TIbmColumnMetaData extends TComponent */
public function __construct($name,$type,$length,$notNull,$autoIncrement,$default,$primary)
{
- $this->_property = $name;
+ $this->_property=$name;
$this->_name=$name;
$this->_type=$type;
$this->_length=$length;
@@ -64,6 +64,14 @@ class TIbmColumnMetaData extends TComponent }
/**
+ * @return integer length.
+ */
+ public function getLength()
+ {
+ return $this->_length;
+ }
+
+ /**
* @return string active record property name
*/
public function getProperty()
|