2 rcs_id('$Id: HelloWorld.php,v 1.3 2001-12-15 10:54:49 carstenklapp Exp $');
4 * A simple demonstration WikiPlugin.
6 class WikiPlugin_HelloWorld
9 var $name = "HelloWorld";
10 var $description = "PhpWiki";
12 function getDefaultArguments() {
13 return array('salutation' => 'Hello,',
17 function run($argstr) {
18 extract($this->parseArgs($argstr));
20 return sprintf("<tt>%s %s</tt>", $salutation, $name);
29 // c-hanging-comment-ender-p: nil
30 // indent-tabs-mode: nil