Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 153) sorted by relevance

1234567

/template/twigstarter/vendor/twig/twig/src/Node/
H A DModuleNode.php118 ->write('return ')
138 ->write("}\n\n")
145 ->write("\n\n")
167 ->write("{\n")
305 ->write("}\n\n")
343 ->write("}\n\n")
352 ->write("}\n")
370 ->write("}\n\n")
422 ->write("}\n\n")
433 ->write("}\n\n")
[all …]
H A DCheckSecurityNode.php48 ->write("\n")
49 ->write("public function checkSecurity()\n")
50 ->write("{\n")
55 ->write("try {\n")
57 ->write("\$this->sandbox->checkSecurity(\n")
63 ->write(");\n")
65 ->write("} catch (SecurityError \$e) {\n")
80 ->write("}\n\n")
81 ->write("throw \$e;\n")
83 ->write("}\n\n")
[all …]
H A DForNode.php48 ->write("\$context['_parent'] = \$context;\n")
60 ->write("\$context['loop'] = [\n")
62 ->write(" 'index0' => 0,\n")
63 ->write(" 'index' => 1,\n")
64 ->write(" 'first' => true,\n")
65 ->write("];\n")
78 ->write("}\n")
88 ->write("foreach (\$context['_seq'] as ")
96 ->write("}\n")
101 ->write("if (!\$context['_iterated']) {\n")
[all …]
H A DMacroNode.php64 ->write("{\n")
73 ->write('')
81 ->write('')
89 ->write("]);\n\n")
90 ->write("\$blocks = [];\n\n")
93 $compiler->write("ob_start();\n");
98 ->write("try {\n")
104 ->write("} finally {\n")
106 ->write("ob_end_clean();\n")
108 ->write("}\n")
[all …]
H A DForLoopNode.php31 $compiler->write("\$context['_iterated'] = true;\n");
36 ->write("++\$context['loop']['index0'];\n")
37 ->write("++\$context['loop']['index'];\n")
38 ->write("\$context['loop']['first'] = false;\n")
43 ->write("if (isset(\$context['loop']['length'])) {\n")
45 ->write("--\$context['loop']['revindex0'];\n")
46 ->write("--\$context['loop']['revindex'];\n")
47 ->write("\$context['loop']['last'] = 0 === \$context['loop']['revindex0'];\n")
49 ->write("}\n")
H A DSandboxNode.php32 ->write("if (!\$alreadySandboxed = \$this->sandbox->isSandboxed()) {\n")
34 ->write("\$this->sandbox->enableSandbox();\n")
36 ->write("}\n")
37 ->write("try {\n")
41 ->write("} finally {\n")
43 ->write("if (!\$alreadySandboxed) {\n")
45 ->write("\$this->sandbox->disableSandbox();\n")
47 ->write("}\n")
49 ->write("}\n")
H A DWithNode.php41 ->write(sprintf('$%s = ', $varsName))
44 ->write(sprintf("if (!twig_test_iterable(\$%s)) {\n", $varsName))
46 … ->write("throw new RuntimeError('Variables passed to the \"with\" tag must be a hash.', ")
50 ->write("}\n")
51 ->write(sprintf("\$%s = twig_to_array(\$%s);\n", $varsName, $varsName))
55 $compiler->write("\$context = ['_parent' => \$context];\n");
57 $compiler->write("\$context['_parent'] = \$context;\n");
60 …$compiler->write(sprintf("\$context = \$this->env->mergeGlobals(array_merge(\$context, \$%s));\n",…
62 $compiler->write("\$context['_parent'] = \$context;\n");
67 ->write("\$context = \$context['_parent'];\n")
H A DIncludeNode.php43 ->write(sprintf("$%s = null;\n", $template))
44 ->write("try {\n")
46 ->write(sprintf('$%s = ', $template))
54 ->write("} catch (LoaderError \$e) {\n")
56 ->write("// ignore missing template\n")
58 ->write("}\n")
59 ->write(sprintf("if ($%s) {\n", $template))
61 ->write(sprintf('$%s->display(', $template))
67 ->write("}\n")
80 ->write('$this->loadTemplate(')
H A DIfNode.php41 ->write('} elseif (')
45 ->write('if (')
60 ->write("} else {\n")
68 ->write("}\n");
H A DSetNode.php49 $compiler->write('list(');
61 $compiler->write("ob_start();\n");
63 $compiler->write("ob_start(function () { return ''; });\n");
81 $compiler->write('[');
H A DSpacelessNode.php38 $compiler->write("ob_start();\n");
40 $compiler->write("ob_start(function () { return ''; });\n");
44 ->write("echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));\n")
H A DBlockNode.php33 …->write(sprintf("public function block_%s(\$context, array \$blocks = [])\n", $this->getAttribute(…
35 ->write("\$macros = \$this->macros;\n")
41 ->write("}\n\n")
H A DDeprecatedNode.php37 $compiler->write('@trigger_error(')
41 $compiler->write(sprintf('$%s = ', $varName))
44 ->write(sprintf('@trigger_error($%s', $varName));
H A DCheckSecurityCallNode.php24 … ->write("\$this->sandbox = \$this->env->getExtension('\Twig\Extension\SandboxExtension');\n")
25 ->write("\$this->checkSecurity();\n")
H A DSandboxedPrintNode.php34 ->write('echo ')
44 ->write('$this->extensions[SandboxExtension::class]->ensureToStringAllowed(')
H A DFlushNode.php32 ->write("flush();\n")
H A DTextNode.php33 ->write('echo ')
H A DBlockReferenceNode.php33 …->write(sprintf("\$this->displayBlock('%s', \$context, \$blocks);\n", $this->getAttribute('name')))
/template/twigstarter/vendor/twig/twig/src/Profiler/Node/
H A DLeaveProfileNode.php32 ->write("\n")
33 …->write(sprintf("\$%s->leave(\$%s);\n\n", $this->getAttribute('var_name'), $this->getAttribute('va…
H A DEnterProfileNode.php32 ->write(sprintf('$%s = $this->extensions[', $this->getAttribute('var_name')))
35 …->write(sprintf('$%s->enter($%s = new \Twig\Profiler\Profile($this->getTemplateName(), ', $this->g…
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
H A DBlockReferenceExpression.php55 $compiler->write('$this');
58 ->write('$this->loadTemplate(')
/template/twigstarter/vendor/twig/twig/src/
H A DCompiler.php111 public function write(...$strings) function in Twig\\Compiler
185 $this->write(sprintf("// line %d\n", $node->getTemplateLine()));
/template/twigstarter/vendor/twig/twig/src/Cache/
H A DNullCache.php26 public function write($key, $content) function in Twig\\Cache\\NullCache
H A DCacheInterface.php41 public function write($key, $content); function
/template/breeze/bower_components/gumby/css/
H A Dstyle.css2 We highly recommend you use SASS and write your custom styles in sass/_custom.scss.

1234567