modules/Reports/ListViewReports.php
\ListViewReports
- Parent(s)
- \ListViewSmarty < \ListViewDisplay
Properties

$actionsMenuExtraItems= 'array()'
array()Details- Type
- n/a
- Inherited_from
- \ListViewDisplay::$$actionsMenuExtraItems
- Inherited_from
- \ListViewSmarty::$$actionsMenuExtraItems

$contextMenus= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$contextMenus

$data= ''
- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$data

$delete= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$delete

$displayColumns= ''
- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$displayColumns

$email= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$email

$export= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$export

$listViewCounter= '0'
0Details- Type
- n/a
- Inherited_from
- \ListViewDisplay::$$listViewCounter
- Inherited_from
- \ListViewSmarty::$$listViewCounter

$lvd= ''
- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$lvd

$mailMerge= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$mailMerge

$mass= 'null'
nullDetails- Type
- n/a
- Inherited_from
- \ListViewDisplay::$$mass
- Inherited_from
- \ListViewSmarty::$$mass

$menu_location= ''top''
'top'Details- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$menu_location

$mergeDisplayColumns= 'false'
falseDetails- Type
- n/a
- Inherited_from
- \ListViewDisplay::$$mergeDisplayColumns
- Inherited_from
- \ListViewSmarty::$$mergeDisplayColumns

$mergeduplicates= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$mergeduplicates

$moduleString= ''
- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$moduleString

$multiSelect= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$multiSelect

$multi_select_popup= ''
- Type
- n/a
- Inherited_from
- \ListViewDisplay::$$multi_select_popup
- Inherited_from
- \ListViewSmarty::$$multi_select_popup

$quickViewLinks= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$quickViewLinks

$rowCount= ''
- Type
- n/a
- Inherited_from
- \ListViewDisplay::$$rowCount
- Inherited_from
- \ListViewSmarty::$$rowCount

$searchColumns= ''
- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$searchColumns

$seed= ''
- Type
- n/a
- Inherited_from
- \ListViewDisplay::$$seed
- Inherited_from
- \ListViewSmarty::$$seed

$select= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$select

$should_process= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewDisplay::$$should_process
- Inherited_from
- \ListViewSmarty::$$should_process

$showMassupdateFields= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$showMassupdateFields

$show_action_dropdown= 'true'
trueDetails- Type
- n/a
- Inherited_from
- \ListViewDisplay::$$show_action_dropdown
- Inherited_from
- \ListViewSmarty::$$show_action_dropdown

$show_mass_update_form= 'false'
falseDetails- Type
- n/a
- Inherited_from
- \ListViewDisplay::$$show_mass_update_form
- Inherited_from
- \ListViewSmarty::$$show_mass_update_form

$show_plus= 'false'
falseDetails- Type
- n/a
- Inherited_from
- \ListViewDisplay::$$show_plus
- Inherited_from
- \ListViewSmarty::$$show_plus

$ss= ''
- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$ss

$targetList= 'false'
falseDetails- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$targetList

$tpl= ''
- Type
- n/a
- Inherited_from
- \ListViewSmarty::$$tpl
Methods

ListViewDisplay(
)
:
nullConstructor
Inherited from: \ListViewDisplay::ListViewDisplay()\ListViewSmarty::ListViewDisplay()| Type | Description |
|---|---|
| null |

ListViewSmarty(
)
:
voidConstructor, Smarty object immediately available after
Inherited from: \ListViewSmarty::ListViewSmarty()
buildActionsLink(
string $id
=
'actions_link', $location
=
'top'
)
:
stringDisplay the actions link
Inherited from: \ListViewDisplay::buildActionsLink()\ListViewSmarty::buildActionsLink()| Name | Type | Description |
|---|---|---|
| $id | string | link id attribute, defaults to 'actions_link' |
| $location |
| Type | Description |
|---|---|
| string | HTML source |

buildComposeEmailLink(
$totalCount, $loc
=
'top'
)
:
stringBuilds the compose email link
Inherited from: \ListViewDisplay::buildComposeEmailLink()\ListViewSmarty::buildComposeEmailLink()| Name | Type | Description |
|---|---|---|
| $totalCount | ||
| $loc |
| Type | Description |
|---|---|
| string | HTML |

buildDeleteLink(
$loc
=
'top'
)
:
stringBuilds the delete link
Inherited from: \ListViewDisplay::buildDeleteLink()\ListViewSmarty::buildDeleteLink()| Name | Type | Description |
|---|---|---|
| $loc |
| Type | Description |
|---|---|
| string | HTML |

buildExportLink(
$loc
=
'top'
)
:
stringBuilds the export link
Inherited from: \ListViewDisplay::buildExportLink()\ListViewSmarty::buildExportLink()| Name | Type | Description |
|---|---|---|
| $loc |
| Type | Description |
|---|---|
| string | HTML |

buildMassUpdateLink(
$loc
=
'top'
)
:
stringBuilds the massupdate link
Inherited from: \ListViewDisplay::buildMassUpdateLink()\ListViewSmarty::buildMassUpdateLink()| Name | Type | Description |
|---|---|---|
| $loc |
| Type | Description |
|---|---|
| string | HTML |

buildMergeDuplicatesLink(
$loc
=
'top'
)
:
stringBuilds 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()| Name | Type | Description |
|---|---|---|
| $loc |
| Type | Description |
|---|---|
| string | HTML |

buildMergeLink(
$modules_array
=
null, $loc
=
'top'
)
:
stringBuilds the mail merge link
Inherited from: \ListViewDisplay::buildMergeLink()\ListViewSmarty::buildMergeLink()| Name | Type | Description |
|---|---|---|
| $modules_array | ||
| $loc |
| Type | Description |
|---|---|
| string | HTML |

buildSelectLink(
\echo $id
=
'select_link', $total
=
0, $pageTotal
=
0, $location
=
"top"
)
:
stringDisplay the select link
Inherited from: \ListViewDisplay::buildSelectLink()\ListViewSmarty::buildSelectLink()| Name | Type | Description |
|---|---|---|
| $id | \echo | Bool set true if you want it echo'd, set false to have contents returned |
| $total | ||
| $pageTotal | ||
| $location |
| Type | Description |
|---|---|
| string | select link html |

buildSelectedObjectsSpan(
$echo
=
true, $total
=
0
)
:
stringDisplay the selected object span object
Inherited from: \ListViewDisplay::buildSelectedObjectsSpan()\ListViewSmarty::buildSelectedObjectsSpan()| Name | Type | Description |
|---|---|---|
| $echo | ||
| $total |
| Type | Description |
|---|---|
| string | select object span |

buildTargetList(
$loc
=
'top'
)
:
stringBuilds the add to target list link
Inherited from: \ListViewDisplay::buildTargetList()\ListViewSmarty::buildTargetList()| Name | Type | Description |
|---|---|---|
| $loc |
| Type | Description |
|---|---|
| string | HTML |

display(
)
:
stringDisplays the xtpl, either echo or returning the contents
| Type | Description |
|---|---|
| string | ListView contents |

displayEnd(
)
:
stringDisplay the bottom of the ListView (ie MassUpdate
| Type | Description |
|---|---|
| string | contents |

getMultiSelectData(
)
:
stringDisplay the multi select data box etc.
Inherited from: \ListViewDisplay::getMultiSelectData()\ListViewSmarty::getMultiSelectData()| Type | Description |
|---|---|
| string | contents |

process(
\file $file, \data $data, \html_var $htmlVar
)
:
voidProcesses the request. Calls ListViewData process. Also assigns all lang strings, export links, This is called from ListViewDisplay
Inherited from: \ListViewSmarty::process()| 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 |

processArrows(
\ordering $ordering
)
:
void
| Name | Type | Description |
|---|---|---|
| $ordering | \ordering | array data that contains the ordering info |

setup(
\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
| 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' |

setupFilterFields(
$filter_fields
=
array()
)
:
void
| Name | Type | Description |
|---|---|---|
| $filter_fields |