CRM_Contact_BAO_Contact_Location
class CRM_Contact_BAO_Contact_Location
Methods
static array
getEmailDetails(int $id, bool $isPrimary = TRUE, int $locationTypeID = NULL)
Get the display name, primary email, location type and location id of a contact.
static array
getPhoneDetails(int $id, null $type = NULL)
Get the sms number and display name of a contact.
static null|string
getMapInfo(array $ids, int $locationTypeID = NULL, bool $imageUrlOnly = FALSE)
Get the information to map a contact.
Details
at line 47
static array
getEmailDetails(int $id, bool $isPrimary = TRUE, int $locationTypeID = NULL)
Get the display name, primary email, location type and location id of a contact.
at line 86
static array
getPhoneDetails(int $id, null $type = NULL)
Get the sms number and display name of a contact.
at line 125
static null|string
getMapInfo(array $ids, int $locationTypeID = NULL, bool $imageUrlOnly = FALSE)
Get the information to map a contact.