Is there a possibility to get Zend_Navigation containers by Controller and
Action at once
or do I have to use iterator for this?
(I want to find first page which has specified controller *and* action).

My second question is:

I have a container, in xml specified like this:
<sample>
            <label>Contact</label>
            <module>default</module>
            <action>contact</action>
            <route>short</route>
</sample>

Default controller name specified in router is 'index',
but when I do:

$page->getController(); // results null

When I specify controller in xml like this:
<sample>
            <label>Contact</label>
            <module>default</module>
            <controller>index</index>
            <action>contact</action>
            <route>short</route>
</sample>

$page->getController(); // results 'index'


Is there a method, to get the default controller,
without specifying it directly in xml?

-- 
regards
takeshin
-- 
View this message in context: 
http://n4.nabble.com/Zend-Navigation-finders-tp1011572p1011572.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to