views::viewed_p (public)

 views::viewed_p [ -object_id object_id ] [ -user_id user_id ] \
    [ -type type ]

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

Returns whether an object was viewed by specified user.

Switches:
-object_id (optional)
viewed object id
-user_id (optional, defaults to "0")
viewing user id
-type (optional)
filter results by type
Returns:
boolean value

Partial Call Graph (max 5 caller/called nodes):
%3 test_view_api_test_with_type view_api_test_with_type (test views) views::viewed_p views::viewed_p test_view_api_test_with_type->views::viewed_p test_view_api_test_without_type view_api_test_without_type (test views) test_view_api_test_without_type->views::viewed_p ad_conn ad_conn (public) views::viewed_p->ad_conn db_string db_string (public) views::viewed_p->db_string

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