Documentation · ViewHelper reference

XSD schema file | vhs master

Page / InfoViewHelper

ViewHelper to access data of the current page record. /

  • Tag usage example

    <v:page.info as="NULL" pageUid="123" field="NULL">
    	<!-- tag content - may be ignored! -->
    </v:page.info>
  • Inline usage example

    {v:page.info(as: 'NULL', pageUid: 123, field: 'NULL')}

Arguments

Argument Description Type
as

Template variable name to assign; if not specified the ViewHelper returns the variable instead.

string
field

If specified, only this field will be returned/assigned instead of the complete page record.

string
pageUid

If specified, this UID will be used to fetch page data instead of using the current page.

integer
Required attribute

Revision history

commit 19424d31c5326d3d38148d5d37a0887a66642dc0
Author: Björn Fromme <[email protected]>
Date:   Thu Jun 13 17:49:14 2013 +0200

    [FEATURE] Add page info ViewHelper
    
    This viewhelper can be used to access any data of the current or a specified page record.

commit 86e7eeaa49d17544cc35ea5e308312106bf2bfcd
Author: Björn Fromme <[email protected]>
Date:   Wed Jun 19 14:48:39 2013 +0200

    [TASK] Implement PageSelect service

commit 1520ce0ce31762d5cf1f1763affe4d2d76816cd7
Author: Björn Fromme <[email protected]>
Date:   Thu Oct 10 13:42:33 2013 +0200

    [TASK] Make pageInfo view helper i18n aware

commit 1860ca78c08ab1c5bab6a0438a38d620ea802f3b
Author: Danilo Bürger <[email protected]>
Date:   Mon Oct 28 22:44:32 2013 +0100

    [BUGFIX] Fixed bleeding of as in v:page.info

commit ed15bec7ec1450244979567f31ea9e8b7c3bc374
Author: Claus Due <[email protected]>
Date:   Wed Nov 6 03:21:04 2013 +0100

    [FEATURE] ViewHelperUtility for reusable methods

commit da31bad1d9bb058c072ddb5591e8ed907a1ae8e1
Author: Claus Due <[email protected]>
Date:   Tue Dec 31 23:08:37 2013 +0100

    [TASK] Happy new year!

commit d2e531da034976e6db1478eef5a8478595fd16fe
Author: Claus Due <[email protected]>
Date:   Sun Jan 5 00:45:10 2014 +0100

    [TASK] Migrate to using namespace core class names

commit da7677bc74f14e9a9300e4ba4487e52c3cb97642
Author: Claus Due <[email protected]>
Date:   Sun Apr 20 01:13:33 2014 +0200

    [TASK] Switch to namespaces

commit 8bb2fc5ee124ba19b0a0ab8e061c9a153fc4651f
Author: Xaver Maierhofer <[email protected]>
Date:   Sun Jan 18 17:56:13 2015 +0100

    [TASK] Reference Copyright to license.md file