Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

AxKit::App::TABOO::Data::Plurals::Users
Data objects to handle multiple Users in TABOO

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


NAME

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


DESCRIPTION

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

Methods

new(@dbconnectargs)
The constructor. Nothing special.

load(what => fields, limit => {key => value, [...]}, orderby => fields, entries => number)
This load method can be used to retrieve a number of entries from a data store. It uses named parameters, the first what is used to determine which fields to retrieve. It is a string consisting of a commaseparated list of fields, as specified in the data store. The limit argument is to be used to determine which records to retrieve, these will be combined by logical AND. You may also supply a orderby argument, which is an expression used to determine the order of entries returned. Finally, you may supply a entries argument, which is the maximum number of entries to retrieve.

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 the AxKit::App::TABOO::Data::User manpages. But it calls the internal _load()-method to do the hard work (and that's in the parent class).

If there is no data that corresponds to the given arguments, this method will return undef.


BUGS/TODO

This is really not very well tested, it gets the users, but probably not all the information from subclasses of the singular objects.


FORMALITIES

See the AxKit::App::TABOO manpage.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy