From 73512adcb5ed2dca47a03c5e42ec9ebf0a1d9a94 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 17 Dec 2005 03:40:49 +0000 Subject: Changed TList::addAt to TList::insert --- framework/TComponent.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/TComponent.php') 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., * * $component->Click[]=array($object,'buttonClicked'); - * $component->Click->addAt(0,array($object,'buttonClicked')); + * $component->Click->insert(0,array($object,'buttonClicked')); * * which are equivalent to the following * * $component->getEventHandlers('Click')->add(array($object,'buttonClicked')); - * $component->getEventHandlers('Click')->addAt(0,array($object,'buttonClicked')); + * $component->getEventHandlers('Click')->insert(0,array($object,'buttonClicked')); * * * @param string the event name -- cgit v1.2.3