<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
class CRM_Contact_BAO_Contact_Location {
/**
- * function to get the display name, primary email, location type and location id of a contact
+ * Get the display name, primary email, location type and location id of a contact
*
- * @param int $id id of the contact
+ * @param int $id id of the contact
+ *
+ * @param bool $isPrimary
+ * @param int $locationTypeID
*
* @return array of display_name, email, location type and location id if found, or (null,null,null, null)
* @static
}
/**
- * function to get the sms number and display name of a contact
+ * Get the sms number and display name of a contact
+ *
+ * @param int $id id of the contact
*
- * @param int $id id of the contact
+ * @param null $type
*
* @return array tuple of display_name and sms if found, or (null,null)
* @static
}
/**
- * function to get the information to map a contact
+ * Get the information to map a contact
*
- * @param array $ids the list of ids for which we want map info
+ * @param array $ids the list of ids for which we want map info
* $param int $locationTypeID
*
+ * @param int $locationTypeID
+ * @param bool $imageUrlOnly
+ *
* @return null|string display name of the contact if found
* @static
* @access public