Name

findrecentsets — creates rows in a table managed form with pull-down menus containing details of recently added sets

Synopsis

use Wacs;
use Wacs::WacsStd;
findrecentsets(...); 
 

Parameters

parameterdescription
offsetthe number of days in the past to consider as recent. Defaults to the current value of layout->newperiod if not specified.
defaultthe default value for the set number if known.
dbhandlepointer to the currently active database handle
cgihandlepointer to the currently active CGI object

Summary

The findrecentsets function creates rows in a table managed form with pull-down menus containing details of recently added sets. The method selected by the user for specifying their response will be stored in a CGI variable called setmeth which will have a value of one of specify, image or video. If their response is specify the setno will be in a CGI variable called spec_setno. If their response is image the setno will be in a CGI variable called recent_img and for video it'll be in recent_vid.

Availability

findrecentsets is only available in perl at this time. This function was introduced in WACS 0.8.5.