Protected Attributes |
| $has_many = array('address_points', 'phone_operators') |
| $has_and_belongs_to_many = array('contacts') |
Member Function Documentation
Country_Model::enable_countries |
( |
|
$countries | ) |
|
Enable countries to use.
- Author
- David Raška
- Parameters
-
Country_Model::find_country_by_area |
( |
|
$area | ) |
|
Finds country by area (in VoIP)
- Author
- Michal Kliment
- Parameters
-
- Returns
- MySQL_Result object
Country_Model::find_phone_country |
( |
|
$phone_number | ) |
|
Search for phone prefix in country table.
- Author
- Ondřej Fibich
- Parameters
-
string | $phone_number | Telephone number with prefix |
- Returns
- mixed Country or FALSE
Country_Model::find_phone_country_code |
( |
|
$phone_number | ) |
|
Search for phone prefix in country table.
- Author
- Ondřej Fibich
- Parameters
-
string | $phone_number | Telephone number with prefix |
- Returns
- integer Country code or zero
Country_Model::find_phone_country_id |
( |
|
$phone_number | ) |
|
Search for phone prefix in country table.
- Author
- Ondřej Fibich
- Parameters
-
string | $phone_number | Telephone number with prefix |
- Returns
- mixed Country ID or FALSE
Country_Model::select_country_code_list |
( |
| ) |
|
Gets list of countries for combo box only with country code.
- Returns
- array
Country_Model::select_country_list |
( |
| ) |
|
Gets list of countries for combo box.
- Returns
- array
The documentation for this class was generated from the following file: