Issues

ZF-2451: There's no direct function in FlashMessenger

Issue Type: Bug Created: 2008-01-18T01:30:19.000+0000 Last Updated: 2008-02-26T12:56:03.000+0000 Status: Resolved Fix version(s): - 1.0.4 (26/Feb/08)

Reporter: Marián Beszéde? (beszedes) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Controller

Related issues: Attachments:

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts