<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
/**
- * the params that are sent to the query
+ * The params that are sent to the query
*
* @var array
- * @access protected
*/
protected $_queryParams;
/**
- * are we restricting ourselves to a single contact
+ * Are we restricting ourselves to a single contact
*
- * @access protected
* @var boolean
*/
protected $_single = FALSE;
/**
- * are we restricting ourselves to a single contact
+ * Are we restricting ourselves to a single contact
*
- * @access protected
* @var boolean
*/
protected $_limit = NULL;
protected $_defaults;
/**
- * prefix for the controller
+ * Prefix for the controller
*
*/
protected $_prefix = "contribute_";
/**
- * processing needed for buildForm and later
+ * Processing needed for buildForm and later
*
* @return void
- * @access public
*/ function preProcess() {
$this->set('searchFormName', 'Search');
$this->assign('contributionSummary', $this->get('summary'));
}
- function setDefaultValues() {
+ public function setDefaultValues() {
if (empty($this->_defaults
['contribution_status'])) {
$this->_defaults['contribution_status'][1] = 1;
/**
* Build the form object
*
- * @access public
*
* @return void
*/
- function buildQuickForm() {
+ public function buildQuickForm() {
parent::buildQuickForm();
// text for sort_name
$this->addElement('text',
* @param
*
* @return void
- * @access public
*/
- function postProcess() {
+ public function postProcess() {
if ($this->_done) {
return;
}
$controller->run();
}
- function fixFormValues() {
+ public function fixFormValues() {
// if this search has been forced
// then see if there are any get values, and if so over-ride the post values
// note that this means that GET over-rides POST :)
* Return a descriptive name for the page, used in wizard header
*
* @return string
- * @access public
*/
public function getTitle() {
return ts('Find Contributions');
}
}
-