Documentation · ViewHelper reference

XSD schema file | vhs master

Format / Url / EncodeViewHelper

Urlencodes the provided string /

  • Tag usage example

    <v:format.url.encode content="NULL">
    	<!-- tag content - may be ignored! -->
    </v:format.url.encode>
  • Inline usage example

    {v:format.url.encode(content: 'NULL')}

Arguments

Argument Description Type
content

Content to encode for URI

string
Required attribute

Revision history

commit 3c9a57a535e78ee488a3378e5d3e330f14d9b08b
Author: Björn Fromme <*****@bjo3rn.com>
Date:   Thu May 23 12:39:43 2013 +0200

    [FEATURE] Add urlencode/-decode ViewHelpers

commit 0f3d806c40aa0e3753c8fd3afd0ab2a6c165a971
Author: Björn Fromme <*****@bjo3rn.com>
Date:   Tue May 28 13:39:18 2013 +0200

    [TASK] Use rawurlencode()/rawurldecode() to unify usage

commit da31bad1d9bb058c072ddb5591e8ed907a1ae8e1
Author: Claus Due <*****@namelesscoder.net>
Date:   Tue Dec 31 23:08:37 2013 +0100

    [TASK] Happy new year!

commit d2e531da034976e6db1478eef5a8478595fd16fe
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Jan 5 00:45:10 2014 +0100

    [TASK] Migrate to using namespace core class names

commit da7677bc74f14e9a9300e4ba4487e52c3cb97642
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Apr 20 01:13:33 2014 +0200

    [TASK] Switch to namespaces

commit 8bb2fc5ee124ba19b0a0ab8e061c9a153fc4651f
Author: Xaver Maierhofer <*****@xwissen.info>
Date:   Sun Jan 18 17:56:13 2015 +0100

    [TASK] Reference Copyright to license.md file