| Countries | |
| Author | Jaybill McCarthy |
| License | http://communit.as/docs/license |
| See Also | Cts_Db_Table_Abstract |
| Instance Variables | |
| $_name | The name of the table or view to interact with in the data source. |
| $_primary | The primary key of the table or view to interact with in the data source. |
| Instance Methods | |
| getCountriesArray | Gets an array of countries from the database. |
| getRegionsArray | Gets an array of regions from the database. |
public function getCountriesArray( $nullval = "Any" )
Gets an array of countries from the database.
| nullval (optional) | A string to describe the first entry in the returned array which will have a null value. Default is “Any”. |
An array of key-value pairs representing countries.
public function getRegionsArray( $nullval = "Any" )
Gets an array of regions from the database. Typically continents.
| nullval (optional) | A string to describe the first entry in the returned array which will have a null value. Default is “Any”. |
An array of key-value pairs representing regions.
The name of the table or view to interact with in the data source.
protected $_name
The primary key of the table or view to interact with in the data source.
protected $_primary
Gets an array of countries from the database.
public function getCountriesArray( $nullval = "Any" )
Gets an array of regions from the database.
public function getRegionsArray( $nullval = "Any" )