* Build all the data structures needed to build the form
*
* @return void
- * @access public
*/
- function preProcess() {
+ public function preProcess() {
/*
* initialize the task and row fields
*/
/**
* Build the form object
*
- * @access public
*
* @return void
*/
- function buildQuickForm() {
+ public function buildQuickForm() {
$ufGroupId = $this->get('ufGroupId');
if (!$ufGroupId) {
/**
* Set default values for the form.
*
- * @access public
*
* @return array
*/
- function setDefaultValues() {
+ public function setDefaultValues() {
if (empty($this->_fields)) {
return;
}
/**
* 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) {
/**
* Process the form after the input has been submitted and validated
*
- * @access public
*
* @return void
*/
/**
* 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)) {
}
}
}
-