include/ListView/ListViewDisplay.php
\ListViewDisplay
- Children
- \ListViewSmarty
- \ListViewSmarty
- \ListViewXTPL
Properties
Methods
buildActionsLink(
string $id
=
'actions_link', $location
=
'top'
)
:
string
Display the actions link
Name | Type | Description |
---|---|---|
$id | string | link id attribute, defaults to 'actions_link' |
$location |
Type | Description |
---|---|
string | HTML source |
buildComposeEmailLink(
$totalCount, $loc
=
'top'
)
:
string
Builds the compose email link
Name | Type | Description |
---|---|---|
$totalCount | ||
$loc |
Type | Description |
---|---|
string | HTML |
buildDeleteLink(
$loc
=
'top'
)
:
string
Builds the delete link
Name | Type | Description |
---|---|---|
$loc |
Type | Description |
---|---|
string | HTML |
buildExportLink(
$loc
=
'top'
)
:
string
Builds the export link
Name | Type | Description |
---|---|---|
$loc |
Type | Description |
---|---|
string | HTML |
buildMassUpdateLink(
$loc
=
'top'
)
:
string
Builds the massupdate link
Name | Type | Description |
---|---|---|
$loc |
Type | Description |
---|---|
string | HTML |
buildMergeDuplicatesLink(
$loc
=
'top'
)
:
string
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.
Name | Type | Description |
---|---|---|
$loc |
Type | Description |
---|---|
string | HTML |
buildMergeLink(
$modules_array
=
null, $loc
=
'top'
)
:
string
Builds the mail merge link
Name | Type | Description |
---|---|---|
$modules_array | ||
$loc |
Type | Description |
---|---|
string | HTML |
buildSelectLink(
\echo $id
=
'select_link', $total
=
0, $pageTotal
=
0, $location
=
"top"
)
:
string
Display the select link
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
)
:
string
Display the selected object span object
Name | Type | Description |
---|---|---|
$echo | ||
$total |
Type | Description |
---|---|
string | select object span |
buildTargetList(
$loc
=
'top'
)
:
string
Builds the add to target list link
Name | Type | Description |
---|---|---|
$loc |
Type | Description |
---|---|
string | HTML |
displayEnd(
)
:
string
Display the bottom of the ListView (ie MassUpdate
Type | Description |
---|---|
string | contents |
getMultiSelectData(
)
:
string
Display the multi select data box etc.
Type | Description |
---|---|
string | contents |
process(
\file $file, \data $data, \html_var $htmlVar
)
:
void
Any additional processing
Name | Type | Description |
---|---|---|
$file | \file | File template file to use |
$data | \data | array row data |
$htmlVar | \html_var | string html string to be passed back and forth |
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
Setup the class
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 |