MarketingListMembersListView Class Reference

Inheritance diagram for MarketingListMembersListView:
SecuredListView ListView ModelView ListViewInterface ConfigurableMetadataView MetadataView View

Public Member Functions

 getSummaryCloneClass ()
 __construct (RedBeanModelsDataProvider $dataProvider, MarketingListMembersConfigurationForm $configurationForm, $controllerId, $moduleId, $portletDetailsUrl, $redirectUrl, $uniquePageId, $params, $containerModuleClassName)
 isUniqueToAPage ()
 getContainerModuleClassName ()

Static Public Member Functions

static getDefaultMetadata ()

Data Fields


Protected Member Functions

 renderContent ()
 renderScripts ()
 getCGridViewLastColumn ()
 getCGridViewPagerParams ()
 getCGridViewParams ()
 getPortletId ()
 renderConfigurationForm ()
 renderConfigurationFormLayout ($form)
 registerConfigurationFormLayoutScripts ($form)
 registerScriptsForDynamicMemberCountUpdate ()
 registerScriptForRefreshingGridView ()
 getModelId ()
 renderSummaryCloneContent ()
 getEmptyText ()

Static Protected Member Functions

static getPagerCssClass ()

Protected Attributes

 $showFilteredBySubscriptionType = true
 $showFilteredBySearchTerm = true

Detailed Description

Definition at line 37 of file MarketingListMembersListView.php.

Constructor & Destructor Documentation

__construct ( RedBeanModelsDataProvider dataProvider,
MarketingListMembersConfigurationForm configurationForm,
RedBeanModelsDataProvider $dataProvider
MarketingListMembersConfigurationForm $configurationForm
string $controllerId
string $moduleId
string $portletDetailsUrl
string $redirectUrl
string $uniquePageId
array $params
string $containerModuleClassName

Definition at line 131 of file MarketingListMembersListView.php.

Member Function Documentation

static getDefaultMetadata (  )  [static]

Returns meta data for use in automatically generating the view. The meta data is comprised of columns. The parameters match the parameters used in CGridView. See link below for more information.

The below example is a simple listview with the 'id' and 'name' attributes The 'name' column has a hyperlink to the detail view for that record.

                $metadata = array(
                        'class' => 'CDataColumn',
                        'name'  => 'id',
                        'class'           => 'CLinkColumn',
                        'header'          => Zurmo::t('Core', 'Name'),
                        'labelExpression' => '$data->name',
                        'urlExpression'   => 'Yii::app()->createUrl("/{$this->grid->getOwner()->getModule()->getId()}/{$this->grid->getOwner()->getId()}/details", array("id" => $data->id))',

Reimplemented from ListView.

Definition at line 84 of file MarketingListMembersListView.php.

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 164 of file MarketingListMembersListView.php.

renderContent (  )  [protected]

Renders content for a list view. Utilizes a CActiveDataprovider and a CGridView widget. and form layout.

A string containing the element's content.

Reimplemented from ListView.

Definition at line 174 of file MarketingListMembersListView.php.

getCGridViewLastColumn (  )  [protected]

Override to handle security/access resolution on links.

Reimplemented from SecuredListView.

Definition at line 188 of file MarketingListMembersListView.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