*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
/**
- * This file is for Case search
+ * This file is for Case search.
*/
class CRM_Case_Form_Search extends CRM_Core_Form_Search {
/**
* Processing needed for buildForm and later.
- *
- * @return void
*/
public function preProcess() {
$this->set('searchFormName', 'Search');
/**
* Build the form object.
- *
- *
- * @return void
*/
public function buildQuickForm() {
parent::buildQuickForm();
* done.
* The processing consists of using a Selector / Controller framework for getting the
* search results.
- *
- * @param
- *
- * @return void
*/
public function postProcess() {
if ($this->_done) {
}
/**
- * add the rules (mainly global rules) for form.
+ * Add the rules (mainly global rules) for form.
+ *
* All local rules are added near the element
*
- * @return void
* @see valid_date
*/
public function addRules() {
* @param array $fields
* Posted values of the form.
*
- * @return void
+ * @return array|bool
*/
public static function formRule($fields) {
$errors = array();