ez.no / exponential / documentation / reference / data fetching / content / object_count_by_user_id
fetch( 'content', 'object_count_by_user_id', hash( 'class_id', 1, 'user_id', 14 ) )
| Name | Type | Description | Required |
|---|---|---|---|
| class_id | integer | the class id to use for the count | yes |
| user_id | integer | the user id to use for the count | yes |
object count ( integer )
{let count=fetch( 'content', 'object_count_by_user_id',
hash( 'class_id', 1,
'user_id', 14 ) )}
Number of folders created by user 14: {$count}.
{/let}
Log in or create a user account to comment.
Comments