+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
class CRM_Admin_Form_Setting_Mapping extends CRM_Admin_Form_Setting {
/**
- * Build the form object
+ * Build the form object.
*
* @return void
*/
}
/**
- * Global form rule
+ * Global form rule.
*
- * @param array $fields the input form values
+ * @param array $fields
+ * The input form values.
*
- * @return true if no errors, else array of errors
- * @static
+ * @return bool|array
+ * true if no errors, else array of errors
*/
public static function formRule($fields) {
$errors = array();
}
/**
- * This function is used to add the rules (mainly global rules) for form.
+ * add the rules (mainly global rules) for form.
* All local rules are added near the element
*
- * @param null
- *
* @return void
*/
public function addRules() {
$this->addFormRule(array('CRM_Admin_Form_Setting_Mapping', 'formRule'));
}
+
}