PHP Class Elgg\Views\TableColumn\ViewColumn

Inheritance: implements Elgg\Views\TableColumn
Show file Open project: elgg/elgg

Public Methods

Method Description
__construct ( string $view, string $heading = null, array $vars = [] ) Constructor
renderCell ( $item, $type, $item_vars )
renderHeading ( )

Method Details

__construct() public method

Constructor
public __construct ( string $view, string $heading = null, array $vars = [] )
$view string The view to render the value
$heading string Heading
$vars array Vars to merge into the view vars

renderCell() public method

public renderCell ( $item, $type, $item_vars )

renderHeading() public method

public renderHeading ( )