28 $this->renderer = $renderer;
29 $this->heading = $heading;
36 return $this->heading;
43 return call_user_func($this->renderer,
$item,
$type, $item_vars);
renderCell($item, $type, $item_vars)
{Render a value cell as HTML.Cell will be auto-wrapped with a TD element if the returned string doesn...
__construct(callable $renderer, $heading)
Constructor.
Table column rendered by a function.
A renderer for a column of table cells and a header.
renderHeading()
{Get the rendered heading cell as HTML.Cell will be auto-wrapped with a TH element if the returned st...
http free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use