modules/Reports/ListViewReports.php

Show: inherited
Table of Contents

\ListViewReports

Package:
Parent(s)
\ListViewSmarty < \ListViewDisplay

Properties

Propertypublic  $actionsMenuExtraItems= 'array()'
Default valuearray()Details
Type
n/a
Inherited_from
\ListViewDisplay::$$actionsMenuExtraItems  
Inherited_from
\ListViewSmarty::$$actionsMenuExtraItems  
Propertypublic  $contextMenus= 'true'
inheritedInherited from: \ListViewSmarty::$$contextMenus
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$contextMenus  
Propertypublic  $data= ''
inheritedInherited from: \ListViewSmarty::$$data
Details
Type
n/a
Inherited_from
\ListViewSmarty::$$data  
Propertypublic  $delete= 'true'
inheritedInherited from: \ListViewSmarty::$$delete
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$delete  
Propertypublic  $displayColumns= ''
inheritedInherited from: \ListViewSmarty::$$displayColumns
Details
Type
n/a
Inherited_from
\ListViewSmarty::$$displayColumns  
Propertypublic  $displayEndTpl= ''
Details
Type
n/a
Propertypublic  $email= 'true'
inheritedInherited from: \ListViewSmarty::$$email
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$email  
Propertypublic  $export= 'true'
inheritedInherited from: \ListViewSmarty::$$export
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$export  
Propertypublic  $listViewCounter= '0'
Default value0Details
Type
n/a
Inherited_from
\ListViewDisplay::$$listViewCounter  
Inherited_from
\ListViewSmarty::$$listViewCounter  
Propertypublic  $lvd= ''
inheritedInherited from: \ListViewSmarty::$$lvd
Details
Type
n/a
Inherited_from
\ListViewSmarty::$$lvd  
Propertypublic  $mailMerge= 'true'
inheritedInherited from: \ListViewSmarty::$$mailMerge
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$mailMerge  
Propertypublic  $mass= 'null'
Default valuenullDetails
Type
n/a
Inherited_from
\ListViewDisplay::$$mass  
Inherited_from
\ListViewSmarty::$$mass  
Propertypublic  $menu_location= ''top''
inheritedInherited from: \ListViewSmarty::$$menu_location
Default value'top'Details
Type
n/a
Inherited_from
\ListViewSmarty::$$menu_location  
Propertypublic  $mergeDisplayColumns= 'false'
Default valuefalseDetails
Type
n/a
Inherited_from
\ListViewDisplay::$$mergeDisplayColumns  
Inherited_from
\ListViewSmarty::$$mergeDisplayColumns  
Propertypublic  $mergeduplicates= 'true'
inheritedInherited from: \ListViewSmarty::$$mergeduplicates
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$mergeduplicates  
Propertypublic  $moduleString= ''
inheritedInherited from: \ListViewSmarty::$$moduleString
Details
Type
n/a
Inherited_from
\ListViewSmarty::$$moduleString  
Propertypublic  $multiSelect= 'true'
inheritedInherited from: \ListViewSmarty::$$multiSelect
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$multiSelect  
Propertypublic  $multi_select_popup= ''
Details
Type
n/a
Inherited_from
\ListViewDisplay::$$multi_select_popup  
Inherited_from
\ListViewSmarty::$$multi_select_popup  
Propertypublic  $quickViewLinks= 'true'
inheritedInherited from: \ListViewSmarty::$$quickViewLinks
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$quickViewLinks  
Propertypublic  $rowCount= ''
Details
Type
n/a
Inherited_from
\ListViewDisplay::$$rowCount  
Inherited_from
\ListViewSmarty::$$rowCount  
Propertypublic  $searchColumns= ''
inheritedInherited from: \ListViewSmarty::$$searchColumns
Details
Type
n/a
Inherited_from
\ListViewSmarty::$$searchColumns  
Propertypublic  $seed= ''
Details
Type
n/a
Inherited_from
\ListViewDisplay::$$seed  
Inherited_from
\ListViewSmarty::$$seed  
Propertypublic  $select= 'true'
inheritedInherited from: \ListViewSmarty::$$select
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$select  
Propertypublic  $should_process= 'true'
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewDisplay::$$should_process  
Inherited_from
\ListViewSmarty::$$should_process  
Propertypublic  $showMassupdateFields= 'true'
inheritedInherited from: \ListViewSmarty::$$showMassupdateFields
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$showMassupdateFields  
Propertypublic  $show_action_dropdown= 'true'
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewDisplay::$$show_action_dropdown  
Inherited_from
\ListViewSmarty::$$show_action_dropdown  
Propertypublic  $show_mass_update_form= 'false'
Default valuefalseDetails
Type
n/a
Inherited_from
\ListViewDisplay::$$show_mass_update_form  
Inherited_from
\ListViewSmarty::$$show_mass_update_form  
Propertypublic  $show_plus= 'false'
Default valuefalseDetails
Type
n/a
Inherited_from
\ListViewDisplay::$$show_plus  
Inherited_from
\ListViewSmarty::$$show_plus  
Propertypublic  $ss= ''
inheritedInherited from: \ListViewSmarty::$$ss
Details
Type
n/a
Inherited_from
\ListViewSmarty::$$ss  
Propertypublic  $targetList= 'false'
inheritedInherited from: \ListViewSmarty::$$targetList
Default valuefalseDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$targetList  
Propertypublic  $tpl= ''
inheritedInherited from: \ListViewSmarty::$$tpl
Details
Type
n/a
Inherited_from
\ListViewSmarty::$$tpl  

Methods

methodpublicListViewDisplay( ) : null
Returns
Type Description
null
methodpublicListViewSmarty( ) : void
inherited

Constructor, Smarty object immediately available after

Inherited from: \ListViewSmarty::ListViewSmarty()
methodprotectedbuildActionsLink( string $id = 'actions_link',  $location = 'top' ) : string
inherited

Display the actions link

Inherited from: \ListViewDisplay::buildActionsLink()\ListViewSmarty::buildActionsLink()
Parameters
Name Type Description
$id string

link id attribute, defaults to 'actions_link'

$location
Returns
Type Description
string HTML source
methodprotectedbuildComposeEmailLink(  $totalCount,  $loc = 'top' ) : string
inherited

Builds the compose email link

Inherited from: \ListViewDisplay::buildComposeEmailLink()\ListViewSmarty::buildComposeEmailLink()
Parameters
Name Type Description
$totalCount
$loc
Returns
Type Description
string HTML
methodprotectedbuildDeleteLink(  $loc = 'top' ) : string
inherited

Builds the delete link

Inherited from: \ListViewDisplay::buildDeleteLink()\ListViewSmarty::buildDeleteLink()
Parameters
Name Type Description
$loc
Returns
Type Description
string HTML
methodprotectedbuildExportLink(  $loc = 'top' ) : string
inherited

Builds the export link

Inherited from: \ListViewDisplay::buildExportLink()\ListViewSmarty::buildExportLink()
Parameters
Name Type Description
$loc
Returns
Type Description
string HTML
methodprotectedbuildMassUpdateLink(  $loc = 'top' ) : string
inherited

Builds the massupdate link

Inherited from: \ListViewDisplay::buildMassUpdateLink()\ListViewSmarty::buildMassUpdateLink()
Parameters
Name Type Description
$loc
Returns
Type Description
string HTML
methodprotectedbuildMergeDuplicatesLink(  $loc = 'top' ) : string
inherited

Builds the mail merge link The link can be disabled by setting module level duplicate_merge property to false in the moudle's vardef file.

Inherited from: \ListViewDisplay::buildMergeDuplicatesLink()\ListViewSmarty::buildMergeDuplicatesLink()
Parameters
Name Type Description
$loc
Returns
Type Description
string HTML
methodprotectedbuildMergeLink(  $modules_array = null,  $loc = 'top' ) : string
inherited

Builds the mail merge link

Inherited from: \ListViewDisplay::buildMergeLink()\ListViewSmarty::buildMergeLink()
Parameters
Name Type Description
$modules_array
$loc
Returns
Type Description
string HTML
methodpublicbuildSelectLink( \echo $id = 'select_link',  $total = 0,  $pageTotal = 0,  $location = "top" ) : string
inherited

Display the select link

Inherited from: \ListViewDisplay::buildSelectLink()\ListViewSmarty::buildSelectLink()
Parameters
Name Type Description
$id \echo

Bool set true if you want it echo'd, set false to have contents returned

$total
$pageTotal
$location
Returns
Type Description
string select link html
methodpublicbuildSelectedObjectsSpan(  $echo = true,  $total = 0 ) : string
inherited

Display the selected object span object

Inherited from: \ListViewDisplay::buildSelectedObjectsSpan()\ListViewSmarty::buildSelectedObjectsSpan()
Parameters
Name Type Description
$echo
$total
Returns
Type Description
string select object span
methodprotectedbuildTargetList(  $loc = 'top' ) : string
inherited

Builds the add to target list link

Inherited from: \ListViewDisplay::buildTargetList()\ListViewSmarty::buildTargetList()
Parameters
Name Type Description
$loc
Returns
Type Description
string HTML
methodpublicdisplay( ) : string

Displays the xtpl, either echo or returning the contents

Returns
Type Description
string ListView contents
methodpublicdisplayEnd( ) : string

Display the bottom of the ListView (ie MassUpdate

Returns
Type Description
string contents
methodprotectedgetMassUpdate( ) : \MassUpdate
Returns
Type Description
\MassUpdate instance
methodpublicgetMultiSelectData( ) : string
inherited

Display the multi select data box etc.

Inherited from: \ListViewDisplay::getMultiSelectData()\ListViewSmarty::getMultiSelectData()
Returns
Type Description
string contents
methodpublicprocess( \file $file, \data $data, \html_var $htmlVar ) : void
inherited

Processes the request. Calls ListViewData process. Also assigns all lang strings, export links, This is called from ListViewDisplay

Inherited from: \ListViewSmarty::process()
Parameters
Name Type Description
$file \file

file Template file to use

$data \data

array from ListViewData

$htmlVar \html_var

string the corresponding html var in xtpl per row

methodpublicprocessArrows( \ordering $ordering ) : void
inherited

Assigns the sort arrows in the tpl

Inherited from: \ListViewSmarty::processArrows()
Parameters
Name Type Description
$ordering \ordering

array data that contains the ordering info

methodpublicsetup( \seed $seed, \file $file, string $where, \offset:0 | \array:array() $params = array(),  $offset = 0, \int:-1 $limit = -1, \string[]:array() $filter_fields = array(), \string:'id' $id_field = 'id' ) : void
inherited

Setup the class

Inherited from: \ListViewDisplay::setup()\ListViewSmarty::setup()
Parameters
Name Type Description
$seed \seed

SugarBean Seed SugarBean to use

$file \file

File Template file to use

$where string
$params \offset:0 | \array:array()

int offset to start at

$offset
$limit \int:-1
$filter_fields \string[]:array()
$id_field \string:'id'
methodpublicsetupFilterFields(  $filter_fields = array() ) : void
Parameters
Name Type Description
$filter_fields
methodpublicshouldProcess(  $moduleDir ) : void
Parameters
Name Type Description
$moduleDir
Documentation was generated by DocBlox 0.18.1.