PHP Class WellCommerce\Bundle\CoreBundle\Twig\Extension\DataGridExtension

Provides DataGrid rendering function in Twig
Author: Adam Piotrowski ([email protected])
Inheritance: extends Twig_Extension
ファイルを表示 Open project: wellcommerce/wellcommerce

Public Methods

Method Description
__construct ( $templateName ) Constructor
getFunctions ( )
getName ( )
initRuntime ( Twig_Environment $environment ) Initializes Twig
render ( WellCommerce\Component\DataGrid\DataGridInterface $datagrid ) : string Renders the datagrid

Method Details

__construct() public method

Constructor
public __construct ( $templateName )
$templateName

getFunctions() public method

public getFunctions ( )

getName() public method

public getName ( )

initRuntime() public method

Initializes Twig
public initRuntime ( Twig_Environment $environment )
$environment Twig_Environment

render() public method

Renders the datagrid
public render ( WellCommerce\Component\DataGrid\DataGridInterface $datagrid ) : string
$datagrid WellCommerce\Component\DataGrid\DataGridInterface
return string