Versions Compared

Key

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

...

    
indexarrayfields to display on index screen, each array entry is splitted in table <td> segments 
index_headerarraythe corresponding header array for index table view 
bsclassstringbootstrap class of table segments'success', 'warning', 'danger', 'info'
headerstring

string to display

for header reference field

in

  • headline for relation context (real breadcrumbs headline (smile))
  • entries in relational blades
 
    

Example

Code Block
languagephp
    // 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];
    }

...