Elgg\Views\TableColumn::renderCell PHP Method

renderCell() public method

Render a value cell as HTML. Cell will be auto-wrapped with a TD element if the returned string doesn't begin with "
". You must filter/escape any user content.
public renderCell ( mixed $item, string $type, array $item_vars ) : string
$item mixed Object/row from which to pull the value
$type string Type of object
$item_vars array Parameters from the listing function
return string e.g. "My Great Title" or "My Great Title
    public function renderCell($item, $type, $item_vars);