module/Applications/src/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
|
@@ 160-166 (lines=7) @@
|
157 |
|
/** |
158 |
|
* Attaches default listeners to the event manager. |
159 |
|
*/ |
160 |
|
protected function attachDefaultListeners() |
161 |
|
{ |
162 |
|
parent::attachDefaultListeners(); |
163 |
|
|
164 |
|
$events = $this->getEventManager(); |
165 |
|
$events->attach(MvcEvent::EVENT_DISPATCH, array( $this, 'preDispatch' ), 100); |
166 |
|
} |
167 |
|
|
168 |
|
/** |
169 |
|
* Creates a view model |