ZF-12022: Typo in example of zend.navigation.containers.html, "Example #4 Removing pages from a container", Line 21

Issue Type: Docs: Problem Created: 2012-01-24T17:22:54.000+0000 Last Updated: 2012-02-25T20:39:06.000+0000 Status: Resolved Fix version(s): - 1.11.12 (22/Jun/12)

Reporter: Lee Simpson (frell) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Navigation

Related issues: Attachments:


In… under "Example #4 Removing pages from a container", line 21 of the example is incorrect. It reads;

$page3 = $container->findOneByAction('Page 3');

'Page 3' is the label not the action. The Action is 'page3'. So it should read;

$page3 = $container->findOneByAction('page3');


Posted by Frank Brückner (frosch) on 2012-01-25T10:47:26.000+0000

You're right. I'll fix it.

Thanks for reporting!

Posted by Adam Lundrigan (adamlundrigan) on 2012-02-25T18:46:27.000+0000

Fixed in trunk r24637 Merged to release-1.11 in r24638 ZF2 PR #839:

Have you found an issue?

See the Overview section for more details.


© 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.