diff options
Diffstat (limited to 'framework/TComponent.php')
-rw-r--r-- | framework/TComponent.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/TComponent.php b/framework/TComponent.php index cc5fa1b5..6641fd1a 100644 --- a/framework/TComponent.php +++ b/framework/TComponent.php @@ -300,12 +300,12 @@ class TComponent * getting and setting properties, e.g.,
* <code>
* $component->OnClick[]=array($object,'buttonClicked');
- * $component->OnClick->insert(0,array($object,'buttonClicked'));
+ * $component->OnClick->insertAt(0,array($object,'buttonClicked'));
* </code>
* which are equivalent to the following
* <code>
* $component->getEventHandlers('OnClick')->add(array($object,'buttonClicked'));
- * $component->getEventHandlers('OnClick')->insert(0,array($object,'buttonClicked'));
+ * $component->getEventHandlers('OnClick')->insertAt(0,array($object,'buttonClicked'));
* </code>
*
* @param string the event name
|