All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes
ModelsToMergeListAndChartView Class Reference
Inheritance diagram for ModelsToMergeListAndChartView:
SecuredDetailsView DetailsView ModelView ConfigurableMetadataView MetadataView View CreateModelsToMergeListAndChartView ListViewMergeSummaryView

Public Member Functions

 __construct ($controllerId, $moduleId, $model, $dupeModels)
 
- Public Member Functions inherited from DetailsView
 __construct ($controllerId, $moduleId, $model, $title=null)
 
 getTitle ()
 
- Public Member Functions inherited from ModelView
 getModelClassName ()
 
- Public Member Functions inherited from View
 isUniqueToAPage ()
 
 render ()
 
 setCssClasses (array $classes)
 
 getCssClasses ()
 
 getTitle ()
 
 getPostTruncatedTitleContent ()
 

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 Member Functions inherited from SecuredDetailsView
 resolveElementInformationDuringFormLayoutRender (&$elementInformation)
 
 shouldRenderToolBarElement ($element, $elementInformation)
 
 renderAfterFormLayoutForDetailsContent ()
 
- Protected Member Functions inherited from DetailsView
 renderContent ()
 
 resolveLeftContentForSlidingPanels ($content)
 
 resolveAndRenderActionElementMenu ()
 
 renderRightSideContent ($form=null)
 
 renderBeforeFormLayoutForDetailsContent ()
 
 renderAfterFormLayoutForDetailsContent ()
 
 renderAfterRightSideContent ()
 
 renderAfterDetailsTable ()
 
 renderFormLayout ($form=null)
 
 resolveMetadataWithRenderedElements ($metadata, $maxCellsPerRow, $form)
 
 resolveMaxCellsPresentInAnyRow ($metadata)
 
 doesLabelHaveOwnCell ()
 
 afterResolveMetadataWithRenderedElements (&$metadataWithRenderedElements, $form)
 
 getMaxCellsPerRow ()
 
 getModel ()
 
 shouldDisplayCell ($detailViewOnly)
 
 shouldDisplayPanel ($detailViewOnly)
 
 resolveElementInformationDuringFormLayoutRender (&$elementInformation)
 
 resolveElementDuringFormLayoutRender (&$element)
 
 getFormLayoutMetadata ()
 
 getMorePanelsLinkLabel ()
 
 getLessPanelsLinkLabel ()
 
 alwaysShowErrorSummary ()
 
 getFormLayoutUniqueId ()
 
 getDetailsViewFormLayoutClass ()
 
- Protected Member Functions inherited from View
 resolveDefaultClasses ()
 
 renderContainerWrapperId ()
 
 getContainerWrapperTag ()
 
 getId ()
 
 renderContent ()
 
 getViewStyle ()
 
 renderTitleContent ()
 
 resolveCustomViewTemplateFileName ($theme, $view)
 

Protected Attributes

 $dupeModels
 
 $colorsArray
 
- Protected Attributes inherited from DetailsView
 $controllerId
 
 $moduleId
 
 $model
 
 $title
 
- Protected Attributes inherited from ModelView
 $modelClassName
 
- Protected Attributes inherited from View
 $cssClasses = array()
 
 $title
 
 $makeDefaultClassesFromClassHeirarchy = true
 

Additional Inherited Members

- Static Public Member Functions inherited from DetailsView
static assertModelIsValid ($model)
 
static getDefaultMetadata ()
 
static getDesignerRulesType ()
 
- Static Protected Member Functions inherited from DetailsView
static assertMetadataIsValid (array $metadata)
 
- Static Protected Member Functions inherited from ModelView
static assertMetadataIsValid (array $metadata)
 

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.

Member Function Documentation

renderContent ( )
protected

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

Returns
A string containing the element's content.

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

Exceptions
NotSupportedException

Definition at line 195 of file ModelsToMergeListAndChartView.php.

getTitleBar ( )
protected

The title bar for the view

Definition at line 203 of file ModelsToMergeListAndChartView.php.

resolveGraphsForChart ( $chart)
protected

For each dupeModel adds a graph into the chart

Parameters
$chart

Definition at line 219 of file ModelsToMergeListAndChartView.php.

resolveDataForChart ( $chart)
protected

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

Parameters
$chart

Definition at line 236 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:
Generated on Tue Jun 2 2020 07:10:53