Home
last modified time | relevance | path

Searched refs:this (Results 1 – 25 of 1064) sorted by relevance

12345678910>>...43

/template/twigstarter/vendor/twig/twig/src/
H A DLexer.php162 $this->end = \strlen($this->code);
173 while ($this->cursor < $this->end) {
214 $this->cursor = $this->end;
276 …if (empty($this->brackets) && preg_match($this->regexes['lex_block'], $this->code, $match, 0, $thi…
287 …if (empty($this->brackets) && preg_match($this->regexes['lex_var'], $this->code, $match, 0, $this-…
302 if ($this->cursor >= $this->end) {
308 if ('=' === $this->code[$this->cursor] && '>' === $this->code[$this->cursor + 1]) {
335 $this->brackets[] = [$this->code[$this->cursor], $this->lineno];
375 $text = substr($this->code, $this->cursor, $match[0][1] - $this->cursor);
399 … $this->moveCursor(substr($this->code, $this->cursor, $match[0][1] - $this->cursor).$match[0][0]);
[all …]
H A DEnvironment.php253 return $original ? $this->originalCache : $this->cache;
272 $this->originalCache = $this->cache = $cache;
359 return new TemplateWrapper($this, $this->loadTemplate($name));
401 … if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
428 $this->extensionSet->initRuntime($this);
430 return $this->loadedTemplates[$cls] = new $cls($this);
538 $this->lexer = new Lexer($this);
559 $this->parser = new Parser($this);
578 $this->compiler = new Compiler($this);
594 return $this->compile($this->parse($this->tokenize($source)));
[all …]
H A DExtensionSet.php121 return $this->initialized || $this->runtimeInitialized;
234 return $this->filters;
314 return $this->parsers;
362 return $this->tests;
414 $this->parsers = [];
415 $this->filters = [];
417 $this->tests = [];
418 $this->visitors = [];
425 $this->initExtension($this->staging);
471 $this->unaryOperators = array_merge($this->unaryOperators, $operators[0]);
[all …]
H A DCompiler.php78 return $this;
84 $this->source .= str_repeat(' ', $this->indentation * 4);
89 return $this;
103 return $this;
117 return $this;
131 return $this;
174 return $this;
187 $this->sourceLine += substr_count($this->source, "\n", $this->sourceOffset);
188 $this->sourceOffset = \strlen($this->source);
194 return $this;
[all …]
H A DParser.php54 $this->env = $env;
66 $this->stack[] = $vars;
80 $this->visitors = $this->env->getNodeVisitors();
84 $this->expressionParser = new ExpressionParser($this, $this->env);
88 $this->parent = null;
89 $this->blocks = [];
90 $this->macros = [];
91 $this->traits = [];
114 …Node(new BodyNode([$body]), $this->parent, new Node($this->blocks), new Node($this->macros), new N…
116 $traverser = new NodeTraverser($this->env, $this->visitors);
[all …]
H A DTokenStream.php41 …$this->tokens = array_merge(\array_slice($this->tokens, 0, $this->current), $tokens, \array_slice(…
49 if (!isset($this->tokens[++$this->current])) {
50 …ow new SyntaxError('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(), $t…
53 return $this->tokens[$this->current - 1];
63 if ($this->tokens[$this->current]->test($primary, $secondary)) {
73 $token = $this->tokens[$this->current];
85 $this->next();
95 if (!isset($this->tokens[$this->current + $number])) {
99 return $this->tokens[$this->current + $number];
107 return $this->tokens[$this->current]->test($primary, $secondary);
[all …]
H A DExpressionParser.php58 $this->parser = $parser;
59 $this->env = $env;
70 $expr = $this->getPrimary();
72 …while ($this->isBinary($token) && $this->binaryOperators[$token->getValue()]['precedence'] >= $pre…
74 $this->parser->getStream()->next();
103 $stream = $this->parser->getStream();
160 if ($this->isUnary($token)) {
169 $expr = $this->parseExpression();
422 $this->parseArguments();
427 if (!$this->parser->getParent() && !$this->parser->hasTraits()) {
[all …]
H A DTemplate.php46 $this->env = $env;
55 return $this->getTemplateName();
92 if (null !== $this->parent) {
93 return $this->parent;
108 $this->parents[$parent] = $this->loadTemplate($parent);
224 if ($this->env->isDebug()) {
249 if ($this->env->isDebug()) {
360 return $this;
373 return $this->blocks;
378 …$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $bl…
[all …]
H A DTwigFilter.php46 $this->name = $name;
47 $this->callable = $callable;
48 $this->options = array_merge([
64 return $this->name;
74 return $this->callable;
79 return $this->options['node_class'];
84 $this->arguments = $arguments;
89 return $this->arguments;
105 return $this->options['is_safe'];
120 return $this->options['pre_escape'];
[all …]
/template/kajukkk/
H A DSnoopy.class.php447 $this->results = $this->_striplinks($this->results);
450 $this->results = $this->_expandlinks($this->results, $URI);
473 $this->results[$x] = $this->_stripform($this->results[$x]);
476 $this->results = $this->_stripform($this->results);
499 $this->results[$x] = $this->_striptext($this->results[$x]);
502 $this->results = $this->_striptext($this->results);
533 $this->results = $this->_striplinks($this->results);
535 $this->results = $this->_expandlinks($this->results,$URI);
560 $this->results[$x] = $this->_striptext($this->results[$x]);
567 $this->results = $this->_striptext($this->results);
[all …]
/template/mikio/inc/
H A Dsimple_html_dom.php142 $this->dom = $dom;
143 $dom->nodes[] = $this;
148 $this->clear();
153 return $this->outertext();
158 $this->dom = null;
159 $this->nodes = null;
160 $this->parent = null;
161 $this->children = null;
166 echo str_repeat("\t", $depth) . $this->tag;
168 if ($show_attr && count($this
[all...]
/template/bootstrap3/inc/
H A Dsimple_html_dom.php145 $this->dom = $dom;
146 $dom->nodes[] = $this;
151 $this->clear();
156 return $this->outertext();
161 $this->dom = null;
162 $this->nodes = null;
163 $this->parent = null;
164 $this->children = null;
169 echo str_repeat("\t", $depth) . $this->tag;
171 if ($show_attr && count($this
[all...]
/template/dwsimple/dwsimple/
H A Dsimple.php30 $out[]="height : " . ($this->bottom->val - $this->top->val) . $this->type .";";
35 $out[]="height : " . ($this->top->val - $this->bottom->val) . $this->type .";";
49 $out[]="width : " . ($this->right->val - $this->left->val) . $this->type .";";
54 $out[]="width : " . ($this->left->val - $this->right->val) . $this->type .";";
99 …$this->box[$id]=new mybox($id, $this->line[$top], $this->line[$right], $this->line[$bottom], $this
119 xml_set_object($this->parser, $this);
146 $this->addbox($this->boxid , $this->boxtop, $this->boxright, $this->boxbottom, $this->boxleft);
160 $this->type=$this->inhalt;
163 $this->addline($this->lineid, $this->inhalt, $this->linealign);
166 $this->addlines(explode(",", $this->inhalt), $this->linealign);
[all …]
/template/bootstrap3/compat/inc/Menu/Item/
H A DAbstractItem.php9 * can extend those menus through action plugins and add their own instances of this class,
33 /** @var string the page id this action links to */
35 /** @var string the method to be used when this action is used in a form */
41 /** @var string this item's label may contain a placeholder, which is replaced with this */
43 /** @var string the full path to the SVG icon of this menu item */
49 /** @var int the context this titme is shown in */
63 $this->id = $ID;
64 $this->type = $this
[all...]
/template/twigstarter/vendor/twig/twig/src/Profiler/
H A DProfile.php42 $this->enter();
97 if ($this->isRoot() && $this->profiles) {
107 …return isset($this->ends['wt']) && isset($this->starts['wt']) ? $this->ends['wt'] - $this->starts[…
117 …return isset($this->ends['mu']) && isset($this->starts['mu']) ? $this->ends['mu'] - $this->starts[…
127 …return isset($this->ends['pmu']) && isset($this->starts['pmu']) ? $this->ends['pmu'] - $this->star…
135 $this->starts = [
147 $this->ends = [
156 $this->starts = $this->ends = $this->profiles = [];
157 $this->enter();
181 … return [$this->template, $this->name, $this->type, $this->starts, $this->ends, $this->profiles];
[all …]
/template/twigstarter/vendor/twig/twig/src/Error/
H A DError.php118 return $this->name ? new Source($this->sourceCode, $this->name, $this->sourcePath) : null;
127 $this->sourceCode = $this->name = $this->sourcePath = null;
151 $this->message = $this->rawMessage;
153 if ($this->sourcePath && $this->lineno > 0) {
154 $this->file = $this->sourcePath;
155 $this->line = $this->lineno;
162 $this->message = substr($this->message, 0, -1);
168 $this->message = substr($this->message, 0, -1);
173 …if (\is_string($this->name) || (\is_object($this->name) && method_exists($this->name, '__toString'…
181 if ($this->lineno && $this->lineno >= 0) {
[all …]
/template/twigstarter/vendor/composer/
H A DClassLoader.php108 $this->vendorDir = $vendorDir;
129 return $this->prefixDirsPsr4;
138 return $this->fallbackDirsPsr0;
156 return $this->classMap;
167 if ($this->classMap) {
168 $this->classMap = array_merge($this->classMap, $classMap);
334 return $this->useIncludePath;
379 return $this->apcuPrefix;
398 self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
401 self::$registeredLoaders[$this->vendorDir] = $this;
[all …]
/template/twigstarter/vendor/twig/twig/src/Loader/
H A DFilesystemLoader.php45 $this->setPaths($paths);
58 return isset($this->paths[$namespace]) ? $this->paths[$namespace] : [];
70 return array_keys($this->paths);
85 $this->paths[$namespace] = [];
102 $this->cache = $this->errorCache = [];
104 $checkPath = $this->isAbsolutePath($path) ? $path : $this->rootPath.$path;
123 $this->cache = $this->errorCache = [];
125 $checkPath = $this->isAbsolutePath($path) ? $path : $this->rootPath.$path;
153 $len = \strlen($this->rootPath);
197 return $this->cache[$name];
[all …]
/template/twigstarter/vendor/twig/twig/src/NodeVisitor/
H A DEscaperNodeVisitor.php53 $this->safeVars = [];
54 $this->blocks = [];
58 …$this->statusStack[] = isset($this->blocks[$node->getAttribute('name')]) ? $this->blocks[$node->ge…
70 $this->safeVars = [];
71 $this->blocks = [];
84 array_pop($this->statusStack);
86 $this->blocks[$node->getAttribute('name')] = $this->needEscaping($env);
172 $this->traverser = new NodeTraverser($env, [$this->safeAnalysis]);
175 $this->safeAnalysis->setSafeVars($this->safeVars);
187 return $this->statusStack[\count($this->statusStack) - 1];
[all …]
H A DSandboxNodeVisitor.php44 $this->inAModule = true;
45 $this->tags = [];
46 $this->filters = [];
47 $this->functions = [];
50 } elseif ($this->inAModule) {
73 $this->wrapNode($node, 'expr');
81 if ($this->needsToStringWrap) {
102 $this->inAModule = false;
105 …node->setNode('class_end', new Node([new CheckSecurityNode($this->filters, $this->tags, $this->fun…
106 } elseif ($this->inAModule) {
[all …]
/template/twigstarter/vendor/twig/twig/src/Node/
H A DNode.php46 $this->nodes = $nodes;
48 $this->lineno = $lineno;
49 $this->tag = $tag;
61 if (\count($this->nodes)) {
89 return $this->lineno;
94 return $this->tag;
148 return $this->nodes[$name];
153 $this->nodes[$name] = $node;
158 unset($this->nodes[$name]);
189 $this->name = $name;
[all …]
H A DModuleNode.php61 $this->setSourceContext($source);
71 $this->compileTemplate($compiler);
88 $this->compileGetParent($compiler);
90 $this->compileDisplay($compiler);
94 $this->compileMacros($compiler);
100 $this->compileDebugInfo($compiler);
109 if (!$this->hasNode('parent')) {
112 $parent = $this->getNode('parent');
185 if (!$this->hasNode('parent')) {
319 if ($this->hasNode('parent')) {
[all …]
/template/mikio/
H A Dmikio.php56 $this->tplDir = tpl_incdir();
57 $this->baseDir = tpl_basedir();
59 $this->registerHooks();
93 $EVENT_HANDLER->register_hook($event, 'BEFORE', $this, $method);
113 $this->includePage('theme', false);
118 if (empty($this->getConf('customTheme')) === false) {
119 if (file_exists($this->tplDir . 'themes/' . $this->getConf('customTheme') . '/style.less') === true) {
120 $stylesheets[] = $this->baseDir . 'themes/' . $this
[all...]
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
H A DCallExpression.php70 if ($this->hasAttribute('needs_environment') && $this->getAttribute('needs_environment')) {
75 if ($this->hasAttribute('needs_context') && $this->getAttribute('needs_context')) {
93 if ($this->hasNode('node')) {
103 $arguments = $this->getArguments($callable, $this->getNode('arguments'));
134 $isVariadic = $this->hasAttribute('is_variadic') && $this->getAttribute('is_variadic');
176 ), $this->getTemplateLine(), $this->getSourceContext());
254 if ($this->hasNode('node')) {
257 if ($this->hasAttribute('needs_environment') && $this->getAttribute('needs_environment')) {
260 if ($this->hasAttribute('needs_context') && $this->getAttribute('needs_context')) {
263 if ($this->hasAttribute('arguments') && null !== $this->getAttribute('arguments')) {
[all …]
/template/icke/
H A DIckeNavigation.php16 $this->id = $id;
17 $this->link = $link;
18 $this->isNamespace = $isNamespace;
19 $this->class = $this->buildClass($id);
20 $this->exists = page_exists($this->link);
31 if (!$this->isNamespace) return $this->id;
32 return getNS($this->id);
51 $this->navigation = array();
71 $link = $this->translateId($link);
76 return $this->navigation;
[all …]

12345678910>>...43