include/Popups/PopupSmarty.php

Show: inherited
Table of Contents

Constants

Constant  NUM_COLS = 2

\PopupSmarty

Package:
Parent(s)
\ListViewSmarty < \ListViewDisplay

Properties

Propertypublic  $_create= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $_popupMeta= ''
Details
Type
n/a
Propertypublic  $actionsMenuExtraItems= 'array()'
Default valuearray()Details
Type
n/a
Inherited_from
\ListViewDisplay::$$actionsMenuExtraItems  
Inherited_from
\ListViewSmarty::$$actionsMenuExtraItems  
Propertypublic  $contextMenus= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $customFieldDefs= ''
Details
Type
n/a
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  $email= 'true'
inheritedInherited from: \ListViewSmarty::$$email
Default valuetrueDetails
Type
n/a
Inherited_from
\ListViewSmarty::$$email  
Propertypublic  $export= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $field_defs= ''
Details
Type
n/a
Propertypublic  $filter_fields= 'array()'
Default valuearray()Details
Type
n/a
Propertypublic  $footerTpl= ''
Details
Type
n/a
Propertypublic  $formData= ''
Details
Type
n/a
Propertypublic  $headerTpl= ''
Details
Type
n/a
Propertypublic  $listViewCounter= '0'
Default value0Details
Type
n/a
Inherited_from
\ListViewDisplay::$$listViewCounter  
Inherited_from
\ListViewSmarty::$$listViewCounter  
Propertypublic  $listviewdefs= 'array()'
Default valuearray()Details
Type
n/a
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  $mailmerge= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $mass= 'null'
Default valuenullDetails
Type
n/a
Inherited_from
\ListViewDisplay::$$mass  
Inherited_from
\ListViewSmarty::$$mass  
Propertypublic  $massUpdateData= ''''
Default value''Details
Type
n/a
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= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $module= ''
Details
Type
n/a
Propertypublic  $moduleString= ''
inheritedInherited from: \ListViewSmarty::$$moduleString
Details
Type
n/a
Inherited_from
\ListViewSmarty::$$moduleString  
Propertypublic  $multiSelect= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $multi_select_popup= ''
Details
Type
n/a
Inherited_from
\ListViewDisplay::$$multi_select_popup  
Inherited_from
\ListViewSmarty::$$multi_select_popup  
Propertypublic  $quickViewLinks= 'false'
Default valuefalseDetails
Type
n/a
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  $searchFields= 'array()'
Default valuearray()Details
Type
n/a
Propertypublic  $searchForm= ''
Details
Type
n/a
Propertypublic  $searchdefs= 'array()'
Default valuearray()Details
Type
n/a
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  $th= ''
Details
Type
n/a
Propertypublic  $tpl= ''
Details
Type
n/a
Propertypublic  $view= ''
Details
Type
n/a

Methods

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

Constructor, Smarty object immediately available after

Inherited from: \ListViewSmarty::ListViewSmarty()
methodpublicPopupSmarty(  $seed,  $module ) : void

Parameters
Name Type Description
$seed
$module
methodpublic_build_field_defs( ) : void

methodpublic_getAddForm( ) : void

methodpublic_getAddFormHeader( ) : void

methodpublic_get_where_clause( ) : void

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( \end $end = true ) : string

Displays the xtpl, either echo or returning the contents

Parameters
Name Type Description
$end \end

bool display the ending of the listview data (ie MassUpdate)

Returns
Type Description
string ListView contents
methodpublicdisplayEnd( ) : string
inherited

Display the bottom of the ListView (ie MassUpdate

Inherited from: \ListViewSmarty::displayEnd()
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
methodpublicgetQuickCreate( ) : void

methodpublicprocess( \file $file, \data $data, \html_var $htmlVar ) : void

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

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

methodpublicprocessArrowVars( ) : void

Assign several arrow image attributes to TemplateHandler smarty. Such as width, height, etc.

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( \file $file ) : void

Setup the class

Parameters
Name Type Description
$file \file

File Template file to use

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.