public function onBackendOrderPostDispatch(Enlight_Event_EventArgs
$args) { /** @var Enlight_View_Default $view */
$view =
$args->
getSubject()->
View();
// if the controller action name equals "load" we have to load all application components
if ($args->
getRequest()->
getActionName() === 'load'
) { $view->
addTemplateDir($this->
Path() . 'Views/emotion/'
);
$view->
extendsTemplate( 'backend/order/payment_methods/controller/detail.js'
);
$view->
extendsTemplate( 'backend/order/payment_methods/view/detail/payment_methods.js'
);
} } /**
* Called when the BackendCustomerPostDispatch Event is triggered
*
* @return void
*/