PageRenderTime 55ms CodeModel.GetById 8ms RepoModel.GetById 0ms app.codeStats 0ms

/app/cache/dev/twig/f3/d8/916face511eed66b69133f614e6e.php

https://bitbucket.org/polipetr/cms
PHP | 112 lines | 92 code | 7 blank | 13 comment | 5 complexity | 1721df1b3188fb463f7aa32cde0cec57 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-3.0, BSD-3-Clause, BSD-2-Clause
  1. <?php
  2. /* TwigBundle:Exception:trace.html.twig */
  3. class __TwigTemplate_f3d8916face511eed66b69133f614e6e extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = array(
  10. );
  11. }
  12. protected function doDisplay(array $context, array $blocks = array())
  13. {
  14. // line 1
  15. if ($this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "function")) {
  16. // line 2
  17. echo " at
  18. <strong>
  19. <abbr title=\"";
  20. // line 4
  21. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "class"), "html", null, true);
  22. echo "\">";
  23. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "short_class"), "html", null, true);
  24. echo "</abbr>
  25. ";
  26. // line 5
  27. echo twig_escape_filter($this->env, ($this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "type") . $this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "function")), "html", null, true);
  28. echo "
  29. </strong>
  30. (";
  31. // line 7
  32. echo $this->env->getExtension('code')->formatArgs($this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "args"));
  33. echo ")
  34. ";
  35. }
  36. // line 9
  37. echo "
  38. ";
  39. // line 10
  40. if (((($this->getAttribute((isset($context["trace"]) ? $context["trace"] : null), "file", array(), "any", true, true) && $this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "file")) && $this->getAttribute((isset($context["trace"]) ? $context["trace"] : null), "line", array(), "any", true, true)) && $this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "line"))) {
  41. // line 11
  42. echo " ";
  43. echo (($this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "function")) ? ("<br />") : (""));
  44. echo "
  45. in ";
  46. // line 12
  47. echo $this->env->getExtension('code')->formatFile($this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "file"), $this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "line"));
  48. echo "&nbsp;
  49. ";
  50. // line 13
  51. ob_start();
  52. // line 14
  53. echo " <a href=\"#\" onclick=\"toggle('trace_";
  54. echo twig_escape_filter($this->env, (((isset($context["prefix"]) ? $context["prefix"] : $this->getContext($context, "prefix")) . "_") . (isset($context["i"]) ? $context["i"] : $this->getContext($context, "i"))), "html", null, true);
  55. echo "'); switchIcons('icon_";
  56. echo twig_escape_filter($this->env, (((isset($context["prefix"]) ? $context["prefix"] : $this->getContext($context, "prefix")) . "_") . (isset($context["i"]) ? $context["i"] : $this->getContext($context, "i"))), "html", null, true);
  57. echo "_open', 'icon_";
  58. echo twig_escape_filter($this->env, (((isset($context["prefix"]) ? $context["prefix"] : $this->getContext($context, "prefix")) . "_") . (isset($context["i"]) ? $context["i"] : $this->getContext($context, "i"))), "html", null, true);
  59. echo "_close'); return false;\">
  60. <img class=\"toggle\" id=\"icon_";
  61. // line 15
  62. echo twig_escape_filter($this->env, (((isset($context["prefix"]) ? $context["prefix"] : $this->getContext($context, "prefix")) . "_") . (isset($context["i"]) ? $context["i"] : $this->getContext($context, "i"))), "html", null, true);
  63. echo "_close\" alt=\"-\" src=\"";
  64. echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/framework/images/blue_picto_less.gif"), "html", null, true);
  65. echo "\" style=\"visibility: ";
  66. echo (((0 == (isset($context["i"]) ? $context["i"] : $this->getContext($context, "i")))) ? ("visible") : ("hidden"));
  67. echo "\" />
  68. <img class=\"toggle\" id=\"icon_";
  69. // line 16
  70. echo twig_escape_filter($this->env, (((isset($context["prefix"]) ? $context["prefix"] : $this->getContext($context, "prefix")) . "_") . (isset($context["i"]) ? $context["i"] : $this->getContext($context, "i"))), "html", null, true);
  71. echo "_open\" alt=\"+\" src=\"";
  72. echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/framework/images/blue_picto_more.gif"), "html", null, true);
  73. echo "\" style=\"visibility: ";
  74. echo (((0 == (isset($context["i"]) ? $context["i"] : $this->getContext($context, "i")))) ? ("hidden") : ("visible"));
  75. echo "; margin-left: -18px\" />
  76. </a>
  77. ";
  78. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  79. // line 19
  80. echo " <div id=\"trace_";
  81. echo twig_escape_filter($this->env, (((isset($context["prefix"]) ? $context["prefix"] : $this->getContext($context, "prefix")) . "_") . (isset($context["i"]) ? $context["i"] : $this->getContext($context, "i"))), "html", null, true);
  82. echo "\" style=\"display: ";
  83. echo (((0 == (isset($context["i"]) ? $context["i"] : $this->getContext($context, "i")))) ? ("block") : ("none"));
  84. echo "\" class=\"trace\">
  85. ";
  86. // line 20
  87. echo $this->env->getExtension('code')->fileExcerpt($this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "file"), $this->getAttribute((isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace")), "line"));
  88. echo "
  89. </div>
  90. ";
  91. }
  92. }
  93. public function getTemplateName()
  94. {
  95. return "TwigBundle:Exception:trace.html.twig";
  96. }
  97. public function isTraitable()
  98. {
  99. return false;
  100. }
  101. public function getDebugInfo()
  102. {
  103. return array ( 91 => 20, 84 => 19, 74 => 16, 66 => 15, 57 => 14, 55 => 13, 51 => 12, 44 => 10, 36 => 7, 25 => 4, 105 => 24, 98 => 22, 96 => 21, 93 => 20, 89 => 19, 83 => 18, 76 => 16, 72 => 14, 68 => 12, 50 => 8, 33 => 5, 27 => 4, 24 => 3, 22 => 2, 225 => 96, 216 => 90, 212 => 88, 205 => 84, 201 => 83, 196 => 80, 194 => 79, 191 => 78, 189 => 77, 186 => 76, 180 => 72, 178 => 71, 172 => 67, 163 => 63, 159 => 61, 157 => 60, 154 => 59, 147 => 55, 143 => 54, 138 => 51, 136 => 50, 132 => 48, 130 => 47, 127 => 46, 121 => 45, 118 => 44, 114 => 43, 104 => 36, 100 => 34, 95 => 31, 78 => 28, 75 => 27, 71 => 26, 63 => 24, 60 => 23, 58 => 9, 41 => 9, 34 => 11, 19 => 1, 94 => 39, 88 => 6, 81 => 40, 79 => 17, 59 => 22, 48 => 19, 39 => 6, 35 => 7, 31 => 5, 26 => 6, 21 => 2, 46 => 11, 43 => 7, 32 => 4, 29 => 3,);
  104. }
  105. }