** WPSC_Region class **

Access all information about a region by creating a WPSC_Region object.  No longer a need to do database queries to WPSC_TABLE_REGION_TAX. Information is retrieved from the WPSC_Countries object which maintains a cache used by a geographic classes.

Creating a region object:
new WPSC_Region ( $country_id_or_isocode, $region_id_or_code )

As an example, you can find all about massachussets my doing any of the following,
$ma = new WPSC_Region ( ‘US’, ‘MA’ );
$ma = new WPSC_Region ( ‘US’, 34 );
$ma = new WPSC_Region ( 136, ‘MA’ );
$ma = new WPSC_Region ( 136, 34 );
$ma = new WPSC_Region ( null, ‘34’ );

The class can also be used to create a new region in the database:
$ma = WPSC_Region( ‘US’,, array( 'code' => 'MA', 'name' => 'Massachussets ', 'tax' => 6.5, );