Public Member Functions | |
__construct ($controllerId, $moduleId, $modelClassName, $dataProvider) | |
Static Public Member Functions | |
static | getDefaultMetadata () |
Protected Member Functions | |
getCGridViewLastColumn () | |
getCGridViewPagerParams () |
View is used to display rows of email messages that are archived but not connected to any contacts or leads.
Definition at line 40 of file ArchivedEmailMatchingListView.php.
__construct | ( | $ | controllerId, | |
$ | moduleId, | |||
$ | modelClassName, | |||
$ | dataProvider | |||
) |
Override to set rows as not being selectable.
Definition at line 45 of file ArchivedEmailMatchingListView.php.
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. http://www.yiiframework.com/doc/api/1.1/CGridView/
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.
<?php $metadata = array( array( 'class' => 'CDataColumn', 'name' => 'id', ), array( '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 56 of file ArchivedEmailMatchingListView.php.
getCGridViewLastColumn | ( | ) | [protected] |
Override so the edit link does not show. (non-PHPdoc)
Reimplemented from SecuredListView.
Definition at line 89 of file ArchivedEmailMatchingListView.php.
getCGridViewPagerParams | ( | ) | [protected] |
Override so the pagination link works properly. (non-PHPdoc)
Reimplemented from ListView.
Definition at line 99 of file ArchivedEmailMatchingListView.php.