ZF-2451: There's no direct function in FlashMessenger
Description
There's no direct function in FlashMessenger - it means that statement in documentation:
" *
Finally, most action helpers implement the method direct() which
will call a specific, default method in the helper. In the example of the FlashMessenger, it calls addMessage():
<?php
$this->_helper->FlashMessenger('We did something in the last request');
"
won't work.
Solution:
public function direct($message) { return $this->addMessage($message); }
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2008-02-14T11:20:47.000+0000
Scheduling for 1.0.4
Posted by Matthew Weier O'Phinney (matthew) on 2008-02-18T14:59:18.000+0000
Patched in trunk and release-1.0 branch.