From adb9a7864e6fce08426af0b41bbc726388e296a7 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 21 Jan 2006 15:16:28 +0000 Subject: --- framework/Web/UI/TControl.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'framework/Web/UI') diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index f9c07a8a..6448ffcd 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -10,6 +10,11 @@ * @package System.Web.UI */ +/** + * Includes TAttributeCollection class + */ +Prado::using('System.Collections.TAttributeCollection'); + /** * TControl class * @@ -488,7 +493,7 @@ class TControl extends TComponent return $attributes; else { - $attributes=new TMap; + $attributes=new TAttributeCollection; $this->setViewState('Attributes',$attributes,null); return $attributes; } @@ -1549,12 +1554,12 @@ interface IPostBackEventHandler * @param string the parameter associated with the postback event */ public function raisePostBackEvent($param); - + /** * Return an array of postback options. * The array of options are serialized to passed to corresponding javascript component code. * @return array options for javascript postback control - */ + */ public function getPostBackOptions(); } -- cgit v1.2.3