Documentation · ViewHelper reference

XSD schema file | vhs 2.4.0

Render / UncacheViewHelper

Uncaches partials. Use like f:render. The partial will then be rendered each time. Please be aware that this will impact render time. Arguments must be serializable and will be cached.

  • Tag usage example

    <v:render.uncache partial="foo" section="NULL" arguments="{foo: 'bar'}">
    	<!-- tag content - may be ignored! -->
    </v:render.uncache>
  • Inline usage example

    {v:render.uncache(partial: 'foo', section: 'NULL', arguments: {foo: 'bar'})}

Arguments

Argument Description Type
arguments

Arguments to pass to the partial.

array
partial

Reference to a partial.

string
section

Name of section inside the partial to render.

string
Required attribute

Revision history

commit 0cb725b5cb7d89d0e1bd6b3fb936f4d1fa952f43
Author: Danilo Bürger <*****@hmspl.de>
Date:   Sat Dec 14 22:33:10 2013 +0100

    [FEATURE] Uncache vh

commit f60c0b669ed144860df4ef4d3bc4e751e490a40e
Author: Danilo Bürger <*****@hmspl.de>
Date:   Sun Dec 15 01:02:05 2013 +0100

    [DOC] Updated uncache doch

commit 98699baf7bc006deaba293d4b2ef34997c49c03e
Author: Danilo Bürger <*****@hmspl.de>
Date:   Mon Dec 16 15:15:20 2013 +0100

    [BUGFIX] Fixed uncache

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 12ff0ddfb8d36c51f2d3befde7ae812177c80d5d
Author: Xaver Maierhofer <*****@xwissen.info>
Date:   Wed Jun 11 00:01:47 2014 +0200

    [TASK] CGL remove use leading backslash
    PHP Docs
    Note that for namespaced names (fully qualified namespace names containing namespace separator, such as Foo\Bar as opposed to global names that do not, such as FooBar),
    the leading backslash is unnecessary and not recommended, as import names must be fully qualified, and are not processed relative to the current namespace.

commit 4981055359c895f3869e5bd878293b3c15ed26e5
Author: Xaver Maierhofer <*****@xwissen.info>
Date:   Sun Jan 18 14:01:04 2015 +0100

    [TASK] CGL - Define classes, params, use imports

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

    [TASK] Reference Copyright to license.md file