Initial commit

This commit is contained in:
2020-10-07 10:37:15 +02:00
commit ce5f440392
28157 changed files with 4429172 additions and 0 deletions

View File

@@ -0,0 +1,69 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @WebProfiler/Icon/ajax.svg */
class __TwigTemplate_19aba2fe12f9020a46003e99e70bdc6ca71a9e673f7a5275d8a7c7fe49587f2d extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Icon/ajax.svg"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Icon/ajax.svg"));
// line 1
echo "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path fill=\"#AAA\" d=\"M9.8 18L6 22.4c-.3.3-.8.4-1.1 0L1 18c-.4-.5-.1-1 .5-1H3V6.4C3 3.8 5.5 2 8.2 2h3.9c1.1 0 2 .9 2 2s-.9 2-2 2H8.2C7.7 6 7 6 7 6.4V17h2.2c.6 0 1 .5.6 1zM23 6l-3.8-4.5a.8.8 0 0 0-1.1 0L14.2 6c-.4.5-.1 1 .5 1H17v10.6c0 .4-.7.4-1.2.4h-3.9c-1.1 0-2 .9-2 2s.9 2 2 2h3.9c2.6 0 5.2-1.8 5.2-4.4V7h1.5c.6 0 .9-.5.5-1z\"/></svg>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@WebProfiler/Icon/ajax.svg";
}
public function getDebugInfo()
{
return array ( 36 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path fill=\"#AAA\" d=\"M9.8 18L6 22.4c-.3.3-.8.4-1.1 0L1 18c-.4-.5-.1-1 .5-1H3V6.4C3 3.8 5.5 2 8.2 2h3.9c1.1 0 2 .9 2 2s-.9 2-2 2H8.2C7.7 6 7 6 7 6.4V17h2.2c.6 0 1 .5.6 1zM23 6l-3.8-4.5a.8.8 0 0 0-1.1 0L14.2 6c-.4.5-.1 1 .5 1H17v10.6c0 .4-.7.4-1.2.4h-3.9c-1.1 0-2 .9-2 2s.9 2 2 2h3.9c2.6 0 5.2-1.8 5.2-4.4V7h1.5c.6 0 .9-.5.5-1z\"/></svg>
", "@WebProfiler/Icon/ajax.svg", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Icon/ajax.svg");
}
}

View File

@@ -0,0 +1,186 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @Product/ProductPage/Forms/form_custom_fields.html.twig */
class __TwigTemplate_1b4250a776f65bd2f6363dc6ca63ea856e5f78bea90c9ec9fa892d9db26b433e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Product/ProductPage/Forms/form_custom_fields.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Product/ProductPage/Forms/form_custom_fields.html.twig"));
// line 25
echo "<div class=\"row\">
";
// line 26
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "id_customization_field", []), 'widget');
echo "
<div class=\"col-md-3\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">";
// line 29
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "label", []), "vars", []), "label", []), "html", null, true);
echo "</label>
";
// line 30
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "label", []), 'errors');
echo "
";
// line 31
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "label", []), 'widget');
echo "
</fieldset>
</div>
<div class=\"col-md-3\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "type", []), "vars", []), "label", []), "html", null, true);
echo "</label>
";
// line 37
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "type", []), 'errors');
echo "
";
// line 38
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "type", []), 'widget');
echo "
</fieldset>
</div>
<div class=\"col-md-1\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">&nbsp;</label>
<a class=\"btn btn-block delete\" ><i class=\"material-icons\">delete</i></a>
</fieldset>
</div>
<div class=\"col-md-4\">
<fieldset class=\"form-group\">
<div>
<label class=\"form-control-label\">&nbsp;</label>
</div>
<div class=\"required-custom-field\">
";
// line 53
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? $this->getContext($context, "form")), "require", []), 'widget', ["switch" => "tiny"]);
echo "
</div>
</fieldset>
</div>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@Product/ProductPage/Forms/form_custom_fields.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 87 => 53, 69 => 38, 65 => 37, 61 => 36, 53 => 31, 49 => 30, 45 => 29, 39 => 26, 36 => 25,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#**
* 2007-2019 PrestaShop and Contributors
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2019 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*#}
<div class=\"row\">
{{ form_widget(form.id_customization_field) }}
<div class=\"col-md-3\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">{{ form.label.vars.label }}</label>
{{ form_errors(form.label) }}
{{ form_widget(form.label) }}
</fieldset>
</div>
<div class=\"col-md-3\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">{{ form.type.vars.label }}</label>
{{ form_errors(form.type) }}
{{ form_widget(form.type) }}
</fieldset>
</div>
<div class=\"col-md-1\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">&nbsp;</label>
<a class=\"btn btn-block delete\" ><i class=\"material-icons\">delete</i></a>
</fieldset>
</div>
<div class=\"col-md-4\">
<fieldset class=\"form-group\">
<div>
<label class=\"form-control-label\">&nbsp;</label>
</div>
<div class=\"required-custom-field\">
{{ form_widget(form.require, {'switch': 'tiny'}) }}
</div>
</fieldset>
</div>
</div>
", "@Product/ProductPage/Forms/form_custom_fields.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Forms/form_custom_fields.html.twig");
}
}

View File

@@ -0,0 +1,598 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @PrestaShop/Admin/WebProfiler/hooks_collector.html.twig */
class __TwigTemplate_650f9f6234bdcb1111551d28cdc6b93e85713f9a752a4581707721aa48caddb8 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
// line 25
$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@PrestaShop/Admin/WebProfiler/hooks_collector.html.twig", 25);
$this->blocks = [
'toolbar' => [$this, 'block_toolbar'],
'menu' => [$this, 'block_menu'],
'panel' => [$this, 'block_panel'],
];
}
protected function doGetParent(array $context)
{
return "@WebProfiler/Profiler/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/WebProfiler/hooks_collector.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/WebProfiler/hooks_collector.html.twig"));
// line 27
$context["helper"] = $this;
// line 25
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 29
public function block_toolbar($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
// line 30
echo " ";
ob_start();
// line 31
echo " ";
echo twig_include($this->env, $context, "@WebProfiler/Icon/event.svg");
echo "
<span class=\"sf-toolbar-value\">Hooks (";
// line 32
echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "calledHooks", [])), "html", null, true);
echo ")</span>
";
$context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 34
echo "
";
// line 35
ob_start();
// line 36
echo " <div class=\"sf-toolbar-info-piece\">
<div class=\"sf-toolbar-info-piece\">
<b class=\"sf-toolbar-ajax-info\">";
// line 38
echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "calledHooks", [])), "html", null, true);
echo " Hooks called</b>
</div>
<div class=\"sf-toolbar-info-piece\">
<table class=\"sf-toolbar-ajax-requests\">
<thead>
<tr>
<th>Hook name</th>
<th>Call(s)</th>
</tr>
</thead>
<tbody class=\"sf-toolbar-ajax-request-list\">
";
// line 49
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "calledHooks", []));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["hookName"] => $context["hooks"]) {
// line 50
echo " <tr><td>";
echo twig_escape_filter($this->env, $context["hookName"], "html", null, true);
echo "</td><td>";
echo twig_escape_filter($this->env, twig_length_filter($this->env, $context["hooks"]), "html", null, true);
echo "</td></tr>
";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 52
echo " <tr><td colspan=\"2\">No hook dispatched.</td></tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['hookName'], $context['hooks'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 54
echo " </tbody>
</table>
</div>
</div>
";
$context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 59
echo "
";
// line 60
echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => true]);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 64
public function block_menu($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
// line 65
echo " ";
// line 66
echo " <span class=\"label\">
<span class=\"icon\">";
// line 67
echo twig_include($this->env, $context, "@WebProfiler/Icon/event.svg");
echo "</span>
<strong>Hooks</strong>
</span>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 72
public function block_panel($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
// line 73
echo " <h2>Hooks</h2>
";
// line 75
if (twig_test_empty($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "notCalledHooks", []))) {
// line 76
echo " <div class=\"empty\">
<p>No Hooks have been recorded. Check that debugging is enabled in the kernel.</p>
</div>
";
} else {
// line 80
echo " <div class=\"sf-tabs\">
<div class=\"tab\">
<h3 class=\"tab-title\">Called Hooks <span class=\"badge\">";
// line 82
echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "calledHooks", [])), "html", null, true);
echo "</span></h3>
<div class=\"tab-content\">
";
// line 85
echo $context["helper"]->getrender_table($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "calledHooks", []), true);
echo "
</div>
</div>
<div class=\"tab\">
<h3 class=\"tab-title\">Not Called Hooks <span class=\"badge\">";
// line 90
echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "notCalledHooks", [])), "html", null, true);
echo "</span></h3>
<div class=\"tab-content\">
";
// line 92
if (twig_test_empty($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "notCalledHooks", []))) {
// line 93
echo " <div class=\"empty\">
<p>
<strong>There are no uncalled hooks</strong>.
</p>
<p>
All hooks were called for this request or an error occurred
when trying to collect uncalled listeners (in which case check the
logs to get more information).
</p>
</div>
";
} else {
// line 104
echo " ";
echo $context["helper"]->getrender_table($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "notCalledHooks", []), false);
echo "
";
}
// line 106
echo " </div>
</div>
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 112
public function getrender_table($__hookList__ = null, $__hookModules__ = null, ...$__varargs__)
{
$context = $this->env->mergeGlobals([
"hookList" => $__hookList__,
"hookModules" => $__hookModules__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_table"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_table"));
// line 113
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["hookList"] ?? $this->getContext($context, "hookList")));
foreach ($context['_seq'] as $context["hookName"] => $context["hooks"]) {
// line 114
echo " <h3>";
echo twig_escape_filter($this->env, $context["hookName"], "html", null, true);
echo "</h3>
<table>
<thead>
<tr>
<th>Arguments</th>
<th>Location</th>
";
// line 121
if (($context["hookModules"] ?? $this->getContext($context, "hookModules"))) {
// line 122
echo " <th>Hooked modules</th>
";
}
// line 124
echo " </tr>
</thead>
<tbody>
";
// line 127
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["hooks"]);
foreach ($context['_seq'] as $context["position"] => $context["hook"]) {
// line 128
echo " <tr>
<td>
";
// line 130
echo call_user_func_array($this->env->getFunction('profiler_dump')->getCallable(), [$this->env, $this->getAttribute($context["hook"], "args", [])]);
echo "
</td>
<td>
<span class=\"text-muted\">";
// line 133
echo twig_escape_filter($this->env, $this->getAttribute($context["hook"], "location", []), "html", null, true);
echo "</span>
</td>
";
// line 135
if (($context["hookModules"] ?? $this->getContext($context, "hookModules"))) {
// line 136
echo " <td>
";
// line 137
$context["modules"] = $this->getAttribute($context["hook"], "modules", []);
// line 138
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["modules"] ?? $this->getContext($context, "modules")));
foreach ($context['_seq'] as $context["moduleName"] => $context["module"]) {
// line 139
echo " <h4><b>";
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $context["moduleName"]), "html", null, true);
echo "</b></h4>
<table>
<thead>
<tr>
<th>Module arguments</th>
</tr>
</thead>
";
// line 147
if ($this->getAttribute($context["module"], "callback", [], "any", true, true)) {
// line 148
echo " <tr>
<td>";
// line 149
echo call_user_func_array($this->env->getFunction('profiler_dump')->getCallable(), [$this->env, $this->getAttribute($this->getAttribute($context["module"], "callback", []), "args", [])]);
echo "</td>
</tr>
";
} else {
// line 152
echo " <tr>
<td>";
// line 153
echo call_user_func_array($this->env->getFunction('profiler_dump')->getCallable(), [$this->env, $this->getAttribute($this->getAttribute($context["module"], "widget", []), "args", [])]);
echo "</td>
</tr>
";
}
// line 156
echo " </table>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['moduleName'], $context['module'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 158
echo " </td>
";
}
// line 160
echo " </tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['position'], $context['hook'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 162
echo " </tbody>
</table>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['hookName'], $context['hooks'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
} catch (\Exception $e) {
ob_end_clean();
throw $e;
} catch (\Throwable $e) {
ob_end_clean();
throw $e;
}
return ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
}
public function getTemplateName()
{
return "@PrestaShop/Admin/WebProfiler/hooks_collector.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 380 => 162, 373 => 160, 369 => 158, 362 => 156, 356 => 153, 353 => 152, 347 => 149, 344 => 148, 342 => 147, 330 => 139, 325 => 138, 323 => 137, 320 => 136, 318 => 135, 313 => 133, 307 => 130, 303 => 128, 299 => 127, 294 => 124, 290 => 122, 288 => 121, 277 => 114, 272 => 113, 253 => 112, 239 => 106, 233 => 104, 220 => 93, 218 => 92, 213 => 90, 205 => 85, 199 => 82, 195 => 80, 189 => 76, 187 => 75, 183 => 73, 174 => 72, 160 => 67, 157 => 66, 155 => 65, 146 => 64, 133 => 60, 130 => 59, 123 => 54, 116 => 52, 106 => 50, 101 => 49, 87 => 38, 83 => 36, 81 => 35, 78 => 34, 73 => 32, 68 => 31, 65 => 30, 56 => 29, 46 => 25, 44 => 27, 22 => 25,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#**
* 2007-2019 PrestaShop and Contributors
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2019 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*#}
{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% import _self as helper %}
{% block toolbar %}
{% set icon %}
{{ include('@WebProfiler/Icon/event.svg') }}
<span class=\"sf-toolbar-value\">Hooks ({{ collector.calledHooks|length }})</span>
{% endset %}
{% set text %}
<div class=\"sf-toolbar-info-piece\">
<div class=\"sf-toolbar-info-piece\">
<b class=\"sf-toolbar-ajax-info\">{{ collector.calledHooks|length }} Hooks called</b>
</div>
<div class=\"sf-toolbar-info-piece\">
<table class=\"sf-toolbar-ajax-requests\">
<thead>
<tr>
<th>Hook name</th>
<th>Call(s)</th>
</tr>
</thead>
<tbody class=\"sf-toolbar-ajax-request-list\">
{% for hookName, hooks in collector.calledHooks %}
<tr><td>{{ hookName }}</td><td>{{ hooks|length }}</td></tr>
{% else %}
<tr><td colspan=\"2\">No hook dispatched.</td></tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endset %}
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: true }) }}
{% endblock %}
{% block menu %}
{# This left-hand menu appears when using the full-screen profiler. #}
<span class=\"label\">
<span class=\"icon\">{{ include('@WebProfiler/Icon/event.svg') }}</span>
<strong>Hooks</strong>
</span>
{% endblock %}
{% block panel %}
<h2>Hooks</h2>
{% if collector.notCalledHooks is empty %}
<div class=\"empty\">
<p>No Hooks have been recorded. Check that debugging is enabled in the kernel.</p>
</div>
{% else %}
<div class=\"sf-tabs\">
<div class=\"tab\">
<h3 class=\"tab-title\">Called Hooks <span class=\"badge\">{{ collector.calledHooks|length }}</span></h3>
<div class=\"tab-content\">
{{ helper.render_table(collector.calledHooks, true) }}
</div>
</div>
<div class=\"tab\">
<h3 class=\"tab-title\">Not Called Hooks <span class=\"badge\">{{ collector.notCalledHooks|length }}</span></h3>
<div class=\"tab-content\">
{% if collector.notCalledHooks is empty %}
<div class=\"empty\">
<p>
<strong>There are no uncalled hooks</strong>.
</p>
<p>
All hooks were called for this request or an error occurred
when trying to collect uncalled listeners (in which case check the
logs to get more information).
</p>
</div>
{% else %}
{{ helper.render_table(collector.notCalledHooks, false) }}
{% endif %}
</div>
</div>
</div>
{% endif %}
{% endblock %}
{% macro render_table(hookList, hookModules) %}
{% for hookName, hooks in hookList %}
<h3>{{ hookName }}</h3>
<table>
<thead>
<tr>
<th>Arguments</th>
<th>Location</th>
{% if hookModules %}
<th>Hooked modules</th>
{% endif %}
</tr>
</thead>
<tbody>
{% for position, hook in hooks %}
<tr>
<td>
{{ profiler_dump(hook.args) }}
</td>
<td>
<span class=\"text-muted\">{{ hook.location }}</span>
</td>
{% if hookModules %}
<td>
{% set modules = hook.modules %}
{% for moduleName, module in modules %}
<h4><b>{{ moduleName|capitalize }}</b></h4>
<table>
<thead>
<tr>
<th>Module arguments</th>
</tr>
</thead>
{% if module.callback is defined %}
<tr>
<td>{{ profiler_dump(module.callback.args) }}</td>
</tr>
{% else %}
<tr>
<td>{{ profiler_dump(module.widget.args) }}</td>
</tr>
{% endif %}
</table>
{% endfor %}
</td>
{% endif %}
</tr>
{% endfor %}
</tbody>
</table>
{% endfor %}
{% endmacro %}
", "@PrestaShop/Admin/WebProfiler/hooks_collector.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/WebProfiler/hooks_collector.html.twig");
}
}