modules/Calls/CallFormBase.php
\CallFormBase
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
=
'', $cal_date
=
'', $cal_time
=
''
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $prefix | ||
| $mod | ||
| $formname | ||
| $cal_date | ||
| $cal_time |

getFormHeader(
$prefix, $mod
=
'', $title
=
''
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $prefix | ||
| $mod | ||
| $title |

getWideFormBody(
$prefix, $mod
=
'', $formname
=
'', $wide
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $prefix | ||
| $mod | ||
| $formname | ||
| $wide |

handleSave(
$prefix, $redirect
=
true, $useRequired
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $prefix | ||
| $redirect | ||
| $useRequired |

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 |