protected function doDisplay(array $context, array $blocks = array()) { $__internal_6ac8a9b7a99b74a14d7bc5579b2d44b1082eefcb3fe2f81a7c10d9fa311073c7 = $this->env->getExtension("native_profiler"); $__internal_6ac8a9b7a99b74a14d7bc5579b2d44b1082eefcb3fe2f81a7c10d9fa311073c7->enter($__internal_6ac8a9b7a99b74a14d7bc5579b2d44b1082eefcb3fe2f81a7c10d9fa311073c7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "WebProfilerBundle:Profiler:table.html.twig")); // line 1 echo "<table "; if (array_key_exists("class", $context)) { echo "class='"; echo twig_escape_filter($this->env, $this->getContext($context, "class"), "html", null, true); echo "'"; } echo " >\n <thead>\n <tr>\n <th scope=\"col\" style=\"width: 25%\">Key</th>\n <th scope=\"col\" style=\"width: 75%\">Value</th>\n </tr>\n </thead>\n <tbody>\n "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter($this->getContext($context, "data")))); foreach ($context['_seq'] as $context["_key"] => $context["key"]) { // line 10 echo " <tr>\n <th>"; // line 11 echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "</th>\n <td><pre>"; // line 12 echo twig_escape_filter($this->env, $this->env->getExtension('profiler')->dumpValue($this->getAttribute($this->getContext($context, "data"), $context["key"], array(), "array")), "html", null, true); echo "</pre></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo " </tbody>\n</table>\n"; $__internal_6ac8a9b7a99b74a14d7bc5579b2d44b1082eefcb3fe2f81a7c10d9fa311073c7->leave($__internal_6ac8a9b7a99b74a14d7bc5579b2d44b1082eefcb3fe2f81a7c10d9fa311073c7_prof); }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<table "; if (array_key_exists("class", $context)) { echo "class='"; echo twig_escape_filter($this->env, isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "html", null, true); echo "'"; } echo " >\n <thead>\n <tr>\n <th scope=\"col\" style=\"width: 25%\">Key</th>\n <th scope=\"col\" style=\"width: 75%\">Value</th>\n </tr>\n </thead>\n <tbody>\n "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")))); foreach ($context['_seq'] as $context["_key"] => $context["key"]) { // line 10 echo " <tr>\n <th>"; // line 11 echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "</th>\n <td><pre>"; // line 12 echo twig_escape_filter($this->env, $this->env->getExtension('profiler')->dumpValue($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), $context["key"], array(), "array")), "html", null, true); echo "</pre></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo " </tbody>\n</table>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_e29c01e815d12a82da49208d02f984a876d0190e068e1cf00d5b465f12062715 = $this->env->getExtension("native_profiler"); $__internal_e29c01e815d12a82da49208d02f984a876d0190e068e1cf00d5b465f12062715->enter($__internal_e29c01e815d12a82da49208d02f984a876d0190e068e1cf00d5b465f12062715_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "WebProfilerBundle:Profiler:table.html.twig")); // line 1 echo "<table "; if (array_key_exists("class", $context)) { echo "class='"; echo twig_escape_filter($this->env, isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "html", null, true); echo "'"; } echo " >\n <thead>\n <tr>\n <th scope=\"col\" style=\"width: 25%\">Key</th>\n <th scope=\"col\" style=\"width: 75%\">Value</th>\n </tr>\n </thead>\n <tbody>\n "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")))); foreach ($context['_seq'] as $context["_key"] => $context["key"]) { // line 10 echo " <tr>\n <th>"; // line 11 echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "</th>\n <td><pre>"; // line 12 echo twig_escape_filter($this->env, $this->env->getExtension('profiler')->dumpValue($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), $context["key"], array(), "array")), "html", null, true); echo "</pre></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo " </tbody>\n</table>\n"; $__internal_e29c01e815d12a82da49208d02f984a876d0190e068e1cf00d5b465f12062715->leave($__internal_e29c01e815d12a82da49208d02f984a876d0190e068e1cf00d5b465f12062715_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_b71ec851d725e3bfd4c170957ebd7a59b76cca17d3f2f99b4f29a8d8a232482b = $this->env->getExtension("native_profiler"); $__internal_b71ec851d725e3bfd4c170957ebd7a59b76cca17d3f2f99b4f29a8d8a232482b->enter($__internal_b71ec851d725e3bfd4c170957ebd7a59b76cca17d3f2f99b4f29a8d8a232482b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/table.html.twig")); // line 1 echo "<table "; if (array_key_exists("class", $context)) { echo "class='"; echo twig_escape_filter($this->env, isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "html", null, true); echo "'"; } echo " >\n <thead>\n <tr>\n <th scope=\"col\" style=\"width: 25%\">Key</th>\n <th scope=\"col\" style=\"width: 75%\">Value</th>\n </tr>\n </thead>\n <tbody>\n "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")))); foreach ($context['_seq'] as $context["_key"] => $context["key"]) { // line 10 echo " <tr>\n <th>"; // line 11 echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "</th>\n <td><pre>"; // line 12 echo twig_escape_filter($this->env, $this->env->getExtension('profiler')->dumpValue($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), $context["key"], array(), "array")), "html", null, true); echo "</pre></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo " </tbody>\n</table>\n"; $__internal_b71ec851d725e3bfd4c170957ebd7a59b76cca17d3f2f99b4f29a8d8a232482b->leave($__internal_b71ec851d725e3bfd4c170957ebd7a59b76cca17d3f2f99b4f29a8d8a232482b_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_07c6db0c7bf0c2b0f39dd8a2adb8734aa673fb222a82e498d6dc9e7a199b1b8f = $this->env->getExtension("native_profiler"); $__internal_07c6db0c7bf0c2b0f39dd8a2adb8734aa673fb222a82e498d6dc9e7a199b1b8f->enter($__internal_07c6db0c7bf0c2b0f39dd8a2adb8734aa673fb222a82e498d6dc9e7a199b1b8f_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "WebProfilerBundle:Profiler:table.html.twig")); // line 1 echo "<table class=\""; echo twig_escape_filter($this->env, array_key_exists("class", $context) ? _twig_default_filter(isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "") : "", "html", null, true); echo "\">\n <thead>\n <tr>\n <th scope=\"col\" class=\"key\">"; // line 4 echo twig_escape_filter($this->env, array_key_exists("labels", $context) ? $this->getAttribute(isset($context["labels"]) ? $context["labels"] : $this->getContext($context, "labels"), 0, array(), "array") : "Key", "html", null, true); echo "</th>\n <th scope=\"col\">"; // line 5 echo twig_escape_filter($this->env, array_key_exists("labels", $context) ? $this->getAttribute(isset($context["labels"]) ? $context["labels"] : $this->getContext($context, "labels"), 1, array(), "array") : "Value", "html", null, true); echo "</th>\n </tr>\n </thead>\n <tbody>\n "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")))); foreach ($context['_seq'] as $context["_key"] => $context["key"]) { // line 10 echo " <tr>\n <th scope=\"row\">"; // line 11 echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "</th>\n <td>"; // line 12 echo twig_escape_filter($this->env, $this->env->getExtension('profiler')->dumpValue($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), $context["key"], array(), "array")), "html", null, true); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo " </tbody>\n</table>\n"; $__internal_07c6db0c7bf0c2b0f39dd8a2adb8734aa673fb222a82e498d6dc9e7a199b1b8f->leave($__internal_07c6db0c7bf0c2b0f39dd8a2adb8734aa673fb222a82e498d6dc9e7a199b1b8f_prof); }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<table "; if (array_key_exists("class", $context)) { echo "class='"; echo twig_escape_filter($this->env, isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "html", null, true); echo "'"; } echo " >\n <thead>\n <tr>\n <th scope=\"col\">Key</th>\n <th scope=\"col\">Value</th>\n </tr>\n </thead>\n <tbody>\n "; // line 9 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")))); foreach ($context['_seq'] as $context["_key"] => $context["key"]) { // line 10 echo " <tr>\n <th>"; // line 11 echo twig_escape_filter($this->env, isset($context["key"]) ? $context["key"] : $this->getContext($context, "key"), "html", null, true); echo "</th>\n "; // line 13 echo " <td>"; echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), isset($context["key"]) ? $context["key"] : $this->getContext($context, "key"), array(), "array"), 64 | 256), "html", null, true); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 16 echo " </tbody>\n</table>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_d9c4a74d996a7844ff543e95958cad98f3fdde40163727ff20a0ad792cbe4c1e = $this->env->getExtension("native_profiler"); $__internal_d9c4a74d996a7844ff543e95958cad98f3fdde40163727ff20a0ad792cbe4c1e->enter($__internal_d9c4a74d996a7844ff543e95958cad98f3fdde40163727ff20a0ad792cbe4c1e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/table.html.twig")); // line 1 echo "<table class=\""; echo twig_escape_filter($this->env, array_key_exists("class", $context) ? _twig_default_filter(isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "") : "", "html", null, true); echo "\">\n <thead>\n <tr>\n <th scope=\"col\" class=\"key\">"; // line 4 echo twig_escape_filter($this->env, array_key_exists("labels", $context) ? $this->getAttribute(isset($context["labels"]) ? $context["labels"] : $this->getContext($context, "labels"), 0, array(), "array") : "Key", "html", null, true); echo "</th>\n <th scope=\"col\">"; // line 5 echo twig_escape_filter($this->env, array_key_exists("labels", $context) ? $this->getAttribute(isset($context["labels"]) ? $context["labels"] : $this->getContext($context, "labels"), 1, array(), "array") : "Value", "html", null, true); echo "</th>\n </tr>\n </thead>\n <tbody>\n "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")))); foreach ($context['_seq'] as $context["_key"] => $context["key"]) { // line 10 echo " <tr>\n <th scope=\"row\">"; // line 11 echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "</th>\n <td>"; // line 12 echo twig_escape_filter($this->env, $this->env->getExtension('profiler')->dumpValue($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), $context["key"], array(), "array")), "html", null, true); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo " </tbody>\n</table>\n"; $__internal_d9c4a74d996a7844ff543e95958cad98f3fdde40163727ff20a0ad792cbe4c1e->leave($__internal_d9c4a74d996a7844ff543e95958cad98f3fdde40163727ff20a0ad792cbe4c1e_prof); }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<strong>Explanation:</strong> <table style=\"margin: 5px 0;\"> <thead> <tr> "; // line 6 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_get_array_keys_filter($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), 0, array(), "array"))); foreach ($context['_seq'] as $context["_key"] => $context["label"]) { // line 7 echo " <th>"; echo twig_escape_filter($this->env, $context["label"], "html", null, true); echo "</th> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['label'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 9 echo " </tr> </thead> <tbody> "; // line 12 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"))); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 13 echo " <tr> "; // line 14 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($context["row"]); foreach ($context['_seq'] as $context["key"] => $context["item"]) { // line 15 echo " <td>"; echo twig_escape_filter($this->env, ((("possible_keys" == $context["key"])) ? (strtr($context["item"], array("," => ", "))) : ($context["item"])), "html", null, true); echo "</td> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 17 echo " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 19 echo " </tbody> </table> "; }
public function block_panel($context, array $blocks = array()) { // line 13 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Priority</th>\n <th>Listener</th>\n </tr>\n "; // line 21 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getContext($context, "collector"), "calledlisteners")); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 22 echo " <tr>\n <td><code>"; // line 23 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "listener"), "event"), "html", null, true); echo "</code></td>\n <td><code>"; // line 24 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "listener"), "priority"), "html", null, true); echo "</code></td>\n <td><code>"; // line 25 echo $context["__internal_03175e35fdf2fbd0a5ea82f398aaec4c_1"]->getdisplay_listener($this->getContext($context, "listener")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 28 echo " </table>\n\n "; // line 30 if ($this->getAttribute($this->getContext($context, "collector"), "notcalledlisteners")) { // line 31 echo " <h2>Not Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Priority</th>\n <th>Listener</th>\n </tr>\n "; // line 39 $context["listeners"] = $this->getAttribute($this->getContext($context, "collector"), "notcalledlisteners"); // line 40 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter($this->getContext($context, "listeners")))); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 41 echo " <tr>\n <td><code>"; // line 42 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "listeners"), $this->getContext($context, "listener"), array(), "array"), "event"), "html", null, true); echo "</code></td>\n <td><code>"; // line 43 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "listeners"), $this->getContext($context, "listener"), array(), "array"), "priority"), "html", null, true); echo "</code></td>\n <td><code>"; // line 44 echo $context["__internal_03175e35fdf2fbd0a5ea82f398aaec4c_1"]->getdisplay_listener($this->getAttribute($this->getContext($context, "listeners"), $this->getContext($context, "listener"), array(), "array")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 47 echo " </table>\n "; } }
public function block_panelContent($context, array $blocks = array()) { // line 24 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Priority</th>\n <th>Listener</th>\n </tr>\n "; // line 32 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getContext($context, "collector"), "calledlisteners")); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 33 echo " <tr>\n <td><code>"; // line 34 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "listener"), "event"), "html", null, true); echo "</code></td>\n <td><code>"; // line 35 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "listener"), "priority"), "html", null, true); echo "</code></td>\n <td><code>"; // line 36 echo $context["__internal_ab1f4715ed09b657b05a4dce5beb775a49c5e30b"]->getdisplay_listener($this->getContext($context, "listener")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 39 echo " </table>\n\n "; // line 41 if ($this->getAttribute($this->getContext($context, "collector"), "notcalledlisteners")) { // line 42 echo " <h2>Not Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Priority</th>\n <th>Listener</th>\n </tr>\n "; // line 50 $context["listeners"] = $this->getAttribute($this->getContext($context, "collector"), "notcalledlisteners"); // line 51 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter($this->getContext($context, "listeners")))); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 52 echo " <tr>\n <td><code>"; // line 53 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "listeners"), $this->getContext($context, "listener"), array(), "array"), "event"), "html", null, true); echo "</code></td>\n <td><code>"; // line 54 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "listeners"), $this->getContext($context, "listener"), array(), "array"), "priority"), "html", null, true); echo "</code></td>\n <td><code>"; // line 55 echo $context["__internal_ab1f4715ed09b657b05a4dce5beb775a49c5e30b"]->getdisplay_listener($this->getAttribute($this->getContext($context, "listeners"), $this->getContext($context, "listener"), array(), "array")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 58 echo " </table>\n "; } }
public function block_panelContent($context, array $blocks = array()) { // line 24 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 31 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getContext($context, "collector"), "calledlisteners", array())); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 32 echo " <tr>\n <td><code>"; // line 33 echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 34 echo $context["__internal_ca7298c0f97992f8db99dba66122337d9148c8b39cb97f9e760e6ea1a56c3032"]->getdisplay_listener($context["listener"]); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 37 echo " </table>\n\n <h2>Not Called Listeners</h2>\n\n "; // line 41 if ($this->getAttribute($this->getContext($context, "collector"), "notcalledlisteners", array())) { // line 42 echo " <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 47 $context["listeners"] = $this->getAttribute($this->getContext($context, "collector"), "notcalledlisteners", array()); // line 48 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter($this->getContext($context, "listeners")))); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 49 echo " <tr>\n <td><code>"; // line 50 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "listeners"), $context["listener"], array(), "array"), "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 51 echo $context["__internal_ca7298c0f97992f8db99dba66122337d9148c8b39cb97f9e760e6ea1a56c3032"]->getdisplay_listener($this->getAttribute($this->getContext($context, "listeners"), $context["listener"], array(), "array")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo " </table>\n "; } else { // line 56 echo " <p>\n <strong>No uncalled listeners</strong>.\n </p>\n <p>\n\n All listeners were called for this request or an error occurred\n when trying to collect uncalled listeners (in which case check the\n logs to get more information).\n\n </p>\n "; } }
public function block_panelContent($context, array $blocks = array()) { // line 24 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 31 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["collector"]) ? $context["collector"] : null, "calledlisteners", array())); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 32 echo " <tr>\n <td><code>"; // line 33 echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 34 echo $context["__internal_a4ac6a6fae1596d33f13651e2f6077739646811781c15832459cbf78de933e81"]->getdisplay_listener($context["listener"]); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 37 echo " </table>\n\n <h2>Not Called Listeners</h2>\n\n "; // line 41 if ($this->getAttribute(isset($context["collector"]) ? $context["collector"] : null, "notcalledlisteners", array())) { // line 42 echo " <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 47 $context["listeners"] = $this->getAttribute(isset($context["collector"]) ? $context["collector"] : null, "notcalledlisteners", array()); // line 48 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["listeners"]) ? $context["listeners"] : null))); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 49 echo " <tr>\n <td><code>"; // line 50 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : null, $context["listener"], array(), "array"), "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 51 echo $context["__internal_a4ac6a6fae1596d33f13651e2f6077739646811781c15832459cbf78de933e81"]->getdisplay_listener($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : null, $context["listener"], array(), "array")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo " </table>\n "; } else { // line 56 echo " <p>\n <strong>No uncalled listeners</strong>.\n </p>\n <p>\n\n All listeners were called for this request or an error occurred\n when trying to collect uncalled listeners (in which case check the\n logs to get more information).\n\n </p>\n "; } }
public function block_panelContent($context, array $blocks = array()) { // line 24 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 31 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "calledlisteners")); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 32 echo " <tr>\n <td><code>"; // line 33 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener"), "event"), "html", null, true); echo "</code></td>\n <td><code>"; // line 34 echo $context["__internal_cb6bfed9c579242d840ceafbf7b86211445ef36a61f85cff2dfd206928f47c4f"]->getdisplay_listener(isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 37 echo " </table>\n\n <h2>Not Called Listeners</h2>\n\n "; // line 41 if ($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners")) { // line 42 echo " <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 47 $context["listeners"] = $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners"); // line 48 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners")))); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 49 echo " <tr>\n <td><code>"; // line 50 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener"), array(), "array"), "event"), "html", null, true); echo "</code></td>\n <td><code>"; // line 51 echo $context["__internal_cb6bfed9c579242d840ceafbf7b86211445ef36a61f85cff2dfd206928f47c4f"]->getdisplay_listener($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener"), array(), "array")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo " </table>\n "; } else { // line 56 echo " <p>\n <strong>No uncalled listeners</strong>.\n </p>\n <p>\n\n All listeners were called for this request or an error occurred\n when trying to collect uncalled listeners (in which case check the\n logs to get more information).\n\n </p>\n "; } }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 $context["taxonomies"] = null === (isset($context["taxonomies"]) ? $context["taxonomies"] : null) ? $this->getAttribute($this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "data", array(0 => "site"), "method"), "taxonomies", array()) : (isset($context["taxonomies"]) ? $context["taxonomies"] : null); // line 2 $context["parentname"] = $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "name", array()); // line 3 echo "\n"; // line 4 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["taxonomies"]) ? $context["taxonomies"] : null); $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true); if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["name"]) { // line 5 echo "\n "; // line 6 $context["value"] = $this->env->getExtension('GravTwigExtension')->arrayFunc($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "value", array(0 => "header.taxonomy." . $context["name"]), "method", true, true) ? _twig_default_filter($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "value", array(0 => "header.taxonomy." . $context["name"]), "method"), array()) : array()); // line 7 echo " "; $context["sub_taxonomies"] = twig_get_array_keys_filter($this->getAttribute($this->getAttribute($this->getAttribute(isset($context["grav"]) ? $context["grav"] : null, "taxonomy", array(), "any", false, true), "taxonomy", array(), "any", false, true), $context["name"], array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute($this->getAttribute(isset($context["grav"]) ? $context["grav"] : null, "taxonomy", array(), "any", false, true), "taxonomy", array(), "any", false, true), $context["name"]), array()) : array()); // line 8 echo " "; $context["list"] = twig_array_merge(twig_array_merge(array(), isset($context["sub_taxonomies"]) ? $context["sub_taxonomies"] : null), isset($context["value"]) ? $context["value"] : null); // line 9 echo "\n "; // line 10 $context["field"] = array("type" => "select", "classes" => "fancy create", "label" => twig_capitalize_string_filter($this->env, $context["name"]), "name" => (isset($context["parentname"]) ? $context["parentname"] : null) . "." . $context["name"], "multiple" => true, "options" => isset($context["list"]) ? $context["list"] : null, "selectize" => array("create" => true)); // line 21 echo "\n "; // line 22 $this->loadTemplate(array(0 => "forms/fields/select/select.html.twig"), "forms/fields/taxonomy/taxonomy.html.twig", 22)->display($context); ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; }
public function block_panel($context, array $blocks = array()) { // line 13 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 20 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getContext($context, 'collector'), "calledlisteners", array(), "any", false)); foreach ($context['_seq'] as $context['_key'] => $context['listener']) { // line 21 echo " <tr>\n <td><code>"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'listener'), "event", array(), "any", false), "html"); echo "</code></td>\n <td><code>"; // line 23 echo twig_escape_filter($this->env, $this->getAttribute($context['__internal_c619c1baf77aca81b7fb6b42824e074e_1'], "display_listener", array($this->getContext($context, 'listener')), "method", false), "html"); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 26 echo " </table>\n\n "; // line 28 if ($this->getAttribute($this->getContext($context, 'collector'), "notcalledlisteners", array(), "any", false)) { // line 29 echo " <h2>Not Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 36 $context['listeners'] = $this->getAttribute($this->getContext($context, 'collector'), "notcalledlisteners", array(), "any", false); // line 37 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter($this->getContext($context, 'listeners')))); foreach ($context['_seq'] as $context['_key'] => $context['listener']) { // line 38 echo " <tr>\n <td><code>"; // line 39 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, 'listeners'), $this->getContext($context, 'listener'), array(), "array", false), "event", array(), "any", false), "html"); echo "</code></td>\n <td><code>"; // line 40 echo twig_escape_filter($this->env, $this->getAttribute($context['__internal_c619c1baf77aca81b7fb6b42824e074e_1'], "display_listener", array($this->getAttribute($this->getContext($context, 'listeners'), $this->getContext($context, 'listener'), array(), "array", false)), "method", false), "html"); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 43 echo " </table>\n "; } }
public function block_panelContent($context, array $blocks = array()) { // line 24 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 31 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "calledlisteners", array())); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 32 echo " <tr>\n <td><code>"; // line 33 echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 34 echo $context["__internal_40fcb196d99f204466043ae7fc411dd6fcaa2a83f623a3fcaa76d407b4c49866"]->getdisplay_listener($context["listener"]); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 37 echo " </table>\n\n "; // line 39 if ($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners", array())) { // line 40 echo " <h2>Not Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 47 $context["listeners"] = $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners", array()); // line 48 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners")))); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 49 echo " <tr>\n <td><code>"; // line 50 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), $context["listener"], array(), "array"), "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 51 echo $context["__internal_40fcb196d99f204466043ae7fc411dd6fcaa2a83f623a3fcaa76d407b4c49866"]->getdisplay_listener($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), $context["listener"], array(), "array")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo " </table>\n "; } }
public function block_panelContent($context, array $blocks = array()) { // line 24 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 31 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "calledlisteners", array())); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 32 echo " <tr>\n <td><code>"; // line 33 echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 34 echo $context["__internal_c9413ce0f815b44d1893820f4a21ed7e4d3ad8e0e29234ac2e11557b60008951"]->getdisplay_listener($context["listener"]); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 37 echo " </table>\n\n "; // line 39 if ($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners", array())) { // line 40 echo " <h2>Not Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 47 $context["listeners"] = $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners", array()); // line 48 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners")))); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 49 echo " <tr>\n <td><code>"; // line 50 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), $context["listener"], array(), "array"), "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 51 echo $context["__internal_c9413ce0f815b44d1893820f4a21ed7e4d3ad8e0e29234ac2e11557b60008951"]->getdisplay_listener($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), $context["listener"], array(), "array")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo " </table>\n "; } }
public function block_panel($context, array $blocks = array()) { // line 13 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 20 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getContext($context, "collector"), "calledlisteners")); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 21 echo " <tr>\n <td><code>"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "listener"), "event"), "html", null, true); echo "</code></td>\n <td><code>"; // line 23 echo twig_escape_filter($this->env, $this->getAttribute($context["__internal_1349490fab5212aca26376a165b9b1ef_1"], "display_listener", array($this->getContext($context, "listener")), "method"), "html", null, true); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 26 echo " </table>\n\n "; // line 28 if ($this->getAttribute($this->getContext($context, "collector"), "notcalledlisteners")) { // line 29 echo " <h2>Not Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 36 $context["listeners"] = $this->getAttribute($this->getContext($context, "collector"), "notcalledlisteners"); // line 37 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter($this->getContext($context, "listeners")))); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 38 echo " <tr>\n <td><code>"; // line 39 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "listeners"), $this->getContext($context, "listener"), array(), "array"), "event"), "html", null, true); echo "</code></td>\n <td><code>"; // line 40 echo twig_escape_filter($this->env, $this->getAttribute($context["__internal_1349490fab5212aca26376a165b9b1ef_1"], "display_listener", array($this->getAttribute($this->getContext($context, "listeners"), $this->getContext($context, "listener"), array(), "array")), "method"), "html", null, true); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 43 echo " </table>\n "; } }
public function block_panelContent($context, array $blocks = array()) { // line 24 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 31 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "calledlisteners")); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 32 echo " <tr>\n <td><code>"; // line 33 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener"), "event"), "html", null, true); echo "</code></td>\n <td><code>"; // line 34 echo $context["__internal_7c650ea83e7d0a0fe4cd662434c1b85f99dcd91e"]->getdisplay_listener(isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 37 echo " </table>\n\n "; // line 39 if ($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners")) { // line 40 echo " <h2>Not Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 47 $context["listeners"] = $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners"); // line 48 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners")))); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 49 echo " <tr>\n <td><code>"; // line 50 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener"), array(), "array"), "event"), "html", null, true); echo "</code></td>\n <td><code>"; // line 51 echo $context["__internal_7c650ea83e7d0a0fe4cd662434c1b85f99dcd91e"]->getdisplay_listener($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener"), array(), "array")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo " </table>\n "; } }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<small><strong>Explanation</strong>:</small>\n\n<table style=\"margin: 5px 0;\">\n <thead>\n <tr>\n "; // line 6 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_get_array_keys_filter($this->getAttribute($this->getContext($context, "data"), 0, array(), "array"))); foreach ($context['_seq'] as $context["_key"] => $context["label"]) { // line 7 echo " <th>"; echo twig_escape_filter($this->env, $this->getContext($context, "label"), "html", null, true); echo "</th>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['label'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 9 echo " </tr>\n </thead>\n <tbody>\n "; // line 12 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getContext($context, "data")); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 13 echo " <tr>\n "; // line 14 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getContext($context, "row")); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 15 echo " <td>"; echo twig_escape_filter($this->env, $this->getContext($context, "item"), "html", null, true); echo "</td>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 17 echo " </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 19 echo " </tbody>\n</table>"; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_6855a558dfccacdff2fd6b5513cf496e5e396b5988fd055c41841091bf1564a1 = $this->env->getExtension("native_profiler"); $__internal_6855a558dfccacdff2fd6b5513cf496e5e396b5988fd055c41841091bf1564a1->enter($__internal_6855a558dfccacdff2fd6b5513cf496e5e396b5988fd055c41841091bf1564a1_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "SonataAdminBundle:Button:create_button.html.twig")); // line 11 echo "\n"; // line 12 if ($this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "hasRoute", array(0 => "create"), "method") && $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "isGranted", array(0 => "CREATE"), "method")) { // line 13 echo " "; if (twig_test_empty($this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "subClasses", array()))) { // line 14 echo " <a class=\"sonata-action-element\" href=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "generateUrl", array(0 => "create"), "method"), "html", null, true); echo "\">\n <i class=\"fa fa-plus-circle\"></i>\n "; // line 16 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("link_action_create", array(), "SonataAdminBundle"), "html", null, true); echo "</a>\n "; } else { // line 18 echo " <li class=\"divider\" role=\"presentation\"></li>\n "; // line 19 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_get_array_keys_filter($this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "subclasses", array()))); foreach ($context['_seq'] as $context["_key"] => $context["subclass"]) { // line 20 echo " <li>\n <a href=\""; // line 21 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "generateUrl", array(0 => "create", 1 => array("subclass" => $context["subclass"])), "method"), "html", null, true); echo "\">\n <i class=\"fa fa-plus-circle\"></i>\n "; // line 23 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("link_action_create", array(), "SonataAdminBundle"), "html", null, true); echo " "; echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans($context["subclass"], array(), $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "translationdomain", array())), "html", null, true); echo "\n </a>\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subclass'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 27 echo " <li class=\"divider\" role=\"presentation\"></li>\n "; } } $__internal_6855a558dfccacdff2fd6b5513cf496e5e396b5988fd055c41841091bf1564a1->leave($__internal_6855a558dfccacdff2fd6b5513cf496e5e396b5988fd055c41841091bf1564a1_prof); }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 $context["ftype"] = $this->env->getExtension('Bolt')->first(twig_get_array_keys_filter(isset($context["fieldset"]) ? $context["fieldset"] : null)); // line 2 $context["fconf"] = $this->env->getExtension('Bolt')->first(isset($context["fieldset"]) ? $context["fieldset"] : null); // line 3 echo "\n<fieldset data-bolt-field=\""; // line 4 echo twig_escape_filter($this->env, isset($context["ftype"]) ? $context["ftype"] : null, "html", null, true); echo "\" data-bolt-fconf=\""; echo twig_escape_filter($this->env, twig_jsonencode_filter(isset($context["fconf"]) ? $context["fconf"] : null), "html", null, true); echo "\">\n"; // line 5 $this->displayBlock('fieldset', $context, $blocks); // line 6 echo "</fieldset>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 11 echo "\n"; // line 12 if ($this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "hasRoute", array(0 => "create"), "method") && $this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "isGranted", array(0 => "CREATE"), "method")) { // line 13 echo " "; if (twig_test_empty($this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "subClasses", array()))) { // line 14 echo " <a class=\"sonata-action-element\" href=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "generateUrl", array(0 => "create"), "method"), "html", null, true); echo "\">\n <i class=\"fa fa-plus-circle\"></i>\n "; // line 16 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("link_action_create", array(), "SonataAdminBundle"), "html", null, true); echo "</a>\n "; } else { // line 18 echo " <li class=\"divider\" role=\"presentation\"></li>\n "; // line 19 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_get_array_keys_filter($this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "subclasses", array()))); foreach ($context['_seq'] as $context["_key"] => $context["subclass"]) { // line 20 echo " <li>\n <a href=\""; // line 21 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "generateUrl", array(0 => "create", 1 => array("subclass" => $context["subclass"])), "method"), "html", null, true); echo "\">\n <i class=\"fa fa-plus-circle\"></i>\n "; // line 23 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("link_action_create", array(), "SonataAdminBundle"), "html", null, true); echo " "; echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans($context["subclass"], array(), $this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "translationdomain", array())), "html", null, true); echo "\n </a>\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subclass'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 27 echo " <li class=\"divider\" role=\"presentation\"></li>\n "; } } }
protected function doDisplay(array $context, array $blocks = array()) { // line 11 echo "\n"; // line 12 if ($this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "hasRoute", array(0 => "create"), "method") && $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "isGranted", array(0 => "CREATE"), "method")) { // line 13 echo " "; if (twig_test_empty($this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "subClasses"))) { // line 14 echo " <a class=\"btn sonata-action-element\" href=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "generateUrl", array(0 => "create"), "method"), "html", null, true); echo "\">\n <i class=\"icon-plus\"></i>\n "; // line 16 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("link_action_create", array(), "SonataAdminBundle"), "html", null, true); echo "</a>\n "; } else { // line 18 echo " <span class=\"btn-group sonata-action-element\">\n <a class=\"btn dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\">\n <i class=\"icon-plus\"></i>\n "; // line 21 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("link_action_create", array(), "SonataAdminBundle"), "html", null, true); echo "\n <span class=\"caret\"></span>\n </a>\n <ul class=\"dropdown-menu\">\n "; // line 25 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_get_array_keys_filter($this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "subclasses"))); foreach ($context['_seq'] as $context["_key"] => $context["subclass"]) { // line 26 echo " <li>\n <a href=\""; // line 27 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "generateUrl", array(0 => "create", 1 => array("subclass" => isset($context["subclass"]) ? $context["subclass"] : $this->getContext($context, "subclass"))), "method"), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans(isset($context["subclass"]) ? $context["subclass"] : $this->getContext($context, "subclass"), array(), $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "translationdomain")), "html", null, true); echo "</a>\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subclass'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 30 echo " </ul>\n </span>\n "; } } }
public function block_javascripts($context, array $blocks = array()) { // line 16 echo " "; $this->displayParentBlock("javascripts", $context, $blocks); echo "\n <script src=\""; // line 17 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/coresphereconsole/js/console.js"), "html", null, true); echo "\"></script>\n <script>\n jQuery(function () {\n "; // line 21 echo " var coresphere_console = new CoreSphereConsole(\n jQuery(\"#coresphere_consolebundle_console\"), {\n \"commands\" : "; // line 23 echo twig_jsonencode_filter(twig_get_array_keys_filter(isset($context["commands"]) ? $context["commands"] : $this->getContext($context, "commands"))); echo ".sort(),\n \"post_path\" : \""; // line 24 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("console_exec"), "js", null, true); echo "\",\n \"environment\" : \""; // line 25 echo twig_escape_filter($this->env, isset($context["environment"]) ? $context["environment"] : $this->getContext($context, "environment"), "js", null, true); echo "\",\n \"lang\" : {\n \"loading\" : \""; // line 27 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("coresphere_console.loading"), "js", null, true); echo "\",\n \"suggestion_head\" : \""; // line 28 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("coresphere_console.suggestion_head"), "js", null, true); echo "\",\n \"environment\" : \""; // line 29 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("coresphere_console.environment"), "js", null, true); echo "\",\n \"empty_response\" : \""; // line 30 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("coresphere_console.empty_response"), "js", null, true); echo "\",\n \"welcome_message\" : \""; // line 31 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("coresphere_console.welcome_message", array("%command%" => "<code class=\"console_command\">list</code>")), "js", null, true); echo "\"\n },\n \"templates\" : {\n \"error\" : \$(\"#template_console_error\").text(),\n \"command\" : \$(\"#template_console_command\").text(),\n \"environment\" : \$(\"#template_console_environment\").text(),\n \"suggestion_list\" : \$('#template_suggestion_list').text(),\n \"loading\" : \$('#template_console_loading').text(),\n \"suggestion_item_active\" : \$('#suggestion_item_active').text(),\n \"suggestion_item\" : \$('#suggestion_item').text(),\n \"highlight\" : \$('#template_console_highlight').text().trim()\n }\n });\n "; // line 45 echo " });\n </script>\n"; }
public function block_panel($context, array $blocks = array()) { $__internal_b3b9cff0ad2431c5a9fc647df06f8d2c67b2a8c9a1c23159f8be9e130401fd3b = $this->env->getExtension("native_profiler"); $__internal_b3b9cff0ad2431c5a9fc647df06f8d2c67b2a8c9a1c23159f8be9e130401fd3b->enter($__internal_b3b9cff0ad2431c5a9fc647df06f8d2c67b2a8c9a1c23159f8be9e130401fd3b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "panel")); // line 124 echo " <h2>Project Configuration</h2>\n <table>\n <tr>\n <th>Key</th>\n <th>Value</th>\n </tr>\n <tr>\n "; // line 131 if ($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "applicationname", array())) { // line 132 echo " <th>Application</th>\n <td>"; // line 133 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "applicationname", array()), "html", null, true); echo " "; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "applicationversion", array()), "html", null, true); echo " (on Symfony "; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "symfonyversion", array()), "html", null, true); echo ")</td>\n "; } else { // line 135 echo " <th>Symfony version</th>\n <td>"; // line 136 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "symfonyversion", array()), "html", null, true); echo "</td>\n "; } // line 138 echo " </tr>\n "; // line 139 if ("n/a" != $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "appname", array())) { // line 140 echo " <tr>\n <th>Application name</th>\n <td>"; // line 142 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "appname", array()), "html", null, true); echo "</td>\n </tr>\n "; } // line 145 echo " "; if ("n/a" != $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "env", array())) { // line 146 echo " <tr>\n <th>Environment</th>\n <td>"; // line 148 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "env", array()), "html", null, true); echo "</td>\n </tr>\n "; } // line 151 echo " "; if ("n/a" != $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "debug", array())) { // line 152 echo " <tr>\n <th>Debug</th>\n <td>"; // line 154 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "debug", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n "; } // line 157 echo " </table>\n\n <h2>PHP configuration</h2>\n <table>\n <tr>\n <th>Key</th>\n <th>Value</th>\n </tr>\n <tr>\n <th>PHP version</th>\n <td>"; // line 167 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "phpversion", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Xdebug</th>\n <td>"; // line 171 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "hasxdebug", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>PHP acceleration</th>\n <td>"; // line 175 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "hasaccelerator", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>XCache</th>\n <td>"; // line 179 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "hasxcache", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>APC</th>\n <td>"; // line 183 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "hasapc", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>Zend OPcache</th>\n <td>"; // line 187 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "haszendopcache", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>EAccelerator</th>\n <td>"; // line 191 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "haseaccelerator", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>Full PHP configuration</th>\n <td><a href=\""; // line 195 echo $this->env->getExtension('routing')->getPath("_profiler_phpinfo"); echo "\"><code>phpinfo</code></a></td>\n </tr>\n </table>\n\n "; // line 199 if ($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "bundles", array())) { // line 200 echo " <h2>Active bundles</h2>\n <table>\n <tr>\n <th>Name</th>\n <th>Path</th>\n </tr>\n "; // line 206 $context["bundles"] = $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "bundles", array()); // line 207 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["bundles"]) ? $context["bundles"] : $this->getContext($context, "bundles")))); foreach ($context['_seq'] as $context["_key"] => $context["name"]) { // line 208 echo " <tr>\n <th>"; // line 209 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "</th>\n <td>"; // line 210 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["bundles"]) ? $context["bundles"] : $this->getContext($context, "bundles"), $context["name"], array(), "array"), "html", null, true); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 213 echo " </table>\n "; } $__internal_b3b9cff0ad2431c5a9fc647df06f8d2c67b2a8c9a1c23159f8be9e130401fd3b->leave($__internal_b3b9cff0ad2431c5a9fc647df06f8d2c67b2a8c9a1c23159f8be9e130401fd3b_prof); }
public function block_panelContent($context, array $blocks = array()) { $__internal_11419aa406440d14f873188b1f3ab85256b2f4c7a7b5deba1ba6088c81ff538c = $this->env->getExtension("native_profiler"); $__internal_11419aa406440d14f873188b1f3ab85256b2f4c7a7b5deba1ba6088c81ff538c->enter($__internal_11419aa406440d14f873188b1f3ab85256b2f4c7a7b5deba1ba6088c81ff538c_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "panelContent")); // line 24 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 31 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "calledlisteners", array())); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 32 echo " <tr>\n <td><code>"; // line 33 echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 34 echo $context["__internal_4a3f008dcf74a31b4d5c3115b3c729aef176cfa1948d6d3024ed926bfca18ba7"]->getdisplay_listener($context["listener"]); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 37 echo " </table>\n\n <h2>Not Called Listeners</h2>\n\n "; // line 41 if ($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners", array())) { // line 42 echo " <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 47 $context["listeners"] = $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners", array()); // line 48 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners")))); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 49 echo " <tr>\n <td><code>"; // line 50 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), $context["listener"], array(), "array"), "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 51 echo $context["__internal_4a3f008dcf74a31b4d5c3115b3c729aef176cfa1948d6d3024ed926bfca18ba7"]->getdisplay_listener($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), $context["listener"], array(), "array")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo " </table>\n "; } else { // line 56 echo " <p>\n <strong>No uncalled listeners</strong>.\n </p>\n <p>\n\n All listeners were called for this request or an error occurred\n when trying to collect uncalled listeners (in which case check the\n logs to get more information).\n\n </p>\n "; } $__internal_11419aa406440d14f873188b1f3ab85256b2f4c7a7b5deba1ba6088c81ff538c->leave($__internal_11419aa406440d14f873188b1f3ab85256b2f4c7a7b5deba1ba6088c81ff538c_prof); }
public function block_panel($context, array $blocks = array()) { // line 113 echo " <h2>Project Configuration</h2>\n <table>\n <tr>\n <th>Key</th>\n <th>Value</th>\n </tr>\n <tr>\n "; // line 120 if ($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "applicationname", array())) { // line 121 echo " <th>Application</th>\n <td>"; // line 122 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "applicationname", array()), "html", null, true); echo " "; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "applicationversion", array()), "html", null, true); echo " (on Symfony "; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "symfonyversion", array()), "html", null, true); echo ")</td>\n "; } else { // line 124 echo " <th>Symfony version</th>\n <td>"; // line 125 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "symfonyversion", array()), "html", null, true); echo "</td>\n "; } // line 127 echo " </tr>\n "; // line 128 if ("n/a" != $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "appname", array())) { // line 129 echo " <tr>\n <th>Application name</th>\n <td>"; // line 131 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "appname", array()), "html", null, true); echo "</td>\n </tr>\n "; } // line 134 echo " "; if ("n/a" != $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "env", array())) { // line 135 echo " <tr>\n <th>Environment</th>\n <td>"; // line 137 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "env", array()), "html", null, true); echo "</td>\n </tr>\n "; } // line 140 echo " "; if ("n/a" != $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "debug", array())) { // line 141 echo " <tr>\n <th>Debug</th>\n <td>"; // line 143 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "debug", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n "; } // line 146 echo " </table>\n\n <h2>PHP configuration</h2>\n <table>\n <tr>\n <th>Key</th>\n <th>Value</th>\n </tr>\n <tr>\n <th>PHP version</th>\n <td>"; // line 156 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "phpversion", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Xdebug</th>\n <td>"; // line 160 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "hasxdebug", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>PHP acceleration</th>\n <td>"; // line 164 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "hasaccelerator", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>XCache</th>\n <td>"; // line 168 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "hasxcache", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>APC</th>\n <td>"; // line 172 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "hasapc", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>Zend OPcache</th>\n <td>"; // line 176 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "haszendopcache", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>EAccelerator</th>\n <td>"; // line 180 echo $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "haseaccelerator", array()) ? "enabled" : "disabled"; echo "</td>\n </tr>\n <tr>\n <th>Full PHP configuration</th>\n <td><a href=\""; // line 184 echo $this->env->getExtension('routing')->getPath("_profiler_phpinfo"); echo "\"><code>phpinfo</code></a></td>\n </tr>\n </table>\n\n "; // line 188 if ($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "bundles", array())) { // line 189 echo " <h2>Active bundles</h2>\n <table>\n <tr>\n <th>Name</th>\n <th>Path</th>\n </tr>\n "; // line 195 $context["bundles"] = $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "bundles", array()); // line 196 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["bundles"]) ? $context["bundles"] : $this->getContext($context, "bundles")))); foreach ($context['_seq'] as $context["_key"] => $context["name"]) { // line 197 echo " <tr>\n <th>"; // line 198 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "</th>\n <td>"; // line 199 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["bundles"]) ? $context["bundles"] : $this->getContext($context, "bundles"), $context["name"], array(), "array"), "html", null, true); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 202 echo " </table>\n "; } }
public function block_panel($context, array $blocks = array()) { // line 34 echo " <h2>Request GET Parameters</h2>\n\n "; // line 36 if (twig_length_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, 'collector'), "requestquery", array(), "any", false), "all", array(), "any", false))) { // line 37 echo " "; $this->env->loadTemplate("WebProfilerBundle:Profiler:bag.html.twig")->display(array("bag" => $this->getAttribute($this->getContext($context, 'collector'), "requestquery", array(), "any", false))); // line 38 echo " "; } else { // line 39 echo " <p>\n <em>No GET parameters</em>\n </p>\n "; } // line 43 echo "\n <h2>Request POST Parameters</h2>\n\n "; // line 46 if (twig_length_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, 'collector'), "requestrequest", array(), "any", false), "all", array(), "any", false))) { // line 47 echo " "; $this->env->loadTemplate("WebProfilerBundle:Profiler:bag.html.twig")->display(array("bag" => $this->getAttribute($this->getContext($context, 'collector'), "requestrequest", array(), "any", false))); // line 48 echo " "; } else { // line 49 echo " <p>\n <em>No POST parameters</em>\n </p>\n "; } // line 53 echo "\n <h2>Request Attributes</h2>\n\n "; // line 56 if (twig_length_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, 'collector'), "requestattributes", array(), "any", false), "all", array(), "any", false))) { // line 57 echo " "; $this->env->loadTemplate("WebProfilerBundle:Profiler:bag.html.twig")->display(array("bag" => $this->getAttribute($this->getContext($context, 'collector'), "requestattributes", array(), "any", false))); // line 58 echo " "; } else { // line 59 echo " <p>\n <em>No attributes</em>\n </p>\n "; } // line 63 echo "\n <h2>Request Cookies</h2>\n\n "; // line 66 if (twig_length_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, 'collector'), "requestcookies", array(), "any", false), "all", array(), "any", false))) { // line 67 echo " "; $this->env->loadTemplate("WebProfilerBundle:Profiler:bag.html.twig")->display(array("bag" => $this->getAttribute($this->getContext($context, 'collector'), "requestcookies", array(), "any", false))); // line 68 echo " "; } else { // line 69 echo " <p>\n <em>No cookies</em>\n </p>\n "; } // line 73 echo "\n <h2>Request Headers</h2>\n\n "; // line 76 $this->env->loadTemplate("WebProfilerBundle:Profiler:bag.html.twig")->display(array("bag" => $this->getAttribute($this->getContext($context, 'collector'), "requestheaders", array(), "any", false))); // line 77 echo "\n <h2>Request Content</h2>\n\n <p>\n "; // line 81 if ($this->getAttribute($this->getContext($context, 'collector'), "content", array(), "any", false) == false) { // line 82 echo " <em>Request content not available (it was retrieved as a resource).</em>\n "; } elseif ($this->getAttribute($this->getContext($context, 'collector'), "content", array(), "any", false)) { // line 84 echo " <pre>"; echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'collector'), "content", array(), "any", false), "html"); echo "</pre>\n "; } else { // line 86 echo " <em>No content</em>\n "; } // line 88 echo " </p>\n\n <h2>Request Server Parameters</h2>\n\n "; // line 92 $this->env->loadTemplate("WebProfilerBundle:Profiler:bag.html.twig")->display(array("bag" => $this->getAttribute($this->getContext($context, 'collector'), "requestserver", array(), "any", false))); // line 93 echo "\n <h2>Response Headers</h2>\n\n "; // line 96 $this->env->loadTemplate("WebProfilerBundle:Profiler:bag.html.twig")->display(array("bag" => $this->getAttribute($this->getContext($context, 'collector'), "responseheaders", array(), "any", false))); // line 97 echo "\n <h2>Session Attributes</h2>\n\n "; // line 100 if (twig_length_filter($this->env, $this->getAttribute($this->getContext($context, 'collector'), "sessionattributes", array(), "any", false))) { // line 101 echo " <table>\n <tr>\n <th>Key</th>\n <th>Value</th>\n </tr>\n "; // line 106 $context['attributes'] = $this->getAttribute($this->getContext($context, 'collector'), "sessionattributes", array(), "any", false); // line 107 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter($this->getContext($context, 'attributes')))); foreach ($context['_seq'] as $context['_key'] => $context['key']) { // line 108 echo " <tr>\n <th>"; // line 109 echo twig_escape_filter($this->env, $this->getContext($context, 'key'), "html"); echo "</th>\n <td>"; // line 110 echo twig_escape_filter($this->env, $this->env->getExtension('yaml')->dump($this->getAttribute($this->getContext($context, 'attributes'), $this->getContext($context, 'key'), array(), "array", false)), "html"); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 113 echo " </table>\n "; } else { // line 115 echo " <p>\n <em>No session attributes</em>\n </p>\n "; } // line 119 echo "\n\n "; // line 121 if ($this->getAttribute($this->getContext($context, 'profile'), "parent", array(), "any", false)) { // line 122 echo " <h2><a href=\""; echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_profiler", array("token" => $this->getAttribute($this->getAttribute($this->getContext($context, 'profile'), "parent", array(), "any", false), "token", array(), "any", false))), "html"); echo "\">Parent request: "; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, 'profile'), "parent", array(), "any", false), "token", array(), "any", false), "html"); echo "</a></h2>\n\n "; // line 124 $this->env->loadTemplate("WebProfilerBundle:Profiler:bag.html.twig")->display(array("bag" => $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, 'profile'), "parent", array(), "any", false), "getcollector", array("request"), "method", false), "requestattributes", array(), "any", false))); // line 125 echo " "; } // line 126 echo "\n "; // line 127 if (twig_length_filter($this->env, $this->getAttribute($this->getContext($context, 'profile'), "children", array(), "any", false))) { // line 128 echo " <h2>Sub requests</h2>\n\n "; // line 130 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getContext($context, 'profile'), "children", array(), "any", false)); foreach ($context['_seq'] as $context['_key'] => $context['child']) { // line 131 echo " <h3><a href=\""; echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_profiler", array("token" => $this->getAttribute($this->getContext($context, 'child'), "token", array(), "any", false))), "html"); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'child'), "token", array(), "any", false), "html"); echo "</a></h3>\n "; // line 132 $this->env->loadTemplate("WebProfilerBundle:Profiler:bag.html.twig")->display(array("bag" => $this->getAttribute($this->getAttribute($this->getContext($context, 'child'), "getcollector", array("request"), "method", false), "requestattributes", array(), "any", false))); // line 133 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 134 echo " "; } // line 135 echo "\n"; }
public function block_panelContent($context, array $blocks = array()) { $__internal_cb6b16252d2a6b09b5a8d6583ecff43afce699d84ab726d58e3c6e4bcc3fd3d7 = $this->env->getExtension("native_profiler"); $__internal_cb6b16252d2a6b09b5a8d6583ecff43afce699d84ab726d58e3c6e4bcc3fd3d7->enter($__internal_cb6b16252d2a6b09b5a8d6583ecff43afce699d84ab726d58e3c6e4bcc3fd3d7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "panelContent")); // line 24 echo " <h2>Called Listeners</h2>\n\n <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 31 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "calledlisteners", array())); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 32 echo " <tr>\n <td><code>"; // line 33 echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 34 echo $context["__internal_993a5f64602357003fef1ec4753342b322c6d657ec9d3816d729383b1952e2c3"]->getdisplay_listener($context["listener"]); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 37 echo " </table>\n\n <h2>Not Called Listeners</h2>\n\n "; // line 41 if ($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners", array())) { // line 42 echo " <table>\n <tr>\n <th>Event name</th>\n <th>Listener</th>\n </tr>\n "; // line 47 $context["listeners"] = $this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "notcalledlisteners", array()); // line 48 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners")))); foreach ($context['_seq'] as $context["_key"] => $context["listener"]) { // line 49 echo " <tr>\n <td><code>"; // line 50 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), $context["listener"], array(), "array"), "event", array()), "html", null, true); echo "</code></td>\n <td><code>"; // line 51 echo $context["__internal_993a5f64602357003fef1ec4753342b322c6d657ec9d3816d729383b1952e2c3"]->getdisplay_listener($this->getAttribute(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"), $context["listener"], array(), "array")); echo "</code></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo " </table>\n "; } else { // line 56 echo " <p>\n <strong>No uncalled listeners</strong>.\n </p>\n <p>\n\n All listeners were called for this request or an error occurred\n when trying to collect uncalled listeners (in which case check the\n logs to get more information).\n\n </p>\n "; } $__internal_cb6b16252d2a6b09b5a8d6583ecff43afce699d84ab726d58e3c6e4bcc3fd3d7->leave($__internal_cb6b16252d2a6b09b5a8d6583ecff43afce699d84ab726d58e3c6e4bcc3fd3d7_prof); }