• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP twig_get_array_keys_filter函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中twig_get_array_keys_filter函数的典型用法代码示例。如果您正苦于以下问题:PHP twig_get_array_keys_filter函数的具体用法?PHP twig_get_array_keys_filter怎么用?PHP twig_get_array_keys_filter使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了twig_get_array_keys_filter函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: 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


示例2: 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'] = $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";
 }
开发者ID:somaizouhaier,项目名称:allemni,代码行数:29,代码来源:a8050880d83e7d4b3ab68540e42b840e20712f7e4deec63b6018eae1c4bd7083.php


示例3: 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


示例4: 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


示例5: 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


示例6: 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(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";
 }
开发者ID:guich25,项目名称:Ecommerce,代码行数:30,代码来源:a2098ab8ef2ca40e6828ee970004e417c1de930929a169a9d28938c0bcb0.php


示例7: 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


示例8: doDisplay

    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>
";
    }
开发者ID:ataxel,项目名称:tp,代码行数:59,代码来源:87ef1c13b48cf8b973cee34d17e8f2b6dca233d6e20b155f0a0c71fe55c1.php


示例9: 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    ";
     }
 }
开发者ID:laubosslink,项目名称:lab,代码行数:55,代码来源:5e35fdf2fbd0a5ea82f398aaec4c.php


示例10: 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    ";
     }
 }
开发者ID:joan16v,项目名称:symfony2_test,代码行数:55,代码来源:d9e17a20b7ee3ccb43531124b847.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>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


示例12: 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


示例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'] = (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& 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP twig_in_filter函数代码示例发布时间:2022-05-23
下一篇:
PHP twig_first函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap