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

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