PHP Class Elgg\Views\TableColumn\CallableColumn

Inheritance: implements Elgg\Views\TableColumn
Mostrar archivo Open project: elgg/elgg

Public Methods

Method Description
__construct ( callable $renderer, string $heading ) Constructor
renderCell ( $item, $type, $item_vars )
renderHeading ( )

Method Details

__construct() public method

Constructor
public __construct ( callable $renderer, string $heading )
$renderer callable Rendering function
$heading string Heading

renderCell() public method

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

renderHeading() public method

public renderHeading ( )