var/cache/dev/twig/c7/c772e8a3cb26f917775e041cff1f7d9bab224ef5224b4ba611cc8bdf4c23bc0b.php line 76

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* areas/product-grid/view.html.twig */
  14. class __TwigTemplate_02e4a24e1637a8433aad51a63b571a2ddd17b6938ae3b8831a1ee525bf033692 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/product-grid/view.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/product-grid/view.html.twig"));
  33.         // line 1
  34.         $context["filterDefinitionObject"] = (isset($context["filterDefinitionObject"]) || array_key_exists("filterDefinitionObject"$context) ? $context["filterDefinitionObject"] : (function () { throw new RuntimeError('Variable "filterDefinitionObject" does not exist.'1$this->source); })());
  35.         // line 2
  36.         $context["params"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "query", [], "any"falsefalsefalse2), "all", [], "any"falsefalsefalse2);
  37.         // line 3
  38.         echo "
  39. ";
  40.         // line 4
  41.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'4$this->source); })())) {
  42.             // line 5
  43.             echo "    <div class=\"span3\">
  44.     </div>
  45.     <div class=\"span9\">
  46.         <h2>ProductFilter Object</h2>
  47.         <div>
  48.             ";
  49.             // line 11
  50.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"relation""productFilter", ["types" => [=> "object"], "subtypes" => ["object" => [=> "object"]], "classes" => [=> "FilterDefinition"]]);
  51.             // line 17
  52.             echo "
  53.         </div>
  54.     </div>
  55.     <div style=\"clear: both\"></div>
  56. ";
  57.         }
  58.         // line 23
  59.         echo "
  60. ";
  61.         // line 24
  62.         if ( !twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"relation""productFilter"), "isEmpty", [], "method"falsefalsefalse24)) {
  63.             // line 25
  64.             echo "    ";
  65.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ProductController::listingAction"twig_array_merge((isset($context["params"]) || array_key_exists("params"$context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.'25$this->source); })()), ["filterdefinition" => (isset($context["filterDefinitionObject"]) || array_key_exists("filterDefinitionObject"$context) ? $context["filterDefinitionObject"] : (function () { throw new RuntimeError('Variable "filterDefinitionObject" does not exist.'25$this->source); })()), "noLayout" => true])));
  66.             echo "
  67. ";
  68.         }
  69.         
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  71.         
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  73.     }
  74.     public function getTemplateName()
  75.     {
  76.         return "areas/product-grid/view.html.twig";
  77.     }
  78.     public function isTraitable()
  79.     {
  80.         return false;
  81.     }
  82.     public function getDebugInfo()
  83.     {
  84.         return array (  75 => 25,  73 => 24,  70 => 23,  62 => 17,  60 => 11,  52 => 5,  50 => 4,  47 => 3,  45 => 2,  43 => 1,);
  85.     }
  86.     public function getSourceContext()
  87.     {
  88.         return new Source("{% set filterDefinitionObject = filterDefinitionObject %}
  89. {% set params = app.request.query.all %}
  90. {% if editmode %}
  91.     <div class=\"span3\">
  92.     </div>
  93.     <div class=\"span9\">
  94.         <h2>ProductFilter Object</h2>
  95.         <div>
  96.             {{ pimcore_relation(\"productFilter\",{
  97.                 \"types\": [\"object\"],
  98.                 \"subtypes\": {
  99.                     \"object\": [\"object\"],
  100.                 },
  101.                 \"classes\": [\"FilterDefinition\"]
  102.             }) }}
  103.         </div>
  104.     </div>
  105.     <div style=\"clear: both\"></div>
  106. {% endif %}
  107. {% if not pimcore_relation(\"productFilter\").isEmpty() %}
  108.     {{ render(controller('App\\\\Controller\\\\ProductController::listingAction', params | merge({\"filterdefinition\": filterDefinitionObject, \"noLayout\": true}))) }}
  109. {% endif %}""areas/product-grid/view.html.twig""/opt/bitnami/pimcore/templates/areas/product-grid/view.html.twig");
  110.     }
  111. }