comment fixes
[civicrm-core.git] / CRM / Profile / Selector / Listings.php
index 4927be34ac6d1eeea99e63c1ce39c844af48ae4e..565ee4b9583d3d114f3ee49ead484d9d498d1dc8 100644 (file)
@@ -384,7 +384,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   /**
    * Returns total number of rows for the query.
    *
-   * @param
+   * @param int $action
    *
    * @return int
    *   Total number of rows
@@ -438,6 +438,8 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
    * @param string $output
    *   What should the result set include (web/email/csv).
    *
+   * @param string $extraWhereClause
+   *
    * @return int
    *   the total number of rows for this action
    */
@@ -743,8 +745,11 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   }
 
   /**
-   *  set the _multiRecordTableName to display the result set.
-   *  according to multi record custom field values
+   *  Set the _multiRecordTableName to display the result set.
+   *
+   *  (according to multi record custom field values).
+   *
+   * @param array $fields
    */
   public function setMultiRecordTableName($fields) {
     $customGroupId = $multiRecordTableName = NULL;
@@ -772,7 +777,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
             $this->_multiRecordTableName
               = $multiRecordTableName = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomGroup', $customGroupId, 'table_name');
             if ($multiRecordTableName) {
-              return NULL;
+              return;
             }
           }
 
@@ -784,7 +789,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
     }
 
     if (!isset($customGroupId) || !$customGroupId) {
-      return NULL;
+      return;
     }
 
     //if the field is in selector and not a searchable field