class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task {
/**
- * Build the form
+ * Build the form object
*
* @access public
*
}
/**
- * Function to build the form
+ * Build the form object
*
* @access public
*
}
/**
- * process the form after the input has been submitted and validated
+ * Process the form after the input has been submitted and validated
*
* @access public
*
$status[] = ts('%count relationship was not created because the contact is not of the right type for this relationship', array('count' => $invalid, 'plural' => '%count relationships were not created because the contact is not of the right type for this relationship'));
}
$status = '<ul><li>' . implode('</li><li>', $status) . '</li></ul>';
- CRM_Core_Session::setStatus($status, ts('Relationship Created', array('count' => $valid, 'plural' => 'Relationships Created')), 'success', array('expires' => 0));
+ CRM_Core_Session::setStatus($status, ts('Relationship created.', array('count' => $valid, 'plural' => 'Relationships created.')), 'success', array('expires' => 0));
}
}
/**
* This function is to get the result of the search for Add to * forms
*
- * @param $form
+ * @param CRM_Core_Form $form
* @param array $params This contains elements for search criteria
*
* @access public