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

Public Member Functions

 find_phone_operator_prefix ($phone_number, $country_id)
 Search for phone prefix in phone number without country prefix.

Protected Attributes

 $belongs_to = array('phone_operator')

Member Function Documentation

Phone_operator_prefix_Model::find_phone_operator_prefix (   $phone_number,
  $country_id 
)

Search for phone prefix in phone number without country prefix.

Author
Ondřej Fibich
Parameters
string$phone_numberTelephone number with operator prefix
integer$country_idCountry ID of prefix
Returns
mixed Country ID or FALSE

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