modules/Calls/CallFormBase.php

Show: inherited
Table of Contents

\CallFormBase

Package:

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

methodpublicgetForm(  $prefix,  $mod = '' ) : void

Parameters
Name Type Description
$prefix
$mod
methodpublicgetFormBody(  $prefix,  $mod = '',  $formname = '',  $cal_date = '',  $cal_time = '' ) : void

Parameters
Name Type Description
$prefix
$mod
$formname
$cal_date
$cal_time
methodpublicgetFormFooter(  $prefic,  $mod = '' ) : void

Parameters
Name Type Description
$prefic
$mod
methodpublicgetFormHeader(  $prefix,  $mod = '',  $title = '' ) : void

Parameters
Name Type Description
$prefix
$mod
$title
methodpublicgetWideFormBody(  $prefix,  $mod = '',  $formname = '',  $wide = true ) : void

Parameters
Name Type Description
$prefix
$mod
$formname
$wide
methodpublichandleSave(  $prefix,  $redirect = true,  $useRequired = false ) : void

Parameters
Name Type Description
$prefix
$redirect
$useRequired
methodprotectedisEmptyReturnModuleAndAction( ) : bool
inherited

isEmptyReturnModuleAndAction

Inherited from: \FormBase::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
inherited

isSaveFromDCMenu

Inherited from: \FormBase::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.