Public Member Functions | |
getRowsAreSelectable () | |
getAvailableCoinsForCurrentUser () | |
Static Public Member Functions | |
static | getDefaultMetadata () |
Protected Member Functions | |
getCGridViewPagerParams () | |
getCGridViewLastColumn () | |
Static Protected Member Functions | |
static | getPagerCssClass () |
Definition at line 37 of file GameRewardsRedeemListView.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 39 of file GameRewardsRedeemListView.php.
getRowsAreSelectable | ( | ) |
For a Kanban Board view, the rows are never selectable.
Reimplemented from ListView.
Definition at line 63 of file GameRewardsRedeemListView.php.
getCGridViewLastColumn | ( | ) | [protected] |
Override to handle security/access resolution on links.
Reimplemented from SecuredListView.
Definition at line 92 of file GameRewardsRedeemListView.php.