本文整理汇总了PHP中twig_sort_filter函数的典型用法代码示例。如果您正苦于以下问题:PHP twig_sort_filter函数的具体用法?PHP twig_sort_filter怎么用?PHP twig_sort_filter使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了twig_sort_filter函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: doDisplay
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_5a61f2c67940fc5e918ffc3afe44afcc8baaebcfab140f694d73c6a334be033e = $this->env->getExtension("native_profiler");
$__internal_5a61f2c67940fc5e918ffc3afe44afcc8baaebcfab140f694d73c6a334be033e->enter($__internal_5a61f2c67940fc5e918ffc3afe44afcc8baaebcfab140f694d73c6a334be033e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "WebProfilerBundle:Profiler:bag.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($this->getAttribute(isset($context["bag"]) ? $context["bag"] : $this->getContext($context, "bag"), "keys", array())));
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["bag"]) ? $context["bag"] : $this->getContext($context, "bag"), "get", array(0 => $context["key"]), "method")), "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_5a61f2c67940fc5e918ffc3afe44afcc8baaebcfab140f694d73c6a334be033e->leave($__internal_5a61f2c67940fc5e918ffc3afe44afcc8baaebcfab140f694d73c6a334be033e_prof);
}
开发者ID:nfouka,项目名称:blog_with_symfony2_mysql,代码行数:32,代码来源:83ca1118c50bba499959cf1e091beea2505e2edcc8fac5216e2d9bc70eb04f50.php
示例2: doDisplay
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);
}
开发者ID:rince1990,项目名称:photocool,代码行数:34,代码来源:ed29ac91b691faa42d1f27eaeeb9c3f0b2e96d8e9fbfbef6a49c70535fd936bb.php
示例3: doDisplay
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);
}
开发者ID:2AE,项目名称:GSBphp,代码行数:32,代码来源:b41816006aab1eb659a10543151f8aaf495ad892a037c87ee58adcba75fec602.php
示例4: doDisplay
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'] = (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 <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"), isset($context["key"]) ? $context["key"] : $this->getContext($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";
}
开发者ID:janirehor,项目名称:peliculas,代码行数:29,代码来源:117a69adcf887f5dc28ddcff685ed3bc36b926383471af2b86a25a4bc33d.php
示例5: doDisplay
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_e309dcd034a392d062eae95fe898dfe9c68bd01f83a5aa6e5acc4f1c0899b2c9 = $this->env->getExtension("native_profiler");
$__internal_e309dcd034a392d062eae95fe898dfe9c68bd01f83a5aa6e5acc4f1c0899b2c9->enter($__internal_e309dcd034a392d062eae95fe898dfe9c68bd01f83a5aa6e5acc4f1c0899b2c9_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/bag.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($this->getAttribute(isset($context["bag"]) ? $context["bag"] : $this->getContext($context, "bag"), "keys", array())));
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["bag"]) ? $context["bag"] : $this->getContext($context, "bag"), "get", array(0 => $context["key"]), "method")), "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_e309dcd034a392d062eae95fe898dfe9c68bd01f83a5aa6e5acc4f1c0899b2c9->leave($__internal_e309dcd034a392d062eae95fe898dfe9c68bd01f83a5aa6e5acc4f1c0899b2c9_prof);
}
开发者ID:antoinelanglet,项目名称:fortunes,代码行数:32,代码来源:205b67692304f50dbc1ac86666dbaf3404732671e4c5890bb38842813416d600.php
示例6: doDisplay
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);
}
开发者ID:asa93,项目名称:Batch,代码行数:32,代码来源:a9cf47ffe973e17b20ea5cd5cbb631c48da0744c3b717428534949d04e7a642a.php
示例7: doDisplay
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($this->getAttribute(isset($context["bag"]) ? $context["bag"] : $this->getContext($context, "bag"), "keys", array())));
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 ";
// line 13
echo " <td>";
echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute(isset($context["bag"]) ? $context["bag"] : $this->getContext($context, "bag"), "get", array(0 => $context["key"]), "method"), 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";
}
开发者ID:jeremie38,项目名称:tpphp,代码行数:30,代码来源:294e791c5ea4d93f9eb84ce94046b071c2ef58397c3bdaa14b5a0b85a62e00d7.php
示例8: doDisplay
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);
}
开发者ID:vodich,项目名称:platform,代码行数:34,代码来源:6234253db580d72004d75cccd4fe1f1c17089c593fcf959d733b3f986b8aea38.php
示例9: doDisplay
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_8acbab6ee0cb8778d1f7d4eb9d8db9229a1c6c59fc4ff4836f567b1d3010df1f = $this->env->getExtension("native_profiler");
$__internal_8acbab6ee0cb8778d1f7d4eb9d8db9229a1c6c59fc4ff4836f567b1d3010df1f->enter($__internal_8acbab6ee0cb8778d1f7d4eb9d8db9229a1c6c59fc4ff4836f567b1d3010df1f_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "WebProfilerBundle:Profiler:bag.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($this->getAttribute($this->getContext($context, "bag"), "keys", array())));
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, "bag"), "get", array(0 => $context["key"]), "method")), "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_8acbab6ee0cb8778d1f7d4eb9d8db9229a1c6c59fc4ff4836f567b1d3010df1f->leave($__internal_8acbab6ee0cb8778d1f7d4eb9d8db9229a1c6c59fc4ff4836f567b1d3010df1f_prof);
}
开发者ID:asa93,项目名称:Batch,代码行数:32,代码来源:c18f3221f773161967ba929f9db3b16992b3fe6a542c0531ee6c6bbc7483905c.php
示例10: doDisplay
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);
}
开发者ID:Aryellix,项目名称:scrumator,代码行数:32,代码来源:335b22550ad253e3f5aab98b1000f22ad5196af583da9d81bca5c20fd37fb376.php
示例11: block_panelContent
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 ";
}
}
示例12: block_panel
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 ";
}
}
示例13: block_panelContent
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 ";
}
}
开发者ID:skwill,项目名称:3kings,代码行数:52,代码来源:864954c59020c0be697278f45cdd9c1bec82f22c63100adc85309cf09e65e64b.php
示例14: block_panelContent
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 ";
}
}
开发者ID:bettaiebahmed,项目名称:TunisiaMallProject,代码行数:52,代码来源:df3fade58dc88e35259c56d7adac97a65f1a3b112fd5898a2805a40534a9.php
示例15: block_panelContent
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 ";
}
}
开发者ID:theflash193,项目名称:site,代码行数:52,代码来源:beeea6b8238a4ccfe9960e939edad8b8ad7347cacd3a580e4737ba2dfce6.php