summaryrefslogtreecommitdiff
path: root/framework/TComponent.php
diff options
context:
space:
mode:
authorxue <>2005-12-17 03:40:49 +0000
committerxue <>2005-12-17 03:40:49 +0000
commit73512adcb5ed2dca47a03c5e42ec9ebf0a1d9a94 (patch)
tree1543feaed886cc11430df70aad20611904585351 /framework/TComponent.php
parentb9b2f490cf1f5a4878d11f97c0bfbd2d13fdf929 (diff)
Changed TList::addAt to TList::insert
Diffstat (limited to 'framework/TComponent.php')
-rw-r--r--framework/TComponent.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/TComponent.php b/framework/TComponent.php
index c1b483c0..1a4dfe6e 100644
--- a/framework/TComponent.php
+++ b/framework/TComponent.php
@@ -300,12 +300,12 @@ class TComponent
* getting and setting properties, e.g.,
* <code>
* $component->Click[]=array($object,'buttonClicked');
- * $component->Click->addAt(0,array($object,'buttonClicked'));
+ * $component->Click->insert(0,array($object,'buttonClicked'));
* </code>
* which are equivalent to the following
* <code>
* $component->getEventHandlers('Click')->add(array($object,'buttonClicked'));
- * $component->getEventHandlers('Click')->addAt(0,array($object,'buttonClicked'));
+ * $component->getEventHandlers('Click')->insert(0,array($object,'buttonClicked'));
* </code>
*
* @param string the event name