PHP Class Sylius\Bundle\ResourceBundle\Grid\Renderer\TwigGridRenderer

Author: Grzegorz Sadowski ([email protected])
Inheritance: implements Sylius\Component\Grid\Renderer\GridRendererInterface
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
__construct ( Sylius\Component\Grid\Renderer\GridRendererInterface $gridRenderer, Twig_Environment $twig, Sylius\Bundle\ResourceBundle\Grid\Parser\OptionsParserInterface $optionsParser, array $actionTemplates = [] )
render ( Sylius\Component\Grid\View\GridViewInterface $gridView, $template = null )
renderAction ( Sylius\Component\Grid\View\GridViewInterface $gridView, Sylius\Component\Grid\Definition\Action $action, $data = null )
renderField ( Sylius\Component\Grid\View\GridViewInterface $gridView, Sylius\Component\Grid\Definition\Field $field, $data )
renderFilter ( Sylius\Component\Grid\View\GridViewInterface $gridView, Sylius\Component\Grid\Definition\Filter $filter )

Method Details

__construct() public méthode

public __construct ( Sylius\Component\Grid\Renderer\GridRendererInterface $gridRenderer, Twig_Environment $twig, Sylius\Bundle\ResourceBundle\Grid\Parser\OptionsParserInterface $optionsParser, array $actionTemplates = [] )
$gridRenderer Sylius\Component\Grid\Renderer\GridRendererInterface
$twig Twig_Environment
$optionsParser Sylius\Bundle\ResourceBundle\Grid\Parser\OptionsParserInterface
$actionTemplates array

render() public méthode

public render ( Sylius\Component\Grid\View\GridViewInterface $gridView, $template = null )
$gridView Sylius\Component\Grid\View\GridViewInterface

renderAction() public méthode

public renderAction ( Sylius\Component\Grid\View\GridViewInterface $gridView, Sylius\Component\Grid\Definition\Action $action, $data = null )
$gridView Sylius\Component\Grid\View\GridViewInterface
$action Sylius\Component\Grid\Definition\Action

renderField() public méthode

public renderField ( Sylius\Component\Grid\View\GridViewInterface $gridView, Sylius\Component\Grid\Definition\Field $field, $data )
$gridView Sylius\Component\Grid\View\GridViewInterface
$field Sylius\Component\Grid\Definition\Field

renderFilter() public méthode

public renderFilter ( Sylius\Component\Grid\View\GridViewInterface $gridView, Sylius\Component\Grid\Definition\Filter $filter )
$gridView Sylius\Component\Grid\View\GridViewInterface
$filter Sylius\Component\Grid\Definition\Filter