summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TControl.php
diff options
context:
space:
mode:
authorxue <>2006-01-21 15:16:28 +0000
committerxue <>2006-01-21 15:16:28 +0000
commitadb9a7864e6fce08426af0b41bbc726388e296a7 (patch)
tree27dbe974265c776405d1a520219bd5bfc8b88882 /framework/Web/UI/TControl.php
parentc5e3052cdab7d0d8d86ddd272a906e850e0bc90a (diff)
Diffstat (limited to 'framework/Web/UI/TControl.php')
-rw-r--r--framework/Web/UI/TControl.php11
1 files changed, 8 insertions, 3 deletions
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
@@ -11,6 +11,11 @@
*/
/**
+ * Includes TAttributeCollection class
+ */
+Prado::using('System.Collections.TAttributeCollection');
+
+/**
* TControl class
*
* TControl is the base class for all components on a page hierarchy.
@@ -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();
}