include/SugarObjects/forms/FormBase.php
\FormBase
Package: SugarCRM
Returns
Returns
FormBase.php
- Children
- \CallFormBase
- \MeetingFormBase
- \PersonFormBase
- See
- \LeadFormBase.php,
- Author
- Collin Lee This is an abstract class to provide common functionality across the form base code used in the application.
Methods
isEmptyReturnModuleAndAction(
)
:
bool
isEmptyReturnModuleAndAction
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 |
isSaveFromDCMenu(
)
:
bool
isSaveFromDCMenu
This is a function to help assist in determining if a save operation has been performed from the DCMenu (the shortcut bar up top available for most themes).
Type | Description |
---|---|
bool | Boolean value indicating whether or not the save operation was triggered from DCMenu |