include/SugarObjects/forms/FormBase.php

Show: inherited
Table of Contents

\FormBase

Package: SugarCRM

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

methodprotectedisEmptyReturnModuleAndAction( ) : 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.

Returns
Type Description
bool Boolean value indicating whether or not a return module and return action are specified in request
methodprotectedisSaveFromDCMenu( ) : 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).

Returns
Type Description
bool Boolean value indicating whether or not the save operation was triggered from DCMenu
Documentation was generated by DocBlox 0.18.1.