Skip to content

Instantly share code, notes, and snippets.

@magickatt magickatt/gist:8427282
Last active Jan 3, 2016

What would you like to do?
Query-based parameters in Zend Framework 2 view helper
// Output the URL in the view
echo $this->url('somewhere',
array('controller' => 'company',
array('query' =>
array('id' => $company->id)
// Access the corresponding parameter in a controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.