ecom
E-commerce cms
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
home
isundil
Project
ecom
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 Tue Aug 4 2015 00:33:18 for ecom by
1.8.8