mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Register event handlers and custom namespaces defined in module.xml
This commit is contained in:
parent
d0306df095
commit
acc1117d26
4 changed files with 119 additions and 0 deletions
|
|
@ -61,6 +61,27 @@ class installAdminController extends install
|
|||
return $output;
|
||||
}
|
||||
|
||||
$output = $oModuleController->registerEventHandlers($module_name);
|
||||
if($output instanceof BaseObject && !$output->toBool())
|
||||
{
|
||||
Rhymix\Framework\Session::start();
|
||||
return $output;
|
||||
}
|
||||
|
||||
$output = $oModuleController->registerNamespaces($module_name);
|
||||
if($output instanceof BaseObject && !$output->toBool())
|
||||
{
|
||||
Rhymix\Framework\Session::start();
|
||||
return $output;
|
||||
}
|
||||
|
||||
$output = $oModuleController->registerPrefixes($module_name);
|
||||
if($output instanceof BaseObject && !$output->toBool())
|
||||
{
|
||||
Rhymix\Framework\Session::start();
|
||||
return $output;
|
||||
}
|
||||
|
||||
Rhymix\Framework\Session::start();
|
||||
$this->setMessage('success_updated');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue