Documentation

CRM_Report_Form_Instance
in package

Class CRM_Report_Form_Instance

Table of Contents

Methods

buildForm()  : mixed
Build form.
formRule()  : array<string|int, mixed>|bool
Add form rules.
postProcess()  : mixed
Post process function.
setDefaultValues()  : mixed
Set default values.

Methods

formRule()

Add form rules.

public static formRule(array<string|int, mixed> $fields, array<string|int, mixed> $errors, CRM_Report_Form_Instance $self) : array<string|int, mixed>|bool
Parameters
$fields : array<string|int, mixed>
$errors : array<string|int, mixed>
$self : CRM_Report_Form_Instance
Return values
array<string|int, mixed>|bool

postProcess()

Post process function.

public static postProcess(CRM_Core_Form &$form[, bool $redirect = TRUE ]) : mixed
Parameters
$form : CRM_Core_Form
$redirect : bool = TRUE

setDefaultValues()

Set default values.

public static setDefaultValues(CRM_Core_Form &$form, array<string|int, mixed> &$defaults) : mixed
Parameters
$form : CRM_Core_Form
$defaults : array<string|int, mixed>

        
On this page

Search results