modules/Meetings/MeetingFormBase.php
\MeetingFormBase
Package:
Returns
FormBase.php
- Parent(s)
- \FormBase
- Author
- Collin Lee This is an abstract class to provide common functionality across the form base code used in the application.
Methods
getFormBody(
$prefix, $mod
=
'', $formname
=
''
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$prefix | ||
$mod | ||
$formname |
handleSave(
string $prefix, bool $redirect
=
true, bool $useRequired
=
false
)
:
void
handles save functionality for meetings
Parameters
Name | Type | Description |
---|---|---|
$prefix | string | prefix |
$redirect | bool | redirect default True |
$useRequired | bool | useRequired default True |
isEmptyReturnModuleAndAction(
)
:
bool
This is a function to help assist in determining if a save operation has been performed without a return module and action specified. This will likely be the case where we use AJAX to change the state of a record, but wish to keep the user remaining on the same view. For example, this is true when closing Calls and Meetings from dashlets or from from subpanels.
Type | Description |
---|---|
bool | Boolean value indicating whether or not a return module and return action are specified in request |