diff options
Diffstat (limited to 'demos/composer/protected/pages/ClassDefinition.php')
-rw-r--r-- | demos/composer/protected/pages/ClassDefinition.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 <b>$name</b> 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");
}
}
|