00001 <?php 00010 class module_out_controller extends module_abstract { 00011 00012 protected $module; 00013 00014 protected function afterInit() { 00015 $t = factory::get('tpl'); 00016 $this->module = factory::getModule(request::get('module')); 00017 nReflection::callMethod($this->module, request::get('action').'Action', request::get('param')); 00018 } 00019 00020 protected function indexAction($prm=null) {} 00021 00022 protected function publish() { 00023 return $this->module->publish(); 00024 } 00025 00026 }
1.7.1