modules/Notes/NotesQuickCreate.php
\NotesQuickCreate
QuickCreate - minimal object creation form
- Parent(s)
- \QuickCreate < \EditView
Properties

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$viaAJAX= 'false'
True if the create being populated via an AJAX call?
Inherited from: \QuickCreate::$$viaAJAXfalseDetails- Type
- n/a
- Inherited_from
- \QuickCreate::$$viaAJAX

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

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

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()\QuickCreate::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()\QuickCreate::enableFormatting()| Name | Type | Description |
|---|---|---|
| $format | \$format | boolean value to turn on/off field formatting |

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

getTemplateHandler(
)
:
\TemplateHandlerGet template handler object
Inherited from: \EditView::getTemplateHandler()\QuickCreate::getTemplateHandler()| Type | Description |
|---|---|
| \TemplateHandler |

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()\QuickCreate::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 |

requiredFirst(
)
:
voidEnter description here ...
Inherited from: \EditView::requiredFirst()\QuickCreate::requiredFirst()
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()\QuickCreate::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()\QuickCreate::showTitle()Examples: Projects & Project Templates. params: $showTitle: boolean for backwards compatibility.
| Name | Type | Description |
|---|---|---|
| $showTitle |