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 ()

Protected Member Functions

 renderAlertMessage ()
 renderPreActionElementBar ($form)
 renderOperationHighlight ()
 renderItemOperationType ()
 renderItemLabel ()
 renderFormLayout ($form=null)
 renderActiveAttributesCheckBox ($elementIds, $elementInformation, $checked, $realAttributeName)
 resolveRealAttributeName ($elementClassName, $attributeName)
 renderDateTimeScript ()

Static Protected Member Functions

static getFormId ()

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.

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

Reimplemented from DetailsView.

Definition at line 84 of file MassEditView.php.

static getDesignerRulesType (  )  [static]

Override in each sub-class if you have applicable designer rules for handling the modification of metadata layouts

null or a DesignerRules Class;

Reimplemented from EditView.

Reimplemented in ProductsMassEditView, and ProductTemplatesMassEditView.

Definition at line 205 of file MassEditView.php.

resolveRealAttributeName ( elementClassName,
) [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

string $elementClassName
null|string $attributeName

Definition at line 218 of file MassEditView.php.

renderDateTimeScript (  )  [protected]

Register script for date and datetime element

Definition at line 247 of file MassEditView.php.

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