Name

alsofeaturing — look for any other models also featuring in this set

Synopsis

use Wacs;
use Wacs::WacsUI;
scalar alsofeaturing(...); 
 

Parameters

parameterdescription
setnoThe set number of this set
primaryThe model number we already know about for this set; exclude this model from the results. Leave blank if you want all models listed.
staysmallstay in a small font - if this is set to Y font change specifications will not cause a size change.
destlocthe location of the destination application for the link. This defaults to cgiurl but can be baseurl or any of the url configuration values.
linktowhich wacs application to link to (assumed to be in cgi-bin). If this ends in an equals sign (=) no slash will be added between the application name and the modelno. This allows modelno= and L= style arguments.
skipbrtells the function not to output HTML breaks around the output it creates. This can be first or all as required.
dbhandlecurrent handle to the database connection

Summary

The alsofeaturing function returns a list of models featured in this set along with links to an appropriate WACS application.

To aid CSS styling there is a span directive with a class of alsofeattitle around the Featuring or Also Featuring title output, and another with a class of alsofeatmodel around each model link output.

Availability

alsofeaturing is available in both perl and php (from release 0.8.5); only in perl in the releases prior to that. It was moved to WacsUI in release 0.8.5 from the core Wacs module. The skipbr and destloc parameters were added in Wacs release 0.8.5.