include/EditView/QuickCreate.php

Show: inherited
Table of Contents

\QuickCreate

Package: SugarCRM

QuickCreate - minimal object creation form

Parent(s)
\EditView
Children
\CallsQuickCreate
\HolidaysQuickCreate
\ProjectQuickCreate
\ContactsQuickCreate
\TasksQuickCreate
\OpportunitiesQuickCreate
\BugsQuickCreate
\AccountsQuickCreate
\ProjectTaskQuickCreate
\ContractsQuickCreate
\MeetingsQuickCreate
\CasesQuickCreate
\LeadsQuickCreate
\NotesQuickCreate
Api
 

Properties

Propertypublic  $fieldDefs= ''
inheritedInherited from: \EditView::$$fieldDefs
Details
Type
n/a
Inherited_from
\EditView::$$fieldDefs  
Propertypublic  $focus= ''
inheritedInherited from: \EditView::$$focus
Details
Type
n/a
Inherited_from
\EditView::$$focus  
Propertypublic  $footerTpl= ''
inheritedInherited from: \EditView::$$footerTpl
Details
Type
n/a
Inherited_from
\EditView::$$footerTpl  
Propertypublic  $formName= ''''
inheritedInherited from: \EditView::$$formName
Default value''Details
Type
n/a
Inherited_from
\EditView::$$formName  
Propertypublic  $formatFields= 'true'
inheritedInherited from: \EditView::$$formatFields
Default valuetrueDetails
Type
n/a
Inherited_from
\EditView::$$formatFields  
Propertypublic  $headerTpl= ''
inheritedInherited from: \EditView::$$headerTpl
Details
Type
n/a
Inherited_from
\EditView::$$headerTpl  
Propertypublic  $id= ''
inheritedInherited from: \EditView::$$id
Details
Type
n/a
Inherited_from
\EditView::$$id  
Propertypublic  $isDuplicate= ''
inheritedInherited from: \EditView::$$isDuplicate
Details
Type
n/a
Inherited_from
\EditView::$$isDuplicate  
Propertypublic  $metadataFile= ''
inheritedInherited from: \EditView::$$metadataFile
Details
Type
n/a
Inherited_from
\EditView::$$metadataFile  
Propertypublic  $module= ''
inheritedInherited from: \EditView::$$module
Details
Type
n/a
Inherited_from
\EditView::$$module  
Propertypublic  $moduleTitleKey= ''
inheritedInherited from: \EditView::$$moduleTitleKey
Details
Type
n/a
Inherited_from
\EditView::$$moduleTitleKey  
Propertypublic  $notes= ''
inheritedInherited from: \EditView::$$notes
Details
Type
n/a
Inherited_from
\EditView::$$notes  
Propertypublic  $offset= '0'
inheritedInherited from: \EditView::$$offset
Default value0Details
Type
n/a
Inherited_from
\EditView::$$offset  
Propertypublic  $populateBean= 'true'
inheritedInherited from: \EditView::$$populateBean
Default valuetrueDetails
Type
n/a
Inherited_from
\EditView::$$populateBean  
Propertypublic  $quickSearchCode= ''
inheritedInherited from: \EditView::$$quickSearchCode
Details
Type
n/a
Inherited_from
\EditView::$$quickSearchCode  
Propertypublic  $returnAction= ''
inheritedInherited from: \EditView::$$returnAction
Details
Type
n/a
Inherited_from
\EditView::$$returnAction  
Propertypublic  $returnId= ''
inheritedInherited from: \EditView::$$returnId
Details
Type
n/a
Inherited_from
\EditView::$$returnId  
Propertypublic  $returnModule= ''
inheritedInherited from: \EditView::$$returnModule
Details
Type
n/a
Inherited_from
\EditView::$$returnModule  
Propertypublic  $sectionPanels= ''
inheritedInherited from: \EditView::$$sectionPanels
Details
Type
n/a
Inherited_from
\EditView::$$sectionPanels  
Propertypublic  $showDetailData= 'true'
inheritedInherited from: \EditView::$$showDetailData
Default valuetrueDetails
Type
n/a
Inherited_from
\EditView::$$showDetailData  
Propertypublic  $showSectionPanelsTitles= 'true'
inheritedInherited from: \EditView::$$showSectionPanelsTitles
Default valuetrueDetails
Type
n/a
Inherited_from
\EditView::$$showSectionPanelsTitles  
Propertypublic  $showVCRControl= 'true'
inheritedInherited from: \EditView::$$showVCRControl
Default valuetrueDetails
Type
n/a
Inherited_from
\EditView::$$showVCRControl  
Propertypublic  $ss= ''
inheritedInherited from: \EditView::$$ss
Details
Type
n/a
Inherited_from
\EditView::$$ss  
Propertypublic  $th= ''
inheritedInherited from: \EditView::$$th
Details
Type
n/a
Inherited_from
\EditView::$$th  
Propertypublic  $tpl= ''
inheritedInherited from: \EditView::$$tpl
Details
Type
n/a
Inherited_from
\EditView::$$tpl  
Propertypublic  $viaAJAX= 'false'

True if the create being populated via an AJAX call?

Default valuefalseDetails
Type
n/a
Propertypublic  $view= ''EditView''
inheritedInherited from: \EditView::$$view
Default value'EditView'Details
Type
n/a
Inherited_from
\EditView::$$view  
Propertypublic  $viewObject= 'null'
inheritedInherited from: \EditView::$$viewObject
Default valuenullDetails
Type
n/a
Inherited_from
\EditView::$$viewObject  

Methods

methodpubliccallFunction(  $vardef ) : void
inherited

Inherited from: \EditView::callFunction()
Parameters
Name Type Description
$vardef
methodpubliccreateFocus( ) : void
inherited

Inherited from: \EditView::createFocus()
methodpublicdisplay( \$showTitle $showTitle = true, \$ajaxSave $ajaxSave = false ) : \HTML
inherited

display This method makes the Smarty variable assignments and then displays the generated view.

Inherited from: \EditView::display()
Parameters
Name Type Description
$showTitle \$showTitle

boolean value indicating whether or not to show a title on the resulting page

$ajaxSave \$ajaxSave

boolean value indicating whether or not the operation is an Ajax save request

Returns
Type Description
\HTML display for view as String
methodpublicenableFormatting( \$format $format = true ) : void
inherited

enableFormatting This method is used to manually turn on/off the field formatting

Inherited from: \EditView::enableFormatting()
Parameters
Name Type Description
$format \$format

boolean value to turn on/off field formatting

methodprotectedgetPanelWithFillers( array $panel ) : array
inherited

Adds fillers to each row if required

Inherited from: \EditView::getPanelWithFillers()

Panel alignment will be off if the panel doesn't have a row with the max column It will not be aligned to the other panels so we fill out the columns in the last row

Parameters
Name Type Description
$panel array
Returns
Type Description
array
methodprotectedgetTemplateHandler( ) : \TemplateHandler
inherited

Get template handler object

Inherited from: \EditView::getTemplateHandler()
Returns
Type Description
\TemplateHandler
methodpublicgetValueFromRequest( \request $request, \name $name ) : String
inherited

getValueFromRequest This is a helper method to extract a value from the request Array. We do some special processing for fields that start with 'date_' by checking to see if they also include time and meridiem values

Inherited from: \EditView::getValueFromRequest()
Parameters
Name Type Description
$request \request

The request Array

$name \name

The field name to extract value for

Returns
Type Description
String value for given name
methodpublicinsertJavascript(  $javascript ) : void
inherited

Inherited from: \EditView::insertJavascript()
Parameters
Name Type Description
$javascript
methodpublicpopulateBean( ) : void
inherited

Inherited from: \EditView::populateBean()
methodpublicprocess( ) : void

methodpublicrender( ) : void
inherited

Inherited from: \EditView::render()
methodpublicrequiredFirst( ) : void
inherited

Enter description here ...

Inherited from: \EditView::requiredFirst()
methodpublicsetup( \$module $module, \$focus $focus = null, \$id $metadataFile = null, \$metadataFile $tpl = 'include/EditView/EditView.tpl', \tpl $createFocus = true ) : void
inherited

EditView constructor This is the EditView constructor responsible for processing the new Meta-Data framework

Inherited from: \EditView::setup()
Parameters
Name Type Description
$module \$module

String value of module this Edit view is for

$focus \$focus

An empty sugarbean object of module

$metadataFile \$id

The record id to retrieve and populate data for

$tpl \$metadataFile

String value of file location to use in overriding default metadata file

$createFocus \tpl

String value of file location to use in overriding default Smarty template

methodpublicshowTitle(  $showTitle = false ) : void
inherited

Allow Subviews to overwrite this method to show custom titles.

Inherited from: \EditView::showTitle()

Examples: Projects & Project Templates. params: $showTitle: boolean for backwards compatibility.

Parameters
Name Type Description
$showTitle
Documentation was generated by DocBlox 0.18.1.