Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/pr/1497' into develop
Browse files Browse the repository at this point in the history
Forward port #1497
  • Loading branch information
weierophinney committed Jul 21, 2015
2 parents ed8bfdc + 8cae977 commit 3a3e810
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/src/modules/zend.mvc.plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -669,10 +669,16 @@ The ``Url`` helper makes this slightly more convenient:
The ``fromRoute()`` method is the only public method defined, and has the following signature:

.. code-block:: php
:linenos:
.. function:: fromRoute(string $route = null, array $params = array(), array $options = array(), boolean $reuseMatchedParams = false)

public function fromRoute($route, array $params = array(), array $options = array())
Generate url string from given parameters:

:param string $name: The name of the route you want to output
:param array $params: An array of parameters that is defined within the respective route configuration
:param array $options: An array of options that will be used to create the URL (e.g., force_canonical, query)
:param boolean $reuseMatchedParams: A flag indicating if the currently matched route parameters should be used when generating the new URL

:rtype: ``string``

.. note::

Expand Down

0 comments on commit 3a3e810

Please sign in to comment.