<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
/**
* Returns total number of rows for the query.
*
- * @param
+ * @param int $action
*
* @return int
* Total number of rows
* @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
*/
}
/**
- * 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;
$this->_multiRecordTableName
= $multiRecordTableName = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomGroup', $customGroupId, 'table_name');
if ($multiRecordTableName) {
- return NULL;
+ return;
}
}
}
if (!isset($customGroupId) || !$customGroupId) {
- return NULL;
+ return;
}
//if the field is in selector and not a searchable field