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

implements #219: Show all routing parameters #220

Merged
merged 4 commits into from
Sep 8, 2016

Conversation

samsonasik
Copy link
Contributor

@RalfEggert here we go. also fixes the zdt-toolbar-info-redundant class that only show last record.

@samsonasik
Copy link
Contributor Author

Fixes #219

'controller' => ($match === null) ? 'N/A' : $match->getParam('controller', 'N/A')
'controller' => ($match === null) ? 'N/A' : $match->getParam('controller', 'N/A'),
'other_route_parameters' => ($match === null) ? 'N/A' : array_filter($match->getParams(), function ($key) {
return $key !== 'action' && $key !== 'controller';
Copy link
Contributor

Choose a reason for hiding this comment

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

Usage of in_array should improve readability.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

implemented.

@weierophinney weierophinney added this to the 1.1.1 milestone Sep 8, 2016
@weierophinney weierophinney self-assigned this Sep 8, 2016
@weierophinney weierophinney merged commit 83ac341 into zendframework:master Sep 8, 2016
weierophinney added a commit that referenced this pull request Sep 8, 2016
implements #219: Show all routing parameters
weierophinney added a commit that referenced this pull request Sep 8, 2016
weierophinney added a commit that referenced this pull request Sep 8, 2016
weierophinney added a commit that referenced this pull request Sep 8, 2016
@weierophinney
Copy link
Member

Thanks, @samsonasik

@samsonasik samsonasik deleted the all-route-parameters branch September 8, 2016 14:01
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