33 public function __construct($view, $heading = null, $vars = []) {
37 if (!is_string($heading)) {
38 $heading =
elgg_echo(
"ViewColumn:view:$view");
40 $this->heading = $heading;
47 return $this->heading;
54 $vars = array_merge($this->vars, [
56 'item_vars' => $item_vars,
$CONFIG view
The current view type.
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...
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
renderHeading()
{Get the rendered heading cell as HTML.Cell will be auto-wrapped with a TH element if the returned st...
Table column rendered by a view.
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
__construct($view, $heading=null, $vars=[])
Constructor.
A renderer for a column of table cells and a header.
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