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 ) |
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 |
public render ( Sylius\Component\Grid\View\GridViewInterface $gridView, $template = null ) | ||
$gridView | Sylius\Component\Grid\View\GridViewInterface |
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 |
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 |
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 |