modules/Contracts/ContractsQuickCreate.php

Show: inherited
Table of Contents

\ContractsQuickCreate

Package:

QuickCreate - minimal object creation form

Parent(s)
\QuickCreate < \EditView

Properties

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

True if the create being populated via an AJAX call?

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

Methods

methodpubliccallFunction(  $vardef ) : void
Parameters
Name Type Description
$vardef
methodpubliccreateFocus( ) : void
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()\QuickCreate::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()\QuickCreate::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()\QuickCreate::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()\QuickCreate::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()\QuickCreate::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
Parameters
Name Type Description
$javascript
methodpublicpopulateBean( ) : void
methodpublicprocess( ) : void

methodpublicrender( ) : void
inherited

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

Enter description here ...

Inherited from: \EditView::requiredFirst()\QuickCreate::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()\QuickCreate::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()\QuickCreate::showTitle()

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

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