bulk comment fix
[civicrm-core.git] / CRM / Contact / BAO / Contact / Location.php
index 205600ec61917877f69e5b9f7352962c9931bbbe..72fcf7b4512e7233205d3b14bc2701ff2c25e75c 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -37,7 +37,10 @@ class CRM_Contact_BAO_Contact_Location {
   /**
    * function to 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 null $locationTypeID
    *
    * @return array  of display_name, email, location type and location id if found, or (null,null,null, null)
    * @static
@@ -75,7 +78,9 @@ WHERE     civicrm_contact.id = %1";
   /**
    * function to 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
@@ -111,9 +116,12 @@ LEFT JOIN civicrm_phone ON ( civicrm_phone.contact_id = civicrm_contact.id )
   /**
    * function to 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 null $locationTypeID
+   * @param bool $imageUrlOnly
+   *
    * @return null|string     display name of the contact if found
    * @static
    * @access public