FreenetIS
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Phone_operator_Model Class Reference
Inheritance diagram for Phone_operator_Model:
ORM

Public Member Functions

 get_all ()
 Gets all records.
 get_grouped_prefixes ($phone_operator_id=NULL)
 Gets grouped prefixes of phone operators.

Static Public Member Functions

static is_sms_enabled_for ($phone_number)
 Check if SMS are enavled for given phone number.

Protected Attributes

 $belongs_to = array('country')
 $has_many = array('phone_operator_prefixes')

Member Function Documentation

Phone_operator_Model::get_all ( )

Gets all records.

Returns
Mysql_Result
Phone_operator_Model::get_grouped_prefixes (   $phone_operator_id = NULL)

Gets grouped prefixes of phone operators.

Parameters
integer$phone_operator_id
Returns
string
static Phone_operator_Model::is_sms_enabled_for (   $phone_number)
static

Check if SMS are enavled for given phone number.

Country_Model $country_m Phone_operator_prefix_Model $prefix_m Phone_operator_Model $operator_m

Parameters
string$phone_numberPhone number with all prefixes
Returns
boolean

The documentation for this class was generated from the following file: