Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Hide sub menus if all pages in the sub menu is hidden.#5803

Closed
riceri wants to merge 2 commits into
zendframework:masterfrom
riceri:master
Closed

Hide sub menus if all pages in the sub menu is hidden.#5803
riceri wants to merge 2 commits into
zendframework:masterfrom
riceri:master

Conversation

@riceri
Copy link
Copy Markdown
Contributor

@riceri riceri commented Feb 9, 2014

Based on ysors pull request #2925 now with tests.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need else, just return count($this->index) > 0; directly after closing bracket because already return early.

@riceri
Copy link
Copy Markdown
Contributor Author

riceri commented Feb 9, 2014

That should fix it

@weierophinney weierophinney added this to the 2.3.0 milestone Mar 3, 2014
@weierophinney
Copy link
Copy Markdown
Member

Scheduling for 2.3 as this is technically new functionality.

@weierophinney weierophinney self-assigned this Mar 5, 2014
weierophinney added a commit that referenced this pull request Mar 5, 2014
Hide sub menus if all pages in the sub menu is hidden.
weierophinney added a commit that referenced this pull request Mar 5, 2014
weierophinney added a commit that referenced this pull request Mar 5, 2014
@weierophinney
Copy link
Copy Markdown
Member

Merged to develop for release with 2.3.0.

weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
Hide sub menus if all pages in the sub menu is hidden.
weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-navigation that referenced this pull request May 15, 2015
Hide sub menus if all pages in the sub menu is hidden.
weierophinney added a commit to zendframework/zend-navigation that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants