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

Provides DataGrid rendering function in Twig
Author: Adam Piotrowski ([email protected])
Inheritance: extends Twig_Extension
Afficher le fichier Open project: wellcommerce/wellcommerce

Méthodes publiques

Méthode 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 méthode

Constructor
public __construct ( $templateName )
$templateName

getFunctions() public méthode

public getFunctions ( )

getName() public méthode

public getName ( )

initRuntime() public méthode

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

render() public méthode

Renders the datagrid
public render ( WellCommerce\Component\DataGrid\DataGridInterface $datagrid ) : string
$datagrid WellCommerce\Component\DataGrid\DataGridInterface
Résultat string