StarredReportsPortletView Class Reference

Inheritance diagram for StarredReportsPortletView:
SecuredMyListView MyListView ListView PortletViewInterface ModelView ListViewInterface ConfigurableMetadataView MetadataView View

Public Member Functions

 getTitle ()

Static Public Member Functions

static getDefaultMetadata ()
static canUserConfigure ()
static getModuleClassName ()
static getDisplayDescription ()
static getDesignerRulesType ()

Protected Member Functions

 getSearchModel ()
 getDataProviderClassName ()

Detailed Description

Definition at line 37 of file StarredReportsPortletView.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 39 of file StarredReportsPortletView.php.

static canUserConfigure (  )  [static]

Reimplemented from MyListView.

Definition at line 89 of file StarredReportsPortletView.php.

getTitle (  ) 

Reimplemented from MyListView.

Definition at line 97 of file StarredReportsPortletView.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.

Reimplemented from MyListView.

Definition at line 108 of file StarredReportsPortletView.php.

getSearchModel (  )  [protected]

Override in non-abstract class to return the proper search model object.


Reimplemented from MyListView.

Definition at line 113 of file StarredReportsPortletView.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 MyListView.

Definition at line 127 of file StarredReportsPortletView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Nov 16 07:11:07 2019