Home
last modified time | relevance | path

Searched refs:getAttribute (Results 1 – 25 of 149) sorted by relevance

123456

/template/twigstarter/vendor/twig/twig/src/Node/Expression/
DCallExpression.php63 …w(\sprintf('$this->env->get%s(\'%s\')->getCallable()', ucfirst($this->getAttribute('type')), $twig…
80 $twigCallable = $this->getAttribute('twig_callable');
148 $callType = $this->getAttribute('type');
149 $callName = $this->getAttribute('name');
164 $isVariadic = $this->getAttribute('twig_callable')->isVariadic();
283 $twigCallable = $this->getAttribute('twig_callable');
318 …ay with default value, eg. "array $arg = []".', $callableName, $this->getAttribute('type'), $twigC…
357 $current = $this->getAttribute('twig_callable');
359 $this->setAttribute('twig_callable', match ($this->getAttribute('type')) {
361 $this->getAttribute('name'),
[all …]
DGetAttrExpression.php53 $nullSafe = $this->getAttribute('null_safe');
57 $this->getAttribute('optimizable')
58 && (!$env->isStrictVariables() || $this->getAttribute('ignore_strict_check'))
60 && Template::ARRAY_CALL === $this->getAttribute('type')
98 if ($this->getAttribute('ignore_strict_check')) {
105 if ($node->getAttribute('null_safe')) {
144 ->repr($this->getAttribute('type'))
146 ->raw(', ')->repr($this->getAttribute('ignore_strict_check'))
171 if (Template::ARRAY_CALL === $this->getAttribute('type')) {
217 return $this->getAttribute('is_short_circuited');
[all …]
DNameExpression.php40 $name = $this->getAttribute('name');
45 if (isset($this->specialVars[$name]) || $this->getAttribute('always_defined')) {
64 } elseif ($this->getAttribute('always_defined')) {
71 …if ($this->getAttribute('ignore_strict_check') || !$compiler->getEnvironment()->isStrictVariables(…
103 return isset($this->specialVars[$this->getAttribute('name')]);
113 return !isset($this->specialVars[$this->getAttribute('name')]) && !$this->definedTest;
DArrayExpression.php32 …tExpression && ctype_digit((string) $pair['key']->getAttribute('value')) && $pair['key']->getAttri…
33 $this->index = $pair['key']->getAttribute('value');
74 $keyValue = $key->getAttribute('name');
76 $keyValue = $key->getAttribute('value');
140 $key = $pair['key']->getAttribute('name');
143 $key = $pair['key']->getAttribute('value');
DTestExpression.php59 $name = $this->getAttribute('name');
61 $name = $this->getAttribute('twig_callable')->getName();
62 if ($name !== $this->getAttribute('name')) {
69 …->setAttribute('twig_callable', $compiler->getEnvironment()->getTest($this->getAttribute('name')));
80 if ('empty' === $this->getAttribute('name')) {
DMethodCallExpression.php38 ->repr($this->getNode('node')->getAttribute('name'))
40 ->repr($this->getAttribute('method'))
49 ->repr($this->getNode('node')->getAttribute('name'))
51 ->repr($this->getAttribute('method'))
DParentExpression.php31 if ($this->getAttribute('output')) {
35 ->string($this->getAttribute('name'))
41 ->string($this->getAttribute('name'))
DFunctionExpression.php53 if ('constant' === $this->getAttribute('name')) {
63 $name = $this->getAttribute('name');
65 $name = $this->getAttribute('twig_callable')->getName();
66 if ($name !== $this->getAttribute('name')) {
DMacroReferenceExpression.php56 ->repr($this->getAttribute('name'))
67 ->repr($this->getAttribute('name'))
71 ->raw(\sprintf('->%s', $this->getAttribute('name')))
DArrowFunctionExpression.php30 …$names = new ListExpression([new AssignContextVariable($names->getAttribute('name'), $names->getTe…
51 ->raw($name->getAttribute('name'))
53 ->raw($name->getAttribute('name'))
DAbstractExpression.php26 return $this->hasAttribute('is_generator') && $this->getAttribute('is_generator');
41 return $this->hasAttribute('with_parentheses') && $this->getAttribute('with_parentheses');
DSupportDefinedTestDeprecationTrait.php23 public function getAttribute($name, $default = null) function
31 return parent::getAttribute($name, $default);
/template/twigstarter/vendor/twig/twig/src/Profiler/Node/
DEnterProfileNode.php34 ->write(\sprintf('$%s = $this->extensions[', $this->getAttribute('var_name')))
35 ->repr($this->getAttribute('extension_name'))
37 …\Profiler\Profile($this->getTemplateName(), ', $this->getAttribute('var_name'), $this->getAttribut…
38 ->repr($this->getAttribute('type'))
40 ->repr($this->getAttribute('name'))
DLeaveProfileNode.php35 …->write(\sprintf("\$%s->leave(\$%s);\n\n", $this->getAttribute('var_name'), $this->getAttribute('v…
/template/twigstarter/vendor/twig/twig/src/NodeVisitor/
DOptimizerNodeVisitor.php105 … if ($exprNode instanceof ConstantExpression && \is_string($exprNode->getAttribute('value'))) {
106 return new TextNode($exprNode->getAttribute('value'), $exprNode->getTemplateLine());
130 … array_unshift($this->loopsTargets, $node->getNode('value_target')->getAttribute('name'));
131 array_unshift($this->loopsTargets, $node->getNode('key_target')->getAttribute('name'));
140 elseif ($node instanceof ContextVariable && 'loop' === $node->getAttribute('name')) {
146 …elseif ($node instanceof ContextVariable && \in_array($node->getAttribute('name'), $this->loopsTar…
156 elseif ($node instanceof IncludeNode && !$node->getAttribute('only')) {
162 && 'include' === $node->getAttribute('name')
164 … || false !== $node->getNode('arguments')->getNode('with_context')->getAttribute('value')
173 || 'parent' === $node->getNode('attribute')->getAttribute('value')
[all …]
DSandboxNodeVisitor.php60 … if ($node instanceof FilterExpression && !isset($this->filters[$node->getAttribute('name')])) {
61 $this->filters[$node->getAttribute('name')] = $node->getTemplateLine();
65 …if ($node instanceof FunctionExpression && !isset($this->functions[$node->getAttribute('name')])) {
66 $this->functions[$node->getAttribute('name')] = $node->getTemplateLine();
73 $name = $node->getAttribute('sandboxed_function_name');
112 if ($expr instanceof ContextVariable && '_self' === $expr->getAttribute('name')) {
DEscaperNodeVisitor.php58 $this->statusStack[] = $node->getAttribute('value');
60 … $this->statusStack[] = $this->blocks[$node->getAttribute('name')] ?? $this->needEscaping();
62 $this->safeVars[] = $node->getNode('var')->getNode('var')->getAttribute('name');
90 $this->blocks[$node->getAttribute('name')] = $this->needEscaping();
120 $type = $filter->getAttribute('twig_callable')->getPreEscape();
123 $name = $filter->getNode('filter', false)->getAttribute('value');
DSafeAnalysisNodeVisitor.php116 $filter = $node->getAttribute('twig_callable');
119 $filter = $env->getFilter($node->getAttribute('name'));
137 $function = $node->getAttribute('twig_callable');
140 $function = $env->getFunction($node->getAttribute('name'));
155 $name = $node->getNode('node')->getAttribute('name');
/template/bulma/
Dtpl_functions.php75 $name = $ele->getAttribute('name');
81 $type = $ele->getAttribute('type');
85 $label->setAttribute('class', $label->getAttribute('class') . ' checkbox');
89 $label->setAttribute('class', $label->getAttribute('class') . ' radio');
92 $ele->setAttribute('class', $ele->getAttribute('class') . ' input is-small');
111 switch (substr($i->getAttribute('class'), 5, 1)) {
137 $classes = $div->getAttribute('class');
142 $classes = $ele->getAttribute('class');
150 $classes = $ele->getAttribute('class');
162 $ele->setAttribute('class', $ele->getAttribute('class') .' textarea');
[all …]
/template/twigstarter/vendor/twig/twig/src/Node/
DForNode.php66 if ($this->getAttribute('with_loop')) {
87 $this->loop->setAttribute('with_loop', $this->getAttribute('with_loop'));
108 …\''.$this->getNode('key_target')->getAttribute('name').'\'], $context[\''.$this->getNode('value_ta…
112 if ($this->getAttribute('with_loop')) {
DEmbedNode.php40 ->string($this->getAttribute('name'))
44 ->repr($this->getAttribute('index'))
47 if ($this->getAttribute('ignore_missing')) {
DSetNode.php41 … $values = new ConstantExpression($values->getAttribute('data'), $values->getTemplateLine());
73 if ($this->getAttribute('capture')) {
87 if ($this->getAttribute('safe')) {
89 if ('' === $this->getNode('values')->getAttribute('value')) {
/template/strap/resources/snippet/js/
H A Dsubscribe.min.js1getAttribute("action")),n=new FormData(o),c=await fetch(s,{body:n,method:"post"}),i=e.Html.createR…
H A Dsubscribe.js12 let url = new URL(form.getAttribute("action"));
41 let header = form.getAttribute("data-success-header");
46 message = form.getAttribute("data-success-content");
/template/twigstarter/vendor/twig/twig/src/ExpressionParser/Infix/
DDotExpressionParser.php71 && \is_string($name = $attribute->getAttribute('value'))
74 null !== $parser->getImportedSymbol('template', $expr->getAttribute('name'))
75 || '_self' === $expr->getAttribute('name')
78 …return new MacroReferenceExpression(new TemplateVariable($expr->getAttribute('name'), $expr->getTe…

123456