From 2e5e2892506c87cf33aa8afb7681df3e6e646390 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 15 Jan 2006 02:47:00 +0000 Subject: --- framework/Web/UI/WebControls/TDataList.php | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'framework/Web/UI') diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php index a3d76eca..ebaf9568 100644 --- a/framework/Web/UI/WebControls/TDataList.php +++ b/framework/Web/UI/WebControls/TDataList.php @@ -83,8 +83,8 @@ Prado::using('System.Web.UI.WebControls.TRepeatInfo'); * TDataList raises an {@link onItemCommand ItemCommand} whenever a button control * within some TDataList item raises a Command event. If the command name * is one of the followings: 'edit', 'update', 'select', 'delete', 'cancel' (case-insensitive), - * another event will also be raised. For example, if the command name is 'select', - * then the new event is {@link onSelectCommand SelectCommand}. + * another event will also be raised. For example, if the command name is 'edit', + * then the new event is {@link onEditCommand SelectCommand}. * * @author Qiang Xue * @version $Revision: $ $Date: $ @@ -675,17 +675,6 @@ class TDataList extends TBaseDataList implements INamingContainer, IRepeatInfoUs $this->raiseEvent('ItemCommand',$this,$param); } - /** - * Raises SelectCommand event. - * This method is invoked when a child control of the data list - * raises an Command event and the command name is 'select' (case-insensitive). - * @param TDataListCommandEventParameter event parameter - */ - protected function onSelectCommand($param) - { - $this->raiseEvent('SelectCommand',$this,$param); - } - /** * Raises EditCommand event. * This method is invoked when a child control of the data list -- cgit v1.2.3