loadattrvalues — load attribute values from the database
use Wacs;
scalar loadattrvalues( | ...) ; |
parameter | description |
---|---|
type | specifies the context of the attribute values to be returned - the
common two are |
dbhandle | The handle to the active database connection to be used for the queries needed. |
The loadattrvalues
returns an hash (or array
with alphanumeric keys) containing attribute keywords and their corresponding
icons. This replaces the older static list of attributes with a dynamic
and configurable mechanism drived from the database itself. Normally the
keys themselves are keywords and the values are the corresponding icon name.