include/DetailView/DetailView2.php
\DetailView2
Package: SugarCRM
DetailView - display single record New implementation
- Parent(s)
- \EditView
- Api
Properties
Methods
EditView(
string $module, string $template
)
:
void
inherited
Inherited from:
\EditView::EditView()
Parameters
Name | Type | Description |
---|---|---|
$module | string | module to use |
$template | string | template of the form to retreive |
process(
)
:
void
inherited
Processes / setups the template assigns all things to the template like mod_srings and app_strings
Inherited from: \EditView::process()setup(
\$module $module, \$focus $focus, \$id $metadataFile
=
null, \$metadataFile $tpl
=
'include/DetailView/DetailView.tpl'
)
:
void
DetailView constructor This is the DetailView constructor responsible for processing the new Meta-Data framework
Parameters
Name | Type | Description |
---|---|---|
$module | \$module | String value of module this detail 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 |