Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

get_

...

index_

...

label()

Purpose

set index page table properties, like table entries, color, ...

...

Code Block
languagephp
    // link title in index view
    public function get_viewindex_link_titlelabel()
    {
        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];
    }

...