moved nav view helpers into \Zend\Navigation namespace#2199
Conversation
|
I think it's a bad idea to be changing namespaces this late in the rc On Sunday, August 19, 2012, Matt Cockayne wrote:
Matthew Weier O'Phinney |
|
I appreciate that it is rather late in the process... but when would be a good time is the question I will ask??? Once it hits stable then the ability to make a change like this becomes that much harder. |
|
3.0. Which will be in 18-24 months. Yes, this is a good change. However, the time to have made it is past when On Sunday, August 19, 2012, Matt Cockayne wrote:
Matthew Weier O'Phinney |
|
Alternately, retain the original classes in the view component, and have On Sunday, August 19, 2012, Matthew Weier O'Phinney wrote:
Matthew Weier O'Phinney |
|
Ok... so if I refactor to ensure no BC breaks, am I in with a chance of getting this accepted |
|
Yes. On Sunday, August 19, 2012, Matt Cockayne wrote:
Matthew Weier O'Phinney |
|
have re-factored and submitted new pull request (#2201) which should offer the best of both worlds by offering the updates I've made and the keeping the proxy to maintain BC |
I have now moved the Navigation view helpers into the \Zend\Navigation namespaces and folders.
This now logically groups the helpers in the same way that we have done with the form view helpers.
I have also modified the helpers so that it is no longer necessary to proxy through the navigation helper and you may directly call
$this->menu($container);
$this->breadcrumbs($container);
$this->links($container);
$this->sitemap($container);