ecom
E-commerce cms
 All Data Structures Namespaces Files Functions Variables
main.php
Go to the documentation of this file.
1 <?php
2 
4 {
5  public function install()
6  {
7  }
8 
9  public function doAction($e)
10  {
11  if ($e->hookName == "routerSetup")
12  $this->context->router->routeAdd("/test", "MyController");
13  }
14 
15  public function doShortCode($short, $params)
16  {
17  }
18 }
19 
20 return new TestModule;
21 
doShortCode($short, $params)
Definition: main.php:15
install()
Definition: main.php:5
doAction($e)
Definition: main.php:9
return new TestModule
Definition: main.php:20