All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions
MyListConfigView Class Reference
Inheritance diagram for MyListConfigView:
ModalConfigEditView EditView DetailsView ModelView ConfigurableMetadataView MetadataView View AccountsMyListConfigView ContactsMyListConfigView LeadsMyListConfigView MeetingsMyListConfigView OpportunitiesMyListConfigView ProductsMyListConfigView TasksMyListConfigView

Public Member Functions

 __construct (ConfigurableMetadataModel $model, $searchModel, $params)
 
 validate ()
 
 setMetadataFromPost ($postArray)
 
 getViewMetadata ()
 
 getSearchModelPostArrayName ()
 
- Public Member Functions inherited from ModalConfigEditView
 __construct (ConfigurableMetadataModel $model, $params)
 
 isUniqueToAPage ()
 
 getPostArrayName ()
 
 setMetadataFromPost ($postArray)
 
 validate ()
 
 getViewMetadata ()
 
- 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 getDesignerRulesType ()
 
static getDisplayDescription ()
 
- 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

 getModel ()
 
 afterResolveMetadataWithRenderedElements (&$metadataWithRenderedElements, $form)
 
 getRedBeanModelClassName ()
 
- Protected Member Functions inherited from ModalConfigEditView
 renderContent ()
 
 renderConfigSaveAjax ($formName, $moduleId, $controllerId, $actionSave, $uniquePortletPageId)
 
- 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 getActiveFormClassName ()
 
- Static Protected Member Functions inherited from ModalConfigEditView
static getActiveFormClassName ()
 
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

- Protected Attributes inherited from ModalConfigEditView
 $params
 
- 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 configuration view class for my list type views.

Definition at line 40 of file MyListConfigView.php.

Member Function Documentation

static getActiveFormClassName ( )
staticprotected

An override to utilize a special ActiveForm that will not display any indications in the user interface that an attribute is required.

Definition at line 62 of file MyListConfigView.php.

validate ( )

Supports both validating both models. The MyListForm model and the SearchModel

See Also
ModalConfigEditView::validate()

Definition at line 71 of file MyListConfigView.php.

setMetadataFromPost (   $postArray)

Supports setting metadata on both models. The MyListForm model and the SearchModel

See Also
ModalConfigEditView::setMetadataFromPost()

Definition at line 82 of file MyListConfigView.php.

getViewMetadata ( )

Supports getting metadata on both models. The MyListForm model and the SearchModel

See Also
ModalConfigEditView::getViewMetadata()

Definition at line 101 of file MyListConfigView.php.

getModel ( )
protected

Override because the config form is using the searchModel as its model and not the formModel.

See Also
DetailsView::getModel()

Definition at line 126 of file MyListConfigView.php.

afterResolveMetadataWithRenderedElements ( $metadataWithRenderedElements,
  $form 
)
protected

Override to support the 'title' from MyListForm being rendered into the view. This is special because this view can be modified in the designer tool, however the MyListForm is not compatible with the SearchForm in designer so this special override is in place to manually ensure the MyListForm attributes, currently only 'title' can be placed.

See Also
DetailsView::afterResolveMetadataWithRenderedElements()

Definition at line 138 of file MyListConfigView.php.

static getDisplayDescription ( )
static

Override to add a display description. An example would be 'My Contacts'. This display description can then be used by external classes interfacing with the view in order to display information to the user in the user interface.

Definition at line 162 of file MyListConfigView.php.


The documentation for this class was generated from the following file:
Generated on Wed Jun 3 2020 07:10:55