include/ListView/ListView.php

Show: inherited
Table of Contents

\ListView

Package: SugarCRM

ListView - list of many objects

Children
\ReportListView
\DetailView
Api
 

Properties

Propertypublic  $_additionalDetails= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $additionalDetailsFunction= 'null'
Default valuenullDetails
Type
n/a
Propertypublic  $baseURL= ''''
Default value''Details
Type
n/a
Propertypublic  $child_focus= ''''
Default value''Details
Type
n/a
Propertypublic  $data_array= ''
Details
Type
n/a
Propertypublic  $display_header_and_footer= 'true'
Default valuetrueDetails
Type
n/a
Propertypublic  $end_link_wrapper= ''''
Default value''Details
Type
n/a
Propertypublic  $force_mass_update= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $header_text= ''''
Default value''Details
Type
n/a
Propertypublic  $header_title= ''''
Default value''Details
Type
n/a
Propertypublic  $ignorePopulateOnly= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $initialized= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $inline= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $is_dynamic= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $keep_mass_update_form_open= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $layout_manager= 'null'
Default valuenullDetails
Type
n/a
Propertypublic  $list_field_defs= 'array()'
Default valuearray()Details
Type
n/a
Propertypublic  $local_app_strings= 'null'
Default valuenullDetails
Type
n/a
Propertypublic  $local_current_module= 'null'
Default valuenullDetails
Type
n/a
Propertypublic  $local_image_path= 'null'
Default valuenullDetails
Type
n/a
Propertypublic  $local_mod_strings= 'null'
Default valuenullDetails
Type
n/a
Propertypublic  $local_theme= 'null'
Default valuenullDetails
Type
n/a
Propertypublic  $multi_select_popup= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $process_for_popups= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $query_limit= '-1'
Default value-1Details
Type
n/a
Propertypublic  $query_orderby= 'null'
Default valuenullDetails
Type
n/a
Propertypublic  $query_where= 'null'
Default valuenullDetails
Type
n/a
Propertypublic  $query_where_has_changed= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $records_per_page= '20'
Default value20Details
Type
n/a
Propertypublic  $related_field_name= ''''
Default value''Details
Type
n/a
Propertypublic  $seed_data= 'null'
Default valuenullDetails
Type
n/a
Propertypublic  $shouldProcess= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $show_delete_button= 'true'
Default valuetrueDetails
Type
n/a
Propertypublic  $show_export_button= 'true'
Default valuetrueDetails
Type
n/a
Propertypublic  $show_mass_update= 'true'
Default valuetrueDetails
Type
n/a
Propertypublic  $show_mass_update_form= 'true'
Default valuetrueDetails
Type
n/a
Propertypublic  $show_paging= 'true'
Default valuetrueDetails
Type
n/a
Propertypublic  $show_select_menu= 'true'
Default valuetrueDetails
Type
n/a
Propertypublic  $sort_order= ''''
Default value''Details
Type
n/a
Propertypublic  $start_link_wrapper= ''''
Default value''Details
Type
n/a
Propertypublic  $xTemplate= 'null'
Default valuenullDetails
Type
n/a
Propertypublic  $xTemplatePath= 'null'
Default valuenullDetails
Type
n/a

Methods

methodpublicListView( ) : void

methodpubliccalculateSortOrder( array $sortOrderList ) : string

helper method to determine sort order by priority of source 1. explicit in request object 2. in session variable 3. subpaneldefs metadata 4. default 'asc'

Parameters
Name Type Description
$sortOrderList array
  • contains options
Returns
Type Description
string 'asc' | 'desc'
methodpubliccreateXTemplate( ) : void

methodpublicdisplayArrow( ) : void

methodpublicgetAdditionalHeader( ) : void

methodpublicgetArrowEnd( ) : void

methodpublicgetArrowImageSize( ) : void

methodpublicgetArrowStart( ) : void

methodpublicgetArrowUpDownEnd(  $upDown ) : void

Parameters
Name Type Description
$upDown
methodpublicgetArrowUpDownImageSize(  $upDown ) : void

Parameters
Name Type Description
$upDown
methodpublicgetArrowUpDownStart(  $upDown ) : void

Parameters
Name Type Description
$upDown
methodpublicgetBaseURL(  $html_varName ) : void

Parameters
Name Type Description
$html_varName
methodpublicgetLayoutManager( ) : void

methodpublicgetLocalSessionVariable(  $localVarName,  $varName ) : void

Parameters
Name Type Description
$localVarName
$varName
methodpublicgetOffset(  $localVarName ) : void

Parameters
Name Type Description
$localVarName
methodpublicgetOrderBy(  $varName,  $defaultOrderBy = '',  $force_sortorder = '' ) : void

Parameters
Name Type Description
$varName
$defaultOrderBy
$force_sortorder
methodpublicgetOrderByInfo(  $html_varName ) : void

Parameters
Name Type Description
$html_varName
methodpublicgetSessionVariable(  $localVarName,  $varName ) : void

Parameters
Name Type Description
$localVarName
$varName
methodpublicgetSessionVariableName( \unknown $localVarName, \unknown $varName ) : void

Parameters
Name Type Description
$localVarName \unknown
$varName \unknown
Details
Desc
INTERNAL FUNCTION returns the session/query variable name Portions created by SugarCRM are Copyright (C) SugarCRM, Inc. All Rights Reserved. Contributor(s): ______________________________________..  
methodpublicgetUserVariable(  $localVarName,  $varName ) : void

Parameters
Name Type Description
$localVarName
$varName
methodpublicgetXTemplate( ) : void

methodpublicinitNewXTemplate(  $XTemplatePath,  $modString,  $imagePath = null ) : void

Parameters
Name Type Description
$XTemplatePath
$modString
$imagePath
methodpublicloadListFieldDefs(  $subpanel_fields,  $child_focus ) : void

Parameters
Name Type Description
$subpanel_fields
$child_focus
methodpublicprocessListNavigation(  $xtemplateSection, \unknown $html_varName,  $current_offset,  $next_offset,  $previous_offset,  $row_count,  $sugarbean = null,  $subpanel_def = null,  $col_count = 20 ) : void

Parameters
Name Type Description
$xtemplateSection
$html_varName \unknown
$current_offset
$next_offset
$previous_offset
$row_count
$sugarbean
$subpanel_def
$col_count
Details
Desc
INTERNAL FUNCTION process the List Navigation Portions created by SugarCRM are Copyright (C) SugarCRM, Inc. All Rights Reserved. Contributor(s): ______________________________________..  
methodpublicprocessListRows( \unknown $data,  $xtemplateSection, \unknown $html_varName ) : void

Parameters
Name Type Description
$data \unknown
$xtemplateSection
$html_varName \unknown
Details
Desc
INTERNAL FUNCTION handles the rows Portions created by SugarCRM are Copyright (C) SugarCRM, Inc. All Rights Reserved. Contributor(s): ______________________________________..  
methodpublicprocessListView(  $seed,  $xTemplateSection,  $html_varName ) : void

Parameters
Name Type Description
$seed
$xTemplateSection
$html_varName
methodpublicprocessListViewMulti(  $seed,  $xTemplateSection,  $html_varName ) : void

Parameters
Name Type Description
$seed
$xTemplateSection
$html_varName
methodpublicprocessListViewTwo( \unknown $seed, \unknown $xTemplateSection, \unknown $html_varName ) : void

Parameters
Name Type Description
$seed \unknown
$xTemplateSection \unknown
$html_varName \unknown
Details
Desc
PUBLIC FUNCTION Handles List Views using seeds that extend SugarBean $XTemplateSection is the section in the XTemplate file that should be parsed usually main $html_VarName is the variable name used in the XTemplateFile e.g. TASK $seed is a seed there are two types of seeds one is a subclass of SugarBean, the other is a list usually created from a sugar bean using get_list if no XTemplate is set it will create a new XTemplate Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.. All Rights Reserved.. Contributor(s): ______________________________________..  
methodpublicprocessOrderBy(  $html_varName ) : void

Parameters
Name Type Description
$html_varName
methodpublicprocessSortArrows(  $html_varName ) : void

Parameters
Name Type Description
$html_varName
methodpublicprocessSugarBean(  $xtemplateSection, \unknown $html_varName, \unknown $seed ) : void

Parameters
Name Type Description
$xtemplateSection
$html_varName \unknown
$seed \unknown
Details
Desc
INTERNAL FUNCTION Handles List Views using seeds that extend SugarBean $XTemplateSection is the section in the XTemplate file that should be parsed usually main $html_VarName is the variable name used in the XTemplateFile e.g. TASK $seed is a seed that extends SugarBean Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.. All Rights Reserved.. Contributor(s): ______________________________________..  
methodpublicprocessUnionBeans(  $sugarbean,  $subpanel_def,  $html_var = 'CELL' ) : void

Parameters
Name Type Description
$sugarbean
$subpanel_def
$html_var
methodpublicprocess_dynamic_listview(  $source_module,  $sugarbean,  $subpanel_def ) : void

Parameters
Name Type Description
$source_module
$sugarbean
$subpanel_def
methodpublicprocess_dynamic_listview_header(  $source_module,  $subpanel_def,  $html_var = 'CELL' ) : void

Parameters
Name Type Description
$source_module
$subpanel_def
$html_var
methodpublicprocess_dynamic_listview_rows( \unknown $data,  $parent_data,  $xtemplateSection, \unknown $html_varName,  $subpanel_def ) : void

Parameters
Name Type Description
$data \unknown
$parent_data
$xtemplateSection
$html_varName \unknown
$subpanel_def
Details
Desc
INTERNAL FUNCTION handles the rows  
methodpublicsetAdditionalDetails(  $value = true,  $function = '' ) : void

Parameters
Name Type Description
$value
$function
methodpublicsetAppStrings(  $app_strings ) : void

Parameters
Name Type Description
$app_strings
methodpublicsetCurrentModule(  $currentModule ) : void

Parameters
Name Type Description
$currentModule
methodpublicsetDataArray(  $value ) : void

Parameters
Name Type Description
$value
methodpublicsetDisplayHeaderAndFooter(  $bool ) : void

Parameters
Name Type Description
$bool
methodpublicsetHeaderText(  $value ) : void

Parameters
Name Type Description
$value
methodpublicsetHeaderTitle(  $value ) : void

Parameters
Name Type Description
$value
methodpublicsetImagePath(  $image_path ) : void

Parameters
Name Type Description
$image_path
methodpublicsetLocalSessionVariable(  $localVarName,  $varName,  $value ) : void

Parameters
Name Type Description
$localVarName
$varName
$value
methodpublicsetModStrings(  $mod_strings ) : void

Parameters
Name Type Description
$mod_strings
methodpublicsetOffset(  $localVarName,  $value ) : void

Parameters
Name Type Description
$localVarName
$value
methodpublicsetQuery(  $where,  $limit,  $orderBy,  $varName,  $allowOrderByOveride = true ) : void

Parameters
Name Type Description
$where
$limit
$orderBy
$varName
$allowOrderByOveride
methodpublicsetRecordsPerPage(  $count ) : void

Parameters
Name Type Description
$count
methodpublicsetSessionVariable(  $localVarName,  $varName,  $value ) : void

Parameters
Name Type Description
$localVarName
$varName
$value
methodpublicsetTheme(  $theme ) : void

Parameters
Name Type Description
$theme
methodpublicsetUserVariable(  $localVarName,  $varName,  $value ) : void

Parameters
Name Type Description
$localVarName
$varName
$value
methodpublicsetXTemplate(  $newXTemplate ) : void

Parameters
Name Type Description
$newXTemplate
methodpublicsetXTemplatePath(  $value ) : void

Parameters
Name Type Description
$value
methodpublicunique_id( ) : void

methodpublicxTemplateAssign(  $name,  $value ) : void

Parameters
Name Type Description
$name
$value
Documentation was generated by DocBlox 0.18.1.