Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

New object attribute function "view_count" for eZContentObjectTreeNode

This new function fetches the amount of the recorded views of a node.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/features/3.8/node_view_count_function.txt

*Title: New object attribute function "view_count" for eZContentObjectTreeNode.

*Description:

This new function fetches the amount of the recorded views of a node.

*Documentation:

Fetching of related objects:

{def $node = fetch( 'content', 'node',
        hash( 'node_id', 2 ) }
Views: {$node.view_count}


Returns:
An integer representing the number of views of this node.

Something wrong on this page? Report an error

Documentation license

This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.

Copyright (C) 1999 - 2014 eZ Systems AS and contributors