LJ::Schools::determine_location_opts

LJ::Schools::determine_location_opts — Internal; used to perform the logic to determine the location codes to use for a record based on the inputs.

Use

LJ::Schools::determine_location_opts(opts);

Arguments

  • opts. Hashref; should contain some combination of city, country, state, citycode, countrycode, statecode. The codes trump the non-code arguments.

Source:

cgi-bin/schoollib.pl

Returns:

list of: countrycode, statecode, citycode. empty list on error.