X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FTask%2FBatch.php;h=2a9a9d9a1d469cfa61431855d4b670ea4b715aaa;hb=4eeb9a5b6f881b04411a9681ef3e8859e780616b;hp=5174dead706d9bc8c1fa40642cf920af82266a08;hpb=a335f6b228626e3e1b2f1549c8ddcbb9232b3c6b;p=civicrm-core.git diff --git a/CRM/Contact/Form/Task/Batch.php b/CRM/Contact/Form/Task/Batch.php index 5174dead70..2a9a9d9a1d 100644 --- a/CRM/Contact/Form/Task/Batch.php +++ b/CRM/Contact/Form/Task/Batch.php @@ -1,7 +1,7 @@ get('ufGroupId'); if (!$ufGroupId) { @@ -168,11 +166,10 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task { /** * Set default values for the form. * - * @access public * * @return array */ - function setDefaultValues() { + public function setDefaultValues() { if (empty($this->_fields)) { return; } @@ -198,13 +195,13 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task { /** * 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 - * @access public * @static */ - static function formRule($fields) { + public static function formRule($fields) { $errors = array(); $externalIdentifiers = array(); foreach ($fields['field'] as $componentId => $field) { @@ -226,7 +223,6 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ @@ -267,8 +263,10 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task { /** * Parse street address - * @param array $contactValues contact values - * @param CRM_Core_Form $form form object + * @param array $contactValues + * Contact values. + * @param CRM_Core_Form $form + * Form object. */ public static function parseStreetAddress(&$contactValues, &$form) { if (!is_array($contactValues) || !is_array($form->_fields)) { @@ -326,4 +324,3 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task { } } } -