current_url — Get the current URL with query parameters appended.

Navigation-related functions

Summary

current_url(array $params = array())

Get the current URL with query parameters appended.

Instantiates view helpers directly because a view may not be registered.

Parameters:
  • $params (array) –

Returns:

string

Usage

Examples

See Also