Name

foundatsite — return a list of other sites where this model can be found

Synopsis

use Wacs;
use Wacs::WacsStd;
scalar foundatsite(...); 
 

Parameters

parameterdescription
modelnoThe model number we want the results for
sitedescHow the site should be described - initially only ref is accepted. In due course, other options like shortname should also be acceptable.
linkdestThe application to link to - for instance wacsmodt
itemsepHow to seperate the items - ie , (comma, space) or more complex HTML like >/li<>li< to make them list items
textcolourThe colour to use for the link - typically a call to conf_get_attr("colours","mastheadforeground").
dbhandlethe database session object pointer

Summary

The foundatsite function lists the sites where the specificed model may be found. This is useful in describing the model and in linking to other similar models. This information is normally part of the masthead of a model page, but may well be used in other places too.

Availability

This is a new function in Wacs 0.9.2 - it was an integral part of the code of wacsmodelpage in earlier versions. It is currently only implemented in perl.