All Data Structures Namespaces Files Functions Variables
main.php
Go to the documentation of this file.
<?php
class TestModule extends \Tools\AModule
{
public function install()
{
}
public function doAction($e)
{
if ($e->hookName == "routerSetup")
$this->context->router->routeAdd("/test", "MyController");
}
public function doShortCode($short, $params)
{
}
}
return new TestModule;
TestModule\doShortCode
doShortCode($short, $params)
Definition: main.php:15
TestModule\install
install()
Definition: main.php:5
Tools\AModule
Definition: AModule.php:9
TestModule
Definition: main.php:3
TestModule\doAction
doAction($e)
Definition: main.php:9
TestModule
return new TestModule
Definition: main.php:20