All Data Structures Functions Variables Pages
Static Public Member Functions | Protected Member Functions | Static Protected Member Functions
MassEditView Class Reference
Inheritance diagram for MassEditView:
MassActionView EditView DetailsView ModelView ConfigurableMetadataView MetadataView View AccountsMassEditView ContactsMassEditView GameRewardsMassEditView LeadsMassEditView OpportunitiesMassEditView ProductsMassEditView ProductTemplatesMassEditView ProjectsMassEditView TasksMassEditView UsersMassEditView

Static Public Member Functions

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

Protected Member Functions

 renderAlertMessage ()
 
 renderPreActionElementBar ($form)
 
 renderOperationHighlight ()
 
 renderItemOperationType ()
 
 renderItemLabel ()
 
 renderFormLayout ($form=null)
 
 renderActiveAttributesCheckBox ($elementIds, $elementInformation, $checked, $realAttributeName)
 
 resolveRealAttributeName ($elementClassName, $attributeName)
 
 renderDateTimeScript ()
 
 getOperationAdditionalMessage ()
 
- Protected Member Functions inherited from MassActionView
 renderAlertMessage ()
 
 renderPreActionElementBar ($form)
 
 renderItemLabel ()
 
 renderItemOperationType ()
 
 renderOperationHighlight ()
 
 renderContent ()
 
 renderItemCount ()
 
 renderItemOperationMessage ()
 
 renderItemOperationMessageCategory ()
 
 renderOperationMessage ()
 
 renderOperationDescriptionContent ()
 
 getSelectedRecordCount ()
 
 getOperationAdditionalMessage ()
 
- Protected Member Functions inherited from EditView
 renderOperationDescriptionContent ()
 
 renderContent ()
 
 renderRightSideContent ($form=null)
 
 renderRightSideFormLayoutForEdit ($form)
 
 renderAfterFormLayout ($form)
 
 renderModalContainer ()
 
 resolveActiveFormAjaxValidationOptions ()
 
 shouldDisplayCell ($detailViewOnly)
 
 resolveFormHtmlOptions ()
 
- 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)
 

Static Protected Member Functions

static getFormId ()
 
- Static Protected Member Functions inherited from EditView
static getFormId ()
 
- Static Protected Member Functions inherited from DetailsView
static assertMetadataIsValid (array $metadata)
 
- Static Protected Member Functions inherited from ModelView
static assertMetadataIsValid (array $metadata)
 

Additional Inherited Members

- Public Member Functions inherited from MassActionView
 __construct ($controllerId, $moduleId, RedBeanModel $model, $activeAttributes, $selectedRecordCount, $title, $alertMessage=null, $moduleClassName=null)
 
- 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 Attributes inherited from MassActionView
 $activeAttributes
 
 $alertMessage
 
 $selectedRecordCount
 
 $title
 
 $moduleClassName
 
- Protected Attributes inherited from EditView
 $viewContainsFileUploadElement = false
 
 $wrapContentInWrapperDiv = true
 
- 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

The base View for a module's mass edit view.

Definition at line 40 of file MassEditView.php.

Member Function Documentation

renderFormLayout (   $form = null)
protected

Render a form layout. Gets appropriate meta data and loops through it. Builds form content as it loops through. For each element in the form it calls the appropriate Element class.

Parameters
$formIf the layout is editable, then pass a $form otherwise it can be null.
Returns
A string containing the element's content.

Definition at line 84 of file MassEditView.php.

resolveRealAttributeName (   $elementClassName,
  $attributeName 
)
protected

If the attributeName is 'null', then ascertain if this is a derived attribute and get the real attribute. If it is a derived attribute but has more than one model attribute name, then send back null since this is not valid for a mass update

Parameters
string$elementClassName
null | string$attributeName
Returns
mixed

Definition at line 222 of file MassEditView.php.

renderDateTimeScript ( )
protected

Register script for date and datetime element

Definition at line 251 of file MassEditView.php.


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 2020 07:10:42