LJ::Schools::get_pending

LJ::Schools::get_pending — Returns the next "potentially good" set of records to be processed.

Use

LJ::Schools::get_pending(uobj, country, state, city);

Arguments

  • uobj. User id or object of user doing the admin work.

  • country. Optional. Country school is in.

  • state. Optional. State school is in, or nothing for undefined state.

  • city. Optional. City school is in.

Source:

cgi-bin/schoollib.pl

Returns:

Hashref; keys being 'primary' with a value of a school hashref, and 'secondary', 'tertiary' with values being a hashref of { pendid => { ..school.. } }, where the school hashref contains name, citycode, statecode, countrycode, url, userid. Undef on error.