Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
TemplateInterface.php
01 <?php
02
03 /*
04 * This file is part of Twig.
05 *
06 * (c) 2009 Fabien Potencier
07 *
08 * For the full copyright and license information, please view the LICENSE
09 * file that was distributed with this source code.
10 */
11
12 /**
13 * Interface implemented by all compiled templates.
14 *
15 * @author Fabien Potencier <fabien@symfony.com>
16 *
17 * @deprecated since 1.12 (to be removed in 3.0)
18 */
19 interface Twig_TemplateInterface
20 {
21 const ANY_CALL = 'any';
22 const ARRAY_CALL = 'array';
23 const METHOD_CALL = 'method';
24
25 /**
26 * Renders the template with the given context and returns it as string.
27 *
28 * @param array $context An array of parameters to pass to the template
29 *
30 * @return string The rendered template
31 */
32 public function render(array $context);
33
34 /**
35 * Displays the template with the given context.
36 *
37 * @param array $context An array of parameters to pass to the template
38 * @param array $blocks An array of blocks to pass to the template
39 */
40 public function display(array $context, array $blocks = array());
41
42 /**
43 * Returns the bound environment for this template.
44 *
45 * @return Twig_Environment The current environment
46 */
47 public function getEnvironment();
48 }
49