* @param
*
*/
- public function preProcess() {
+ public function preProcess(): void {
if ($this->get('register')) {
$this->_mode = CRM_Profile_Form::MODE_REGISTER;
}
* Build the form object.
*
*/
- public function buildQuickForm() {
+ public function buildQuickForm(): void {
$this->addButtons([
[
'type' => 'upload',
return CRM_Profile_Form::formRule($fields, $files, $form);
}
- /**
- * Process the user submitted custom data values.
- */
- public function postProcess() {
- parent::postProcess();
- }
-
}
* Build the form object.
*
*/
- public function buildQuickForm() {
+ public function buildQuickForm(): void {
if (empty($this->_ufGroup['id'])) {
CRM_Core_Error::statusBounce(ts('Invalid'));
}
/**
* Pre processing work done here.
*/
- public function preProcess() {
+ public function preProcess(): void {
$this->_mode = CRM_Profile_Form::MODE_SEARCH;
parent::preProcess();
}
/**
* Build the form object.
*/
- public function buildQuickForm() {
+ public function buildQuickForm(): void {
// Is proximity search enabled for this profile?
$proxSearch = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_UFGroup',
$this->get('gid'),
/**
* Post process function.
*/
- public function postProcess() {
+ public function postProcess(): void {
}
}