CRM_Contact_Form_Edit_Organization
in package
Auxiliary class to provide support to the Contact Form class.
Does this by implementing a small set of static methods.
Table of Contents
Methods
- buildQuickForm() : mixed
- This function provides the HTML form elements that are specific to the Organization Contact Type.
- formRule() : array<string|int, mixed>|bool
Methods
buildQuickForm()
This function provides the HTML form elements that are specific to the Organization Contact Type.
public
static buildQuickForm(CRM_Core_Form &$form[, int $inlineEditMode = NULL ]) : mixed
Parameters
- $form : CRM_Core_Form
-
Form object.
- $inlineEditMode : int = NULL
-
( 1 for contact summary. top bar form and 2 for display name edit )
formRule()
public
static formRule(mixed $fields, mixed $files[, int $contactID = NULL ]) : array<string|int, mixed>|bool
Parameters
- $fields : mixed
- $files : mixed
- $contactID : int = NULL