module/Applications/src/Applications/Controller/ApplyController.php 1 location
|
@@ 86-92 (lines=7) @@
|
83 |
|
} |
84 |
|
|
85 |
|
|
86 |
|
public function attachDefaultListeners() |
87 |
|
{ |
88 |
|
parent::attachDefaultListeners(); |
89 |
|
$events = $this->getEventManager(); |
90 |
|
$events->attach(MvcEvent::EVENT_DISPATCH, array($this, 'preDispatch'), 10); |
91 |
|
return $this; |
92 |
|
} |
93 |
|
|
94 |
|
public function preDispatch(MvcEvent $e) |
95 |
|
{ |
module/Install/src/Controller/Index.php 1 location
|
@@ 151-157 (lines=7) @@
|
148 |
|
/** |
149 |
|
* Attaches default listeners to the event manager. |
150 |
|
*/ |
151 |
|
protected function attachDefaultListeners() |
152 |
|
{ |
153 |
|
parent::attachDefaultListeners(); |
154 |
|
|
155 |
|
$events = $this->getEventManager(); |
156 |
|
$events->attach( MvcEvent::EVENT_DISPATCH, array( $this, 'preDispatch' ), 100 ); |
157 |
|
} |
158 |
|
|
159 |
|
/** |
160 |
|
* Creates a view model |