ZF-8922: Adding an Anchor property to Zend_Navigation_Page_Mvc
Description
Currently, Zend_Navigation_Page_Mvc has no way of appending an anchor link, such as http://example.com/About#who, without subclassing the framework, or using the more general but less useful Zend_Navigation_Page_Uri.
I think it'd be a good idea to add an "anchor" field to Zend_Navigation_Page_Mvc. That way, the above url could be generated from:
Blah
Aboutindexwho
Comments
Posted by Billy O'Neal (billyoneal) on 2010-04-05T12:00:00.000+0000
This feature is still missing in 1.10.
Posted by Kai Uwe (kaiuwe) on 2011-02-15T00:25:47.000+0000
The patch should include the following points:
Update:
This is not an "anchor"! It is a "fragment identifier".
Posted by Kai Uwe (kaiuwe) on 2011-06-08T10:46:03.000+0000
Another description for "fragment identifier": Wikipedia - Fragment identifier
Any comments on this?
Posted by Frank Brückner (frosch) on 2011-08-13T14:57:19.000+0000
{quote} Any comments on this? {quote} I agree with you. Here's another source: RFC 3986 - Uniform Resource Identifier (URI): Generic Syntax - 3.5. Fragment
Posted by Frank Brückner (frosch) on 2011-08-13T16:17:19.000+0000
Fix and unit tests added.
Posted by Pádraic Brady (padraic) on 2011-09-04T12:23:37.000+0000
Fixed in r24440 - ported to ZF2 via PR