Method | Description | |
---|---|---|
__construct ( Twig_Environment $twig, Sylius\Component\Registry\ServiceRegistryInterface $fieldsRegistry, Symfony\Component\Form\FormFactoryInterface $formFactory, Sylius\Bundle\GridBundle\Form\Registry\FormTypeRegistryInterface $formTypeRegistry, string $defaultTemplate, array $actionTemplates = [], array $filterTemplates = [] ) | ||
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 | Description | |
---|---|---|
getFilterTemplate ( Sylius\Component\Grid\Definition\Filter $filter ) : string |
public __construct ( Twig_Environment $twig, Sylius\Component\Registry\ServiceRegistryInterface $fieldsRegistry, Symfony\Component\Form\FormFactoryInterface $formFactory, Sylius\Bundle\GridBundle\Form\Registry\FormTypeRegistryInterface $formTypeRegistry, string $defaultTemplate, array $actionTemplates = [], array $filterTemplates = [] ) | ||
$twig | Twig_Environment | |
$fieldsRegistry | Sylius\Component\Registry\ServiceRegistryInterface | |
$formFactory | Symfony\Component\Form\FormFactoryInterface | |
$formTypeRegistry | Sylius\Bundle\GridBundle\Form\Registry\FormTypeRegistryInterface | |
$defaultTemplate | string | |
$actionTemplates | array | |
$filterTemplates | 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 |