var/cache/dev/twig/f3/f341d820d0f6898a0b8d713f0c623708.php line 33

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. /* @DesignTag42/tag_list.twig */
  14. class __TwigTemplate_c7e5238f1619e874d0b1912b68f17e13 extends \Eccube\Twig\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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DesignTag42/tag_list.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DesignTag42/tag_list.twig"));
  33.         // line 2
  34.         echo "<ul class=\"ec-shelfRole__tags\">
  35. ";
  36.         // line 3
  37.         if (array_key_exists("Product"$context)) {
  38.             // line 4
  39.             $context['_parent'] = $context;
  40.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'4$this->source); })()), "Tags", [], "any"falsefalsefalse4));
  41.             foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  42.                 // line 5
  43.                 echo "    ";
  44.                 if (twig_get_attribute($this->env$this->source$context["Tag"], "show_product_list_flg", [], "any"falsefalsefalse5)) {
  45.                     // line 6
  46.                     echo "        <li class=\"ec-shelfRole__tag tag_";
  47.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Tag"], "id", [], "any"falsefalsefalse6), "html"nulltrue);
  48.                     echo "\"
  49.         >";
  50.                     // line 7
  51.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Tag"], "name", [], "any"falsefalsefalse7), "html"nulltrue);
  52.                     echo "</li>
  53.     ";
  54.                 }
  55.             }
  56.             $_parent $context['_parent'];
  57.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  58.             $context array_intersect_key($context$_parent) + $_parent;
  59.         }
  60.         // line 11
  61.         echo "</ul>";
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.     }
  67.     public function getTemplateName()
  68.     {
  69.         return "@DesignTag42/tag_list.twig";
  70.     }
  71.     public function isTraitable()
  72.     {
  73.         return false;
  74.     }
  75.     public function getDebugInfo()
  76.     {
  77.         return array (  70 => 11,  60 => 7,  55 => 6,  52 => 5,  48 => 4,  46 => 3,  43 => 2,);
  78.     }
  79.     public function getSourceContext()
  80.     {
  81.         return new Source("{# タグ #}
  82. <ul class=\"ec-shelfRole__tags\">
  83. {% if Product is defined %}
  84. {% for Tag in Product.Tags %}
  85.     {% if Tag.show_product_list_flg %}
  86.         <li class=\"ec-shelfRole__tag tag_{{ Tag.id }}\"
  87.         >{{ Tag.name }}</li>
  88.     {% endif %}
  89. {% endfor %}
  90. {% endif %}
  91. </ul>""@DesignTag42/tag_list.twig""/home/xs031638/hieiyuba.xyz/public_html/shop/app/Plugin/DesignTag42/Resource/template/tag_list.twig");
  92.     }
  93. }