Issues

ZF-3891: Controller Response - Description of appendBody functionality wrong

Issue Type: Docs: Problem Created: 2008-08-07T13:50:10.000+0000 Last Updated: 2012-05-29T16:16:35.000+0000 Status: Resolved Fix version(s): - 1.12.0 (27/Aug/12)

Reporter: Benjamin Eberlei (beberlei) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Controller

Related issues: Attachments: - bd52fd.png

Description

In 7.9.3. Named Segments it is stated that:

"setBody() and appendBody() both allow you to pass a second value, $name, indicating a named segment. In each case, if you provide this, it will overwrite that specific named segment or create it if it does not exist (appending to the array by default)."

this is not right. If the named segment already exists the new content is appended to it. As of revision:

http://framework.zend.com/code/browse/…

Comments

Posted by Thomas Weidner (thomas) on 2008-08-27T00:05:57.000+0000

Assigned to right component

Posted by Adam Lundrigan (adamlundrigan) on 2012-05-29T16:16:35.000+0000

Fixed in trunk r24822.

Preview: !bd52fd.png!

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