Esempio n. 1
0
 /**
  * @param PluginBootstrap $bootstrap
  */
 public function __construct($bootstrap)
 {
     $this->bootstrapPath = $bootstrap->Path();
     $this->bootstrap = $bootstrap;
 }
Esempio n. 2
0
 /**
  * @param ActionEventArgs $args
  */
 public function onPostDispatchSecureBackendIndex(ActionEventArgs $args)
 {
     $view = $args->getSubject()->View();
     $view->addTemplateDir($this->bootstrap->Path() . 'Views/');
     $view->extendsTemplate('backend/custom_sort/header.tpl');
 }