The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

AxKit::App::TABOO::Data::Plurals::Categories - Data objects to handle multiple Categories in TABOO

DESCRIPTION

Often, you want to retrieve many different categories from the data store, for example all of a certain type. This is a typical situation where this class shoule be used.

Methods

new()

The constructor. Nothing special.

load(what = fields, limit => {key => value, [...]})>

It takes a hashref where the keys are data storage names and the values are corresponding values to retrieve. These will be combined by logical AND. It will retrieve the data, and then call populate() for each of the records retrieved to ensure that the plural data objects actually consists of an array of AxKit::App::TABOO::Data::Categorys. But it calls the internal _load()-method to do the hard work (and that's in the parent class).

BUGS/TODO

This has been tested more than the other Plural classes, and seems to do it's job.

FORMALITIES

See AxKit::App::TABOO.