Name

geticonlist — return the array of attributes to filename/long name mappings.

Synopsis

use Wacs;
hashref geticonlist(requested_object,  
 database_handle); 
scalar requested_object;
scalar database_handle;
 

Summary

The geticonlist function returns an array/ hashref of the legal values for the requested type object. In some cases this will be the filenames of the icon for the attributes; in other cases it'll be the single character legal values and their long form names. The second parameter is a database handle to use in querying the database for these values; without this a very basic hardcoded default will be provided. The requests currently using the database handle are models and sets.

Valid requests include: models, sets, types, media, dstatus, regions, flags, pussy, build, rank and picon, hicon, ticon, bicon.

Availability

geticonlist is available in both perl and php. The picon attribute was added in Wacs 0.8.2. The build and bicon attributes were added in Wacs 0.8.6. The rank attribute was added in Wacs 0.9.0.