summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TListControl.php8
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;
}