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_number | Number with prefix |
- Returns
- integer ID or zero if cannot find nuber in database
The documentation for this class was generated from the following file:
- private_users_contact.php