All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions
LeadsMergedEditAndDetailsView Class Reference
Inheritance diagram for LeadsMergedEditAndDetailsView:
LeadEditAndDetailsView SecuredEditAndDetailsView EditAndDetailsView DetailsView ModelView ConfigurableMetadataView MetadataView View

Public Member Functions

 __construct ($renderType, $controllerId, $moduleId, $model, $selectedLeads)
 
 getTitle ()
 
- Public Member Functions inherited from EditAndDetailsView
 __construct ($renderType, $controllerId, $moduleId, $model)
 
 getTitle ()
 
- 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 ()
 

Static Public Member Functions

static getDefaultMetadata ()
 
static getDesignerRulesType ()
 
- Static Public Member Functions inherited from LeadEditAndDetailsView
static getDefaultMetadata ()
 
static getDesignerRulesType ()
 
- Static Public Member Functions inherited from EditAndDetailsView
static getDesignerRulesType ()
 
- Static Public Member Functions inherited from DetailsView
static assertModelIsValid ($model)
 
static getDefaultMetadata ()
 
static getDesignerRulesType ()
 

Data Fields

 $selectedLeads
 

Protected Member Functions

 getFormLayoutMetadata ()
 
 getNewModelTitleLabel ()
 
 renderRightSideFormLayoutForEdit ($form)
 
 resolveElementDuringFormLayoutRender (&$element)
 
 beforeRenderingFormLayout ()
 
- Protected Member Functions inherited from LeadEditAndDetailsView
 getNewModelTitleLabel ()
 
 renderAfterFormLayoutForDetailsContent ()
 
- Protected Member Functions inherited from SecuredEditAndDetailsView
 resolveElementInformationDuringFormLayoutRender (&$elementInformation)
 
 shouldRenderToolBarElement ($element, $elementInformation)
 
 renderRightSideFormLayoutForEdit ($form)
 
 renderAfterFormLayoutForDetailsContent ()
 
 resolveExplicitReadWriteModelPermissionsElementClassName ()
 
- Protected Member Functions inherited from EditAndDetailsView
 renderContent ()
 
 renderRightSideContent ($form=null)
 
 renderRightSideFormLayoutForEdit ($form)
 
 renderAfterFormLayout ($form)
 
 renderModalContainer ()
 
 resolveActiveFormAjaxValidationOptions ()
 
 shouldDisplayCell ($detailViewOnly)
 
 shouldDisplayPanel ($detailViewOnly)
 
 shouldRenderToolBarElement ($element, $elementInformation)
 
 resolveFormHtmlOptions ()
 
 getNewModelTitleLabel ()
 
 beforeRenderingFormLayout ()
 
 resolveAndRenderActionElementMenuForEdit ()
 
 resolveElementDuringFormLayoutRender (&$element)
 
 renderAttributesContainerWrapperDiv ($content)
 
- 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)
 

Additional Inherited Members

- Static Protected Member Functions inherited from EditAndDetailsView
static getFormClassName ()
 
static getFormId ()
 
- Static Protected Member Functions inherited from DetailsView
static assertMetadataIsValid (array $metadata)
 
- Static Protected Member Functions inherited from ModelView
static assertMetadataIsValid (array $metadata)
 
- Protected Attributes inherited from EditAndDetailsView
 $renderType
 
 $viewContainsFileUploadElement = false
 
- 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
 

Detailed Description

Definition at line 37 of file LeadsMergedEditAndDetailsView.php.

Constructor & Destructor Documentation

__construct (   $renderType,
  $controllerId,
  $moduleId,
  $model,
  $selectedLeads 
)

Constructor for the class

Parameters
string$renderType
string$controllerId
string$moduleId
RedBeanModel$model
Array$selectedLeadscontacts selected for merge

Definition at line 53 of file LeadsMergedEditAndDetailsView.php.

Member Function Documentation

static getDefaultMetadata ( )
static
Returns
array

Definition at line 62 of file LeadsMergedEditAndDetailsView.php.

getFormLayoutMetadata ( )
protected

Gets the metadata for this view. Override so that form layout would be one column only

Returns
array view metadata

Definition at line 78 of file LeadsMergedEditAndDetailsView.php.

getNewModelTitleLabel ( )
protected
Returns
null

Definition at line 86 of file LeadsMergedEditAndDetailsView.php.

renderRightSideFormLayoutForEdit (   $form)
protected

Renders right side form layout

Parameters
ZurmoActiveForm$form
Returns
null

Definition at line 96 of file LeadsMergedEditAndDetailsView.php.

resolveElementDuringFormLayoutRender ( $element)
protected

Override sub-class if you need to set anything into the element object.

Definition at line 104 of file LeadsMergedEditAndDetailsView.php.

beforeRenderingFormLayout ( )
protected

Before rendering form layout.

Returns
string

Definition at line 117 of file LeadsMergedEditAndDetailsView.php.

getTitle ( )

Gets title.

Returns
string

Definition at line 130 of file LeadsMergedEditAndDetailsView.php.


The documentation for this class was generated from the following file:
Generated on Thu Jan 23 2020 07:10:35