[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/core/ -> last_visited_api.php (summary)

Last Visited API

Copyright: Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
Copyright: Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net
File Size: 102 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  last_visited_enabled()
  last_visited_issue()
  last_visited_get_array()

Functions
Functions that are not part of a class:

last_visited_enabled()   X-Ref
Determine if last visited feature is enabled

return: true: enabled; false: otherwise.

last_visited_issue( $p_issue_id, $p_user_id = null )   X-Ref
This method should be called from view, update, print pages for issues,
mantisconnect.

param: issue_id    The issue id that was justed visited.
param: user_id    The user id that visited the issue, or null for current

last_visited_get_array( $p_user_id = null )   X-Ref
Get an array of the last visited bug ids.  We intentionally don't check
if the ids still exists to avoid performance degradation.

param: user_id    The user id to get the last visited issues for,
return: An array of issue ids or an empty array if none found.



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7