*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
*/
class CRM_Report_Form_Membership_Summary extends CRM_Report_Form {
parent::preProcess();
}
- /**
- * Set default values.
- *
- * @return array
- * Default values.
- */
- public function setDefaultValues() {
- return parent::setDefaultValues();
- }
-
/**
* Generate select clause.
*/
}
/**
- * Set form rules.
- *
- * @param $fields
- * @param $files
- * @param $self
- *
- * @return array
+ * Generate from clause.
*/
- public static function formRule($fields, $files, $self) {
- $errors = $grouping = array();
- //check for searching combination of dispaly columns and
- //grouping criteria
-
- return $errors;
- }
-
public function from() {
$this->_from = NULL;
}
}
+ /**
+ * Generate where clause.
+ *
+ * @todo this looks like it duplicates the parent & could go.
+ */
public function where() {
$clauses = array();
foreach ($this->_columns as $tableName => $table) {
return $statistics;
}
+ /**
+ * Generate group by clause.
+ *
+ * @todo looks like a broken duplicate of the parent.
+ */
public function groupBy() {
$this->_groupBy = "";
if (is_array($this->_params['group_bys']) &&
}
}
+ /**
+ * PostProcess function.
+ */
public function postProcess() {
$this->_params = $this->controller->exportValues($this->_name);
if (empty($this->_params) &&