Purpose
Set index page table properties, like table entries, color, ...
Context
Controller Context – get_index_label()
Example
Code Block | ||
---|---|---|
| ||
// link title in index view public function get_index_label() { return ['index' => [$this->name, $this->ds_rate_max.' MBit/s', $this->us_rate_max.' MBit/s'], 'index_header' => ['Name', 'DS Rate', 'US Rate'], 'header' => $this->name]; } |
Return
return either a array with following fields or (for historical reasons) return a string with index/header description:
...