include/EditView/QuickCreate.php
\QuickCreate
QuickCreate - minimal object creation form
- Parent(s)
- \EditView
- Children
- \CallsQuickCreate
- \ProjectQuickCreate
- \ContactsQuickCreate
- \TasksQuickCreate
- \OpportunitiesQuickCreate
- \BugsQuickCreate
- \AccountsQuickCreate
- \ProjectTaskQuickCreate
- \MeetingsQuickCreate
- \CasesQuickCreate
- \LeadsQuickCreate
- \NotesQuickCreate
- Api
Properties

$fieldDefs= ''
- Type
- n/a
- Inherited_from
- \EditView::$$fieldDefs

$focus= ''
- Type
- n/a
- Inherited_from
- \EditView::$$focus

$footerTpl= ''
- Type
- n/a
- Inherited_from
- \EditView::$$footerTpl

$formName= ''''
''Details- Type
- n/a
- Inherited_from
- \EditView::$$formName

$formatFields= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \EditView::$$formatFields

$headerTpl= ''
- Type
- n/a
- Inherited_from
- \EditView::$$headerTpl

$isDuplicate= ''
- Type
- n/a
- Inherited_from
- \EditView::$$isDuplicate

$metadataFile= ''
- Type
- n/a
- Inherited_from
- \EditView::$$metadataFile

$module= ''
- Type
- n/a
- Inherited_from
- \EditView::$$module

$moduleTitleKey= ''
- Type
- n/a
- Inherited_from
- \EditView::$$moduleTitleKey

$notes= ''
- Type
- n/a
- Inherited_from
- \EditView::$$notes

$offset= '0'
0Details- Type
- n/a
- Inherited_from
- \EditView::$$offset

$populateBean= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \EditView::$$populateBean

$quickSearchCode= ''
- Type
- n/a
- Inherited_from
- \EditView::$$quickSearchCode

$returnAction= ''
- Type
- n/a
- Inherited_from
- \EditView::$$returnAction

$returnId= ''
- Type
- n/a
- Inherited_from
- \EditView::$$returnId

$returnModule= ''
- Type
- n/a
- Inherited_from
- \EditView::$$returnModule

$sectionPanels= ''
- Type
- n/a
- Inherited_from
- \EditView::$$sectionPanels

$showDetailData= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \EditView::$$showDetailData

$showSectionPanelsTitles= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \EditView::$$showSectionPanelsTitles

$showVCRControl= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \EditView::$$showVCRControl

$viaAJAX= 'false'
True if the create being populated via an AJAX call?
falseDetails- Type
- n/a

$view= ''EditView''
'EditView'Details- Type
- n/a
- Inherited_from
- \EditView::$$view

$viewObject= 'null'
nullDetails- Type
- n/a
- Inherited_from
- \EditView::$$viewObject
Methods

callFunction(
$vardef
)
:
void| Name | Type | Description |
|---|---|---|
| $vardef |

display(
\$showTitle $showTitle
=
true, \$ajaxSave $ajaxSave
=
false
)
:
\HTMLdisplay This method makes the Smarty variable assignments and then displays the generated view.
Inherited from: \EditView::display()| 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 |
| Type | Description |
|---|---|
| \HTML | display for view as String |

enableFormatting(
\$format $format
=
true
)
:
voidenableFormatting This method is used to manually turn on/off the field formatting
Inherited from: \EditView::enableFormatting()| Name | Type | Description |
|---|---|---|
| $format | \$format | boolean value to turn on/off field formatting |

getPanelWithFillers(
array $panel
)
:
array
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
| Name | Type | Description |
|---|---|---|
| $panel | array |
| Type | Description |
|---|---|
| array |

getValueFromRequest(
\request $request, \name $name
)
:
StringgetValueFromRequest 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()| Name | Type | Description |
|---|---|---|
| $request | \request | The request Array |
| $name | \name | The field name to extract value for |
| Type | Description |
|---|---|
| String | value for given name |

insertJavascript(
$javascript
)
:
void| Name | Type | Description |
|---|---|---|
| $javascript |

setup(
\$module $module, \$focus $focus
=
null, \$id $metadataFile
=
null, \$metadataFile $tpl
=
'include/EditView/EditView.tpl', \tpl $createFocus
=
true
)
:
voidEditView constructor This is the EditView constructor responsible for processing the new Meta-Data framework
Inherited from: \EditView::setup()| 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 |

showTitle(
$showTitle
=
false
)
:
voidAllow Subviews to overwrite this method to show custom titles.
Inherited from: \EditView::showTitle()Examples: Projects & Project Templates. params: $showTitle: boolean for backwards compatibility.
| Name | Type | Description |
|---|---|---|
| $showTitle |