diff options
author | xue <> | 2006-01-21 17:36:17 +0000 |
---|---|---|
committer | xue <> | 2006-01-21 17:36:17 +0000 |
commit | 88d880aa189f23e3c1e5664016e927cbc94bd0e9 (patch) | |
tree | b202690131b4bda00505d850515ca75b5a625879 /framework/Web/UI/WebControls/TListControl.php | |
parent | b4b5920c699aac7e06a289d345e6be00c34e620a (diff) |
Using TAttributeCollection in TListItem.
Diffstat (limited to 'framework/Web/UI/WebControls/TListControl.php')
-rw-r--r-- | framework/Web/UI/WebControls/TListControl.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php index 38a43173..6faccf31 100644 --- a/framework/Web/UI/WebControls/TListControl.php +++ b/framework/Web/UI/WebControls/TListControl.php @@ -14,6 +14,10 @@ * Includes TDataBoundControl class
*/
Prado::using('System.Web.UI.WebControls.TDataBoundControl');
+/**
+ * Includes TAttributeCollection class
+ */
+Prado::using('System.Collections.TAttributeCollection');
/**
* TListControl class
@@ -812,12 +816,12 @@ class TListItem extends TComponent }
/**
- * @return TMap custom attributes
+ * @return TAttributeCollection custom attributes
*/
public function getAttributes()
{
if(!$this->_attributes)
- $this->_attributes=new TMap;
+ $this->_attributes=new TAttributeCollection;
return $this->_attributes;
}
|