ModelsToMergeListAndChartView Class Reference

Inheritance diagram for ModelsToMergeListAndChartView:
SecuredDetailsView DetailsView ModelView ConfigurableMetadataView MetadataView View CreateModelsToMergeListAndChartView ListViewMergeSummaryView

Public Member Functions

 __construct ($controllerId, $moduleId, $model, $dupeModels)

Protected Member Functions

 renderContent ()
 renderSelectedContactsListWithCardView ()
 resolveMaxModelsToShow (&$models)
 renderDetailsViewForDupeModel ($model)
 renderRightSideContent ($form=null)
 renderChart ()
 registerScripts ()
 onChangeScript ()
 getTitleBar ()
 getColorForDupe ()
 resolveGraphsForChart (&$chart)
 resolveDataForChart (&$chart)
 renderActivitiesTotals ($model)
 resolveRealModuleClassNameLabelByModel (RedBeanModel $model)
 renderRadioButtonContent ($dupeModel)
 renderBeforeListContent ()

Protected Attributes


Detailed Description

Class DupesSummaryView specific view to show the details view os all possible dupes for model

Definition at line 40 of file ModelsToMergeListAndChartView.php.

Constructor & Destructor Documentation

__construct ( controllerId,

Constructs a detail view specifying the controller as well as the model that will have its details displayed.

Reimplemented from DetailsView.

Definition at line 47 of file ModelsToMergeListAndChartView.php.

Member Function Documentation

renderContent (  )  [protected]

Renders content for a view including a layout title, form toolbar, and form layout.

A string containing the element's content.

Reimplemented from DetailsView.

Definition at line 63 of file ModelsToMergeListAndChartView.php.

onChangeScript (  )  [protected]

When the user changes the dupe selection will trigger this function Implement this as needed


Reimplemented in CreateModelsToMergeListAndChartView, and ListViewMergeSummaryView.

Definition at line 196 of file ModelsToMergeListAndChartView.php.

getTitleBar (  )  [protected]

The title bar for the view

Reimplemented in CreateModelsToMergeListAndChartView.

Definition at line 204 of file ModelsToMergeListAndChartView.php.

resolveGraphsForChart ( &$  chart  )  [protected]

For each dupeModel adds a graph into the chart


Definition at line 220 of file ModelsToMergeListAndChartView.php.

resolveDataForChart ( &$  chart  )  [protected]

For each dupeModel add total ammount of Notes, Tasks, Emails and Meetings


Definition at line 237 of file ModelsToMergeListAndChartView.php.

Field Documentation

$colorsArray [protected]
Initial value:
 array('#315AB0', '#66367b', '#2c3e50', '#269a55', '#c0392b',
                                       '#e67e22', '#3498db', '#501a27', '#0c5b3f', '#c05d91')

Definition at line 44 of file ModelsToMergeListAndChartView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Mar 24 07:10:28 2017