From: Hugo Date: Thu, 29 Nov 2012 19:21:19 +0000 (-0500) Subject: Bug 579189 - New methods added to Bugzilla/User.pm by bug 24896 have no POD X-Git-Tag: bugzilla-4.0.10~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db4570f9ad4da1f32399583fe7c2292bb85971e7;p=thirdparty%2Fbugzilla.git Bug 579189 - New methods added to Bugzilla/User.pm by bug 24896 have no POD r=dkl, a=LpSolit --- diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index f6f05d234d..e16dce002d 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -2032,6 +2032,35 @@ groups. =back +=head2 Saved Recent Bug Lists + +=over + +=item C + +Returns an arrayref of L objects +containing the user's recent searches. + +=item C + +Returns a L object that contains the most recent +search by the user for the specified bug id. Retuns undef if no match is found. + +=item C + +Returns a L object that contains a search by the +user. Uses the list_id of the current loaded page, or the referrer page, and +the bug id if that fails. Finally it will check the BUGLIST cookie, and create +an object based on that, or undef if it does not exist. + +=item C + +Saves the users most recent search in the database if logged in, or in the +BUGLIST cookie if not logged in. Parameters are bug_ids, order, vars and +list_id. + +=back + =head2 Account Lockout =over