MissionsPortletListView Class Reference

Inheritance diagram for MissionsPortletListView:
MissionsListView SecuredListView ListView ModelView ListViewInterface ConfigurableMetadataView MetadataView View

Public Member Functions

 __construct (RedBeanModelDataProvider $dataProvider, MissionsListConfigurationForm $configurationForm, $controllerId, $moduleId, $portletDetailsUrl, $redirectUrl, $uniquePageId, $params, $containerModuleClassName)
 isUniqueToAPage ()
 getOwnedByFilter ()
 getContainerModuleClassName ()

Data Fields

 $redirectUrl

Protected Member Functions

 renderContent ()
 getCGridViewParams ()
 getCGridViewLastColumn ()
 getCGridViewPagerParams ()
 getCGridViewAfterAjaxUpdate ()
 renderConfigurationForm ()
 renderConfigurationFormLayout ($form)
 registerConfigurationFormLayoutScripts ($form)

Static Protected Member Functions

static getGridTemplate ()
static getPagerCssClass ()

Protected Attributes

 $controllerId
 $moduleId
 $dataProvider
 $configurationForm
 $portletDetailsUrl
 $uniquePageId
 $params
 $containerModuleClassName

Detailed Description

Missions list view for use on a portlet.

Definition at line 40 of file MissionsPortletListView.php.


Constructor & Destructor Documentation

__construct ( RedBeanModelDataProvider dataProvider,
MissionsListConfigurationForm configurationForm,
controllerId,
moduleId,
portletDetailsUrl,
redirectUrl,
uniquePageId,
params,
containerModuleClassName 
)
Parameters:
RedBeanModelDataProvider $dataProvider
MissionsListConfigurationForm $configurationForm
string $controllerId
string $moduleId
string $portletDetailsUrl
string $redirectUrl
string $uniquePageId
array $params
string $containerModuleClassName

Definition at line 92 of file MissionsPortletListView.php.


Member Function Documentation

renderContent (  )  [protected]

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

Returns:
A string containing the element's content.

Reimplemented from ListView.

Definition at line 122 of file MissionsPortletListView.php.

getCGridViewLastColumn (  )  [protected]

Override so the edit link does not show. (non-PHPdoc)

See also:
SecuredListView::getCGridViewLastColumn()

Reimplemented from MissionsListView.

Definition at line 144 of file MissionsPortletListView.php.

getCGridViewAfterAjaxUpdate (  )  [protected]

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

See also:
ListView::getCGridViewAfterAjaxUpdate()

Reimplemented from ListView.

Definition at line 172 of file MissionsPortletListView.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 237 of file MissionsPortletListView.php.


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