From 3fcf847e0cadfb9ede930f538c2f277483442175 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 21 Jan 2006 17:29:40 +0000 Subject: BE AWARE: Significant change! Changed event definition from XXX to OnXXX. --- demos/composer/protected/pages/ClassDefinition.php | 2 +- demos/composer/protected/pages/Home.page | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'demos/composer') diff --git a/demos/composer/protected/pages/ClassDefinition.php b/demos/composer/protected/pages/ClassDefinition.php index 54e143e4..bd704b0e 100644 --- a/demos/composer/protected/pages/ClassDefinition.php +++ b/demos/composer/protected/pages/ClassDefinition.php @@ -173,7 +173,7 @@ class ClassDefinition extends TComponent continue; $comments=implode("\n\t * ",explode("\n",wordwrap($event->Comments))); $writer->write("\n\t/**\n\t * Raises $name event.\n\t * $comments\n\t * @param TEventParameter event parameter\n\t */\n"); - $writer->write("\tpublic function on$name(\$param)\n\t{\n\t\t\$this->raiseEvent('$name',\$this,\$param);\n\t}\n"); + $writer->write("\tpublic function $name(\$param)\n\t{\n\t\t\$this->raiseEvent('$name',\$this,\$param);\n\t}\n"); } } diff --git a/demos/composer/protected/pages/Home.page b/demos/composer/protected/pages/Home.page index 7a0dd635..23ab2b86 100644 --- a/demos/composer/protected/pages/Home.page +++ b/demos/composer/protected/pages/Home.page @@ -89,12 +89,12 @@ implements - + - + @@ -141,7 +141,7 @@ implements - + @@ -161,7 +161,7 @@ Author Email

- + -- cgit v1.2.3