From 88d880aa189f23e3c1e5664016e927cbc94bd0e9 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 21 Jan 2006 17:36:17 +0000 Subject: Using TAttributeCollection in TListItem. --- framework/Web/UI/WebControls/TListControl.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'framework/Web') 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; } -- cgit v1.2.3