views::get (public)

 views::get [ -object_id object_id ]

Defined in packages/views/tcl/views-procs.tcl

Return an array (which you have to set with "array set your_array [views::get -object_id $object_id]") with the elements:

  • views_count
  • unique_views
  • last_viewed

Switches:
-object_id
(optional)
ID of the object for which you want to return the views

Partial Call Graph (max 5 caller/called nodes):
%3 test_view_api_test_with_type view_api_test_with_type (test views) views::get views::get test_view_api_test_with_type->views::get test_view_api_test_without_type view_api_test_without_type (test views) test_view_api_test_without_type->views::get db_0or1row db_0or1row (public) views::get->db_0or1row db_foreach db_foreach (public) views::get->db_foreach packages/file-storage/www/folder-chunk.tcl packages/file-storage/ www/folder-chunk.tcl packages/file-storage/www/folder-chunk.tcl->views::get xowiki::Page instproc www-view xowiki::Page instproc www-view (public) xowiki::Page instproc www-view->views::get

Testcases:
view_api_test_without_type, view_api_test_with_type
[ show source ]
Show another procedure: