nyroFwk  0.2
nyro/module/out/controller.class.php
Go to the documentation of this file.
1 <?php
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 }
static get($get=null)
static getModule($name, array $cfg=array(), &$scaffold=false, $allowScaffold=true)
static callMethod($object, $function, $args=array())
static get($className, array $cfg=array())
Generated on Sun Oct 15 2017 22:25:20 for nyroFwk by doxygen 1.8.13