cmple wrote
>
> public function init(Manager $moduleManager)
> {
> $events = StaticEventManager::getInstance();
> $events->attach('bootstrap', 'bootstrap', array($this,
> 'initializeView'), 100);
> *$events->attach('bootstrap', 'bootstrap', array($this,
> 'wireJsonStrategy'), 101);*
> }
>
Higher the priority, than earlier process ...
Try it with:
$events->attach('bootstrap', 'bootstrap', array($this, 'wireJsonStrategy'));
-----
Hasan H. Gürsoy (HHGAG)
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/ZF2-contextSwitch-to-json-tp4418147p4420789.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]