12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?php
-
- /* AcmeDemoBundle:Demo:index.html.twig */
- class __TwigTemplate_7862275e97ade9e9e94aef903ba06613 extends Twig_Template
- {
- protected $parent;
-
- public function __construct(Twig_Environment $env)
- {
- parent::__construct($env);
-
- $this->parent = array();
- $this->blocks = array(
- 'title' => array($this, 'block_title'),
- 'content_header' => array($this, 'block_content_header'),
- 'content' => array($this, 'block_content'),
- );
- }
-
- public function getParent(array $context)
- {
- $parent = "AcmeDemoBundle::layout.html.twig";
- if ($parent instanceof Twig_Template) {
- $name = $parent->getTemplateName();
- $this->parent[$name] = $parent;
- $parent = $name;
- } elseif (!isset($this->parent[$parent])) {
- $this->parent[$parent] = $this->env->loadTemplate($parent);
- }
-
- return $this->parent[$parent];
- }
-
- protected function doDisplay(array $context, array $blocks = array())
- {
- $context = array_merge($this->env->getGlobals(), $context);
-
- $this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
- }
-
- // line 3
- public function block_title($context, array $blocks = array())
- {
- echo "Symfony - Demos";
- }
-
- // line 5
- public function block_content_header($context, array $blocks = array())
- {
- echo "";
- }
-
- // line 7
- public function block_content($context, array $blocks = array())
- {
- // line 8
- echo " <h1>Available demos</h1>
- <ul id=\"demo-list\">
- <li><a href=\"";
- // line 10
- echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_demo_hello", array("name" => "World")), "html");
- echo "\">Hello World</a></li>
- <li><a href=\"";
- // line 11
- echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_demo_secured_hello", array("name" => "World")), "html");
- echo "\">Access the secured area</a> <a href=\"";
- echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_demo_login"), "html");
- echo "\">Go to the login page</a></li>
- ";
- // line 13
- echo " </ul>
- ";
- }
-
- public function getTemplateName()
- {
- return "AcmeDemoBundle:Demo:index.html.twig";
- }
-
- public function isTraitable()
- {
- return false;
- }
- }
|