/**
* The set of all columns in the report. An associative array
- * with column name as the key and attribues as the value
+ * with column name as the key and attributes as the value
*
* @var array
*/
protected $_selectedTables;
/**
- * Outputmode e.g 'print', 'csv', 'pdf'
+ * Output mode e.g 'print', 'csv', 'pdf'
* @var string
*/
protected $_outputMode;
/**
* Setter for $_id
*
- * @param int $instanceid
+ * @param int $instanceID
*/
- public function setID($instanceid) {
- $this->_id = $instanceid;
+ public function setID($instanceID) {
+ $this->_id = $instanceID;
}
/**
}
/**
- * a formrule function to ensure that fields selected in group_by
+ * A form rule function to ensure that fields selected in group_by
* (if any) should only be the ones present in display/select fields criteria;
* note: works if and only if any custom field selected in group_by.
- * @param $fields
+ * @param array $fields
* @param array $ignoreFields
*
* @return array
}
/**
- * Adds group filters to _columns (called from _Constuct
+ * Adds group filters to _columns (called from _Construct
*/
public function buildGroupFilter() {
$this->_columns['civicrm_group']['filters'] = array(
* Generate where clause.
* This can be overridden in reports for special treatment of a field
*
- * @param string $field Field name
+ * @param array $field Field specifications
* @param string $op Query operator (not an exact match to sql)
* @param mixed $value
* @param float $min
/**
* @todo - could not find any instances where this is called
*
- * @param unknown_type $relative
+ * @param bool $relative
* @param string $from
* @param string_type $to
*
/**
* Check for empty order_by configurations and remove them; also set
* template to hide them.
+ *
+ * @param array $formValues
*/
public function preProcessOrderBy(&$formValues) {
// Object to show/hide form elements