include/DetailView/DetailView2.php

Show: inherited
Table of Contents

\DetailView2

Package: SugarCRM

DetailView - display single record New implementation

Parent(s)
\EditView
Api
 

Properties

Propertypublicstring  $module= ''
inherited

Module to use

Inherited from: \EditView::$$module
Details
Type
string
Inherited_from
\EditView::$$module  
Propertypublicobject  $ss= ''
inherited

smarty object

Inherited from: \EditView::$$ss
Details
Type
object
Inherited_from
\EditView::$$ss  
Propertypublicstring  $template= ''
inherited

location of template to use

Inherited from: \EditView::$$template
Details
Type
string
Inherited_from
\EditView::$$template  
Propertypublic  $view= ''DetailView''
Default value'DetailView'Details
Type
n/a

Methods

methodpublicEditView( 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

methodpublicdisplay( ) : string
inherited

Displays the template

Inherited from: \EditView::display()
Returns
Type Description
string HTML of parsed template
methodpublicprocess( ) : void
inherited

Processes / setups the template assigns all things to the template like mod_srings and app_strings

Inherited from: \EditView::process()
methodpublicsetup( \$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

Documentation was generated by DocBlox 0.18.1.