RelatedListView Class Reference

Inheritance diagram for RelatedListView:
ListView PortletViewInterface RelatedPortletViewInterface ModelView ListViewInterface ConfigurableMetadataView MetadataView View CampaignItemsRelatedListView SecuredRelatedListView AccountAccountAffiliationsRelatedListView AccountContactAffiliationsRelatedListView AccountsRelatedListView CampaignsRelatedListView ContactsRelatedListView GameRewardTransactionsRelatedListView MarketingListsRelatedListView OpenTasksRelatedListView OpportunitiesRelatedListView ProductsRelatedListView ProjectsRelatedListView TasksForRelatedKanbanView UpcomingMeetingsRelatedListView

Public Member Functions

 __construct ($viewData, $params, $uniqueLayoutId)
 getPortletParams ()
 renderPortletHeadContent ()
 isUniqueToAPage ()
 getTitle ()
 getModelClassName ()

Static Public Member Functions

static getDefaultTitle ()
static canUserConfigure ()
static getDesignerRulesType ()
static getDisplayDescription ()
static getPortletRulesType ()
static getAllowedOnPortletViewClassNames ()
static allowMultiplePlacement ()
static getPortletDescription ()

Data Fields


Protected Member Functions

 getShowTableOnEmpty ()
 getEmptyText ()
 getGridViewWidgetPath ()
 makeSearchAttributeData ()
 makeDataProviderBySearchAttributeData ($searchAttributeData)
 getSortAttributeForDataProvider ()
 resolveSortDescendingForDataProvider ()
 getCreateLinkRouteParameters ()
 getCGridViewPagerParams ()
 getCGridViewAfterAjaxUpdate ()
 resolveControllerId ()
 getActionModuleClassName ()
 getDataProvider ()
 getRelationAttributeName ()
 resolvePaginationParams ()
 resolveConfigForDataProvider ()

Static Protected Member Functions

static getGridTemplate ()
static getPagerCssClass ()

Protected Attributes

 $renderViewToolBarDuringRenderContent = false

Detailed Description

The base View for a module's related list view.

Definition at line 40 of file RelatedListView.php.

Member Function Documentation

isUniqueToAPage (  ) 

Tells View that it can render the extending class' divs with and id matching their name. Must be overridden to return false in extending classes that can be rendered multiple times within a page to avoid generating a page with non-unique ids which will fail XHtml validation. For those it will render a class attribute with their name.

Reimplemented from View.

Definition at line 162 of file RelatedListView.php.

getCGridViewAfterAjaxUpdate (  )  [protected]

Override to not run global eval, since it causes doubling up of ajax requests on the pager. (non-PHPdoc)

See also:

Reimplemented from ListView.

Reimplemented in ProductsRelatedListView, and TasksForRelatedKanbanView.

Definition at line 200 of file RelatedListView.php.

getTitle (  ) 


Reimplemented from ConfigurableMetadataView.

Reimplemented in TasksForRelatedKanbanView.

Definition at line 209 of file RelatedListView.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 ListView.

Reimplemented in TasksForRelatedKanbanView.

Definition at line 234 of file RelatedListView.php.

static getPortletRulesType (  )  [static]

What kind of PortletRules this view follows.

PortletRulesType as string.

Implements PortletViewInterface.

Reimplemented in AccountAccountAffiliationsRelatedListView, and AccountContactAffiliationsRelatedListView.

Definition at line 259 of file RelatedListView.php.

resolveControllerId (  )  [protected]

Controller Id for the link to models from rows in the grid view.

Definition at line 267 of file RelatedListView.php.

getActionModuleClassName (  )  [protected]

Module class name for models linked from rows in the grid view.

Reimplemented from ListView.

Definition at line 284 of file RelatedListView.php.

static getPortletDescription (  )  [static]

Override to add a description for the view to be shown when adding a portlet

Implements PortletViewInterface.

Definition at line 314 of file RelatedListView.php.

resolvePaginationParams (  )  [protected]

Resolves pagination params


Reimplemented in TasksForRelatedKanbanView.

Definition at line 322 of file RelatedListView.php.

resolveConfigForDataProvider (  )  [protected]

Resolve configuration for data provider


Reimplemented in TasksForRelatedKanbanView.

Definition at line 333 of file RelatedListView.php.

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