Package

ViewHelpers

ViewHelper Documentation

format.urlencode

Encodes the given string according to http://www.faqs.org/rfcs/rfc3986.html (applying PHPs rawurlencode() function) Note: The output is not escaped. You may have to ensure proper escaping on your own.

= Examples =

foo%20%40%2B%25%2F (rawurlencode() applied)

{text -> f:format.urlencode()} Url encoded text (rawurlencode() applied)

Arguments

value string

string to format

ViewHelper Resources

Schema Resources