Module "contact"
Description
Available methods
- array get_by_id
- array get_by_user
Details
array get_by_id
Retrieve all information associated to a contact by supplying
its ID
Parameters
- int $id The contact ID
Returns
- array $info Array containing all the contact information
array get_by_user
Retrieve all contacts associated to a specific user. The
returned array will contain all information you would get when
making a single call.
Parameters
- int $user_id The user to get contacts for
Returns
- array $contacts An array containing all contacts