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

Public Member Functions

 get_contact_id ($user_id, $phone_number)
 Search for users contact with specific phone number.

Protected Attributes

 $belongs_to = array('user', 'contact')

Member Function Documentation

Private_users_contact_Model::get_contact_id (   $user_id,
  $phone_number 
)

Search for users contact with specific phone number.

Parameters
integer$user_id
string$phone_numberNumber with prefix
Returns
integer ID or zero if cannot find nuber in database

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