ecom
E-commerce cms
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
content
modules
test
main.php
Go to the documentation of this file.
1
<?php
2
3
class
TestModule
extends
\Tools\AModule
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
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
Generated on Sun Aug 16 2015 21:56:15 for ecom by
1.8.8