<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
protected $_rgid;
/**
- * Function to pre processing
+ * Pre processing
*
* @return void
* @access public
}
/**
- * Function to build the form
+ * Build the form object
*
* @return void
* @access public
}
/**
- * global validation rules for the form
+ * Global validation rules for the form
*
* @param array $fields posted values of the form
*
+ * @param $files
+ * @param $self
+ *
* @return array list of errors to be posted back to the form
* @static
* @access public
return empty($errors) ? TRUE : $errors;
}
+ /**
+ * Set default values for the form. MobileProvider that in edit/view mode
+ * the default values are retrieved from the database
+ *
+ * @access public
+ *
+ * @return array
+ */
+ /**
+ * @return array
+ */
function setDefaultValues() {
return $this->_defaults;
}
/**
- * Function to process the form
+ * Process the form submission
*
* @access public
*