nyroFwk
0.2
var
www
users
nyrofwk
src
nyro
module
out
nyro/module/out/controller.class.php
Go to the documentation of this file.
1
<?php
10
class
module_out_controller
extends
module_abstract
{
11
12
protected
$module
;
13
14
protected
function
afterInit
() {
15
$t =
factory::get
(
'tpl'
);
16
$this->module =
factory::getModule
(
request::get
(
'module'
));
17
nReflection::callMethod
($this->module,
request::get
(
'action'
).
'Action'
,
request::get
(
'param'
));
18
}
19
20
protected
function
indexAction
($prm=null) {}
21
22
protected
function
publish
() {
23
return
$this->module->publish();
24
}
25
26
}
module_out_controller\indexAction
indexAction($prm=null)
Definition:
nyro/module/out/controller.class.php:20
request\get
static get($get=null)
Definition:
request.class.php:387
factory\getModule
static getModule($name, array $cfg=array(), &$scaffold=false, $allowScaffold=true)
Definition:
factory.class.php:227
module_abstract
Definition:
module/abstract.class.php:10
module_out_controller\publish
publish()
Definition:
nyro/module/out/controller.class.php:22
module_out_controller\afterInit
afterInit()
Definition:
nyro/module/out/controller.class.php:14
module_out_controller\$module
$module
Definition:
nyro/module/out/controller.class.php:12
nReflection\callMethod
static callMethod($object, $function, $args=array())
Definition:
nReflection.class.php:97
module_out_controller
Definition:
nyro/module/out/controller.class.php:10
factory\get
static get($className, array $cfg=array())
Definition:
factory.class.php:192
Generated on Sun Oct 15 2017 22:25:20 for nyroFwk by
1.8.13