Home
last modified time | relevance | path

Searched refs:environment (Results 1 – 25 of 135) sorted by relevance

123456

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DFunctionTest.php34 $environment->addFunction(new TwigFunction('foo', 'foo', []));
43 $tests[] = [$node, 'foo()', $environment];
46 $tests[] = [$node, 'foo("bar", "foobar")', $environment];
49 $tests[] = [$node, 'bar($this->env)', $environment];
52 $tests[] = [$node, 'bar($this->env, "bar")', $environment];
55 $tests[] = [$node, 'foofoo($context)', $environment];
58 $tests[] = [$node, 'foofoo($context, "bar")', $environment];
61 $tests[] = [$node, 'foobar($this->env, $context)', $environment];
64 $tests[] = [$node, 'foobar($this->env, $context, "bar")', $environment];
75 $tests[] = [$node, 'twig_tests_function_barbar()', $environment];
[all …]
H A DFilterTest.php35 … $environment = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
36 $environment->addFilter(new TwigFilter('bar', 'bar', ['needs_environment' => true]));
37 …$environment->addFilter(new TwigFilter('barbar', 'twig_tests_filter_barbar', ['needs_context' => t…
85 $tests[] = [$node, 'bar($this->env, "abc")', $environment];
88 $tests[] = [$node, 'bar($this->env, "abc", "bar")', $environment];
92 $tests[] = [$node, 'twig_tests_filter_barbar($context, "abc")', $environment];
95 …= [$node, 'twig_tests_filter_barbar($context, "abc", null, null, ["foo" => "bar"])', $environment];
98 $tests[] = [$node, 'twig_tests_filter_barbar($context, "abc", null, "bar")', $environment];
106 …, 'twig_tests_filter_barbar($context, "abc", "1", "2", [0 => "3", "foo" => "bar"])', $environment];
H A DTestTest.php36 … $environment = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
37 …$environment->addTest(new TwigTest('barbar', 'twig_tests_test_barbar', ['is_variadic' => true, 'ne…
54 $tests[] = [$node, 'twig_tests_test_barbar("abc")', $environment];
57 … $tests[] = [$node, 'twig_tests_test_barbar("abc", null, null, ["foo" => "bar"])', $environment];
60 $tests[] = [$node, 'twig_tests_test_barbar("abc", null, "bar")', $environment];
68 …s[] = [$node, 'twig_tests_test_barbar("abc", "1", "2", [0 => "3", "foo" => "bar"])', $environment];
/plugin/commonmark/src/Dokuwiki/Plugin/Commonmark/
H A DCommonmark.php15 $environment = self::createDWEnvironment();
18 $parser = new DocParser($environment);
20 $DWRenderer = new DWRenderer($environment);
27 $environment = new Environment();
28 $environment->addExtension(new CommonMarkToDokuWikiExtension());
29 $environment->addExtension(new FootnoteToDokuwikiExtension());
30 $environment->addExtension(new StrikethroughExtension());
31 $environment->addExtension(new TableExtension());
33 $environment->mergeConfig([
37 return $environment;
H A DDWRenderer.php33 protected $environment; variable in Dokuwiki\\Plugin\\Commonmark\\DWRenderer
36 * @param EnvironmentInterface $environment
38 public function __construct(EnvironmentInterface $environment) argument
40 $this->environment = $environment;
51 return $this->environment->getConfig('renderer/' . $option, $default);
63 $renderers = $this->environment->getInlineRenderersForClass(\get_class($inline));
100 $renderers = $this->environment->getBlockRenderersForClass(\get_class($block));
/plugin/database/
H A Ddatabase.php276 global $environment;
353 global $environment;
555 global $environment;
583 global $environment;
663 global $environment;
702 global $environment;
723 global $environment;
779 global $environment;
913 global $environment;
1006 global $environment;
[all …]
/plugin/commonmark/vendor/league/commonmark/src/Extension/Footnote/
H A DFootnoteExtension.php37 public function register(ConfigurableEnvironmentInterface $environment) argument
39 $environment->addBlockParser(new FootnoteParser(), 51);
40 $environment->addInlineParser(new AnonymousFootnoteRefParser(), 35);
41 $environment->addInlineParser(new FootnoteRefParser(), 51);
43 $environment->addBlockRenderer(FootnoteContainer::class, new FootnoteContainerRenderer());
44 $environment->addBlockRenderer(Footnote::class, new FootnoteRenderer());
46 $environment->addInlineRenderer(FootnoteRef::class, new FootnoteRefRenderer());
47 $environment->addInlineRenderer(FootnoteBackref::class, new FootnoteBackrefRenderer());
49 …$environment->addEventListener(DocumentParsedEvent::class, [new AnonymousFootnotesListener(), 'onD…
50 …$environment->addEventListener(DocumentParsedEvent::class, [new NumberFootnotesListener(), 'onDocu…
[all …]
/plugin/commonmark/vendor/league/commonmark/src/
H A DMarkdownConverter.php19 protected $environment; variable in League\\CommonMark\\MarkdownConverter
21 public function __construct(EnvironmentInterface $environment) argument
23 $this->environment = $environment;
25 parent::__construct(new DocParser($environment), new HtmlRenderer($environment));
30 return $this->environment;
H A DGithubFlavoredMarkdownConverter.php23 * @param EnvironmentInterface|null $environment
25 public function __construct(array $config = [], EnvironmentInterface $environment = null) argument
27 if ($environment === null) {
28 $environment = Environment::createGFMEnvironment();
33 if ($environment instanceof ConfigurableEnvironmentInterface) {
34 $environment->mergeConfig($config);
37 MarkdownConverter::__construct($environment);
H A DCommonMarkConverter.php36 * @param EnvironmentInterface|null $environment
38 public function __construct(array $config = [], EnvironmentInterface $environment = null) argument
40 if ($environment === null) {
41 $environment = Environment::createCommonMarkEnvironment();
46 if ($environment instanceof ConfigurableEnvironmentInterface) {
47 $environment->mergeConfig($config);
50 parent::__construct($environment);
H A DHtmlRenderer.php30 protected $environment; variable in League\\CommonMark\\HtmlRenderer
33 * @param EnvironmentInterface $environment
35 public function __construct(EnvironmentInterface $environment) argument
37 $this->environment = $environment;
48 return $this->environment->getConfig('renderer/' . $option, $default);
60 $renderers = $this->environment->getInlineRenderersForClass(\get_class($inline));
97 $renderers = $this->environment->getBlockRenderersForClass(\get_class($block));
H A DDocParser.php31 private $environment; variable in League\\CommonMark\\DocParser
44 * @param EnvironmentInterface $environment
46 public function __construct(EnvironmentInterface $environment) argument
48 $this->environment = $environment;
49 $this->inlineParserEngine = new InlineParserEngine($environment);
50 $this->maxNestingLevel = $environment->getConfig('max_nesting_level', \PHP_INT_MAX);
73 $this->environment->dispatch($preParsedEvent);
76 $context = new Context($document, $this->environment);
90 $this->environment->dispatch(new DocumentParsedEvent($document));
187 foreach ($this->environment->getBlockParsers() as $parser) {
/plugin/commonmark/src/Dokuwiki/Plugin/Commonmark/Extension/
H A DFootnoteToDokuwikiExtension.php40 public function register(ConfigurableEnvironmentInterface $environment) argument
42 $environment->addBlockParser(new FootnoteParser(), 51);
43 $environment->addInlineParser(new AnonymousFootnoteRefParser(), 35);
44 $environment->addInlineParser(new FootnoteRefParser(), 51);
46 $environment->addBlockRenderer(FootnoteContainer::class, new FootnoteContainerRenderer());
47 $environment->addBlockRenderer(Footnote::class, new FootnoteRenderer());
48 $environment->addInlineRenderer(FootnoteBackref::class, new FootnoteBackrefRenderer());
49 $environment->addInlineRenderer(FootnoteRef::class, new FootnoteRefRenderer());
51 …$environment->addEventListener(DocumentParsedEvent::class, [new AnonymousFootnotesListener(), 'onD…
52 …$environment->addEventListener(DocumentParsedEvent::class, [new NumberFootnotesListener(), 'onDocu…
[all …]
H A DCommonmarkToDokuwikiExtension.php29 public function register(ConfigurableEnvironmentInterface $environment) { argument
30 $environment
72 … $deprecatedUseAsterisk = $environment->getConfig('use_asterisk', ConfigurationInterface::MISSING);
79 if ($environment->getConfig('commonmark/use_asterisk', $deprecatedUseAsterisk)) {
80 $environment->addDelimiterProcessor(new EmphasisDelimiterProcessor('*'));
83 …$deprecatedUseUnderscore = $environment->getConfig('use_underscore', ConfigurationInterface::MISSI…
90 if ($environment->getConfig('commonmark/use_underscore', $deprecatedUseUnderscore)) {
91 $environment->addDelimiterProcessor(new EmphasisDelimiterProcessor('_'));
/plugin/commonmark/vendor/league/commonmark/src/Extension/ExternalLink/
H A DExternalLinkProcessor.php26 private $environment; variable in League\\CommonMark\\Extension\\ExternalLink\\ExternalLinkProcessor
28 public function __construct(EnvironmentInterface $environment) argument
30 $this->environment = $environment;
40 $internalHosts = $this->environment->getConfig('external_link/internal_hosts', []);
41 $openInNewWindow = $this->environment->getConfig('external_link/open_in_new_window', false);
42 $classes = $this->environment->getConfig('external_link/html_class', '');
88 … 'nofollow' => $this->environment->getConfig('external_link/nofollow', self::APPLY_NONE),
89 … 'noopener' => $this->environment->getConfig('external_link/noopener', self::APPLY_EXTERNAL),
90 … 'noreferrer' => $this->environment->getConfig('external_link/noreferrer', self::APPLY_EXTERNAL),
/plugin/commonmark/vendor/league/commonmark/src/Extension/
H A DGithubFlavoredMarkdownExtension.php23 public function register(ConfigurableEnvironmentInterface $environment) argument
25 $environment->addExtension(new AutolinkExtension());
26 $environment->addExtension(new DisallowedRawHtmlExtension());
27 $environment->addExtension(new StrikethroughExtension());
28 $environment->addExtension(new TableExtension());
29 $environment->addExtension(new TaskListExtension());
H A DCommonMarkCoreExtension.php29 public function register(ConfigurableEnvironmentInterface $environment) argument
31 $environment
73 … $deprecatedUseAsterisk = $environment->getConfig('use_asterisk', ConfigurationInterface::MISSING);
80 if ($environment->getConfig('commonmark/use_asterisk', $deprecatedUseAsterisk)) {
81 $environment->addDelimiterProcessor(new EmphasisDelimiterProcessor('*'));
84 …$deprecatedUseUnderscore = $environment->getConfig('use_underscore', ConfigurationInterface::MISSI…
91 if ($environment->getConfig('commonmark/use_underscore', $deprecatedUseUnderscore)) {
92 $environment->addDelimiterProcessor(new EmphasisDelimiterProcessor('_'));
/plugin/findologicxmlexport/vendor/twig/twig/src/Test/
H A DNodeTestCase.php27 public function testCompile($node, $source, $environment = null, $isPattern = false) argument
29 $this->assertNodeCompilation($source, $node, $environment, $isPattern);
32 …public function assertNodeCompilation($source, Node $node, Environment $environment = null, $isPat… argument
34 $compiler = $this->getCompiler($environment);
44 protected function getCompiler(Environment $environment = null) argument
46 return new Compiler(null === $environment ? $this->getEnvironment() : $environment);
/plugin/webcode/vendor/
H A Dfirebug-lite-1.2.js2287 return this.environment.addStyle.apply(this.environment,arguments);
2299 _element = _element.environment?_element.environment.getElement():_element;
2318 this.environment.getParent().removeChild(this.environment.getElement());
2382 el.environment ? el.environment.getElement() : el
2389 _element.environment?_element.environment.getElement():_element,
2396 _element.environment?_element.environment.getElement():_element,
2402 …this._parent_.environment.getElement().removeChild(_element.environment?_element.environment.getEl…
2477 return this.environment.addCallback.apply(this.environment,arguments);
2480 return this.environment.addData.apply(this.environment,arguments);
2498 this.api.open(this.environment.getType(),url,this.environment.getAsync());
[all …]
H A Dfirebug-lite-1.2-compressed.js12 if(lib.env.ie||lib.env.webkit){el.button.container.environment.addStyle({"paddingTop":"12px"});}
16 if(env.showIconWhenHidden){if(!internal.popupWin){el.firebugIcon.environment.addStyle({"display":en…
25environment.addStyle({"height":win.resizer.y[2]+"px"});el.mainiframe.environment.addStyle({"height…
26 …;var dim=lib.util.GetViewport();el.main.environment.addStyle({"width":dim.width+"px"});el.mainifra…
52 if(_clear){internal.targetWindow.firebug.el.bgInspector.environment.addStyle({"display":"none"});re…
73environment.addStyle({"width":_open?"70%":"100%"});el.right.container.environment.addStyle({"displ…
116environment.setElement(typeof _val=="string"||!_val?document.createElement(_val||"DIV"):_val);retu…
117environment?_element.environment.getElement():_element,(_referenceElement.environment?_referenceEl… class in pi.element.body
118 else{this.environment.setApi(new XMLHttpRequest());}
119environment.getApi().onreadystatechange=pi.util.Curry(this.event.readystatechange,this);this.envir…
[all …]
/plugin/combo/resources/firebug/
H A Dfirebug-lite-1.2-compressed.js23 if(lib.env.ie||lib.env.webkit){el.button.container.environment.addStyle({"paddingTop":"12px"});}
27 if(env.showIconWhenHidden){if(!internal.popupWin){el.firebugIcon.environment.addStyle({"display":en…
36environment.addStyle({"height":win.resizer.y[2]+"px"});el.mainiframe.environment.addStyle({"height…
37 …;var dim=lib.util.GetViewport();el.main.environment.addStyle({"width":dim.width+"px"});el.mainifra…
63 if(_clear){internal.targetWindow.firebug.el.bgInspector.environment.addStyle({"display":"none"});re…
84environment.addStyle({"width":_open?"70%":"100%"});el.right.container.environment.addStyle({"displ…
127environment.setElement(typeof _val=="string"||!_val?document.createElement(_val||"DIV"):_val);retu…
128environment?_element.environment.getElement():_element,(_referenceElement.environment?_referenceEl… class in pi.element.body
129 else{this.environment.setApi(new XMLHttpRequest());}
130environment.getApi().onreadystatechange=pi.util.Curry(this.event.readystatechange,this);this.envir…
[all …]
H A Dfirebug-lite-1.2.js2298 return this.environment.addStyle.apply(this.environment,arguments);
2310 _element = _element.environment?_element.environment.getElement():_element;
2329 this.environment.getParent().removeChild(this.environment.getElement());
2393 el.environment ? el.environment.getElement() : el
2400 _element.environment?_element.environment.getElement():_element,
2407 _element.environment?_element.environment.getElement():_element,
2413 …this._parent_.environment.getElement().removeChild(_element.environment?_element.environment.getEl…
2488 return this.environment.addCallback.apply(this.environment,arguments);
2491 return this.environment.addData.apply(this.environment,arguments);
2509 this.api.open(this.environment.getType(),url,this.environment.getAsync());
[all …]
/plugin/commonmark/vendor/league/commonmark/src/Extension/SmartPunct/
H A DSmartPunctExtension.php27 public function register(ConfigurableEnvironmentInterface $environment) argument
29 $environment
34 … $environment->getConfig('smartpunct/double_quote_opener', Quote::DOUBLE_QUOTE_OPENER),
35 … $environment->getConfig('smartpunct/double_quote_closer', Quote::DOUBLE_QUOTE_CLOSER)
38 … $environment->getConfig('smartpunct/single_quote_opener', Quote::SINGLE_QUOTE_OPENER),
39 … $environment->getConfig('smartpunct/single_quote_closer', Quote::SINGLE_QUOTE_CLOSER)
/plugin/commonmark/vendor/league/commonmark/src/Extension/TableOfContents/
H A DTableOfContentsExtension.php21 public function register(ConfigurableEnvironmentInterface $environment): void argument
23 …$environment->addEventListener(DocumentParsedEvent::class, [new TableOfContentsBuilder(), 'onDocum…
25 …if ($environment->getConfig('table_of_contents/position') === TableOfContentsBuilder::POSITION_PLA…
26 $environment->addBlockParser(new TableOfContentsPlaceholderParser(), 200);
28 …$environment->addBlockRenderer(TableOfContentsPlaceholder::class, new TableOfContentsPlaceholderRe…
/plugin/commonmark/vendor/league/commonmark/src/Extension/InlinesOnly/
H A DInlinesOnlyExtension.php26 public function register(ConfigurableEnvironmentInterface $environment) argument
30 $environment
56 if ($environment->getConfig('use_asterisk', true)) {
57 $environment->addDelimiterProcessor(new EmphasisDelimiterProcessor('*'));
59 if ($environment->getConfig('use_underscore', true)) {
60 $environment->addDelimiterProcessor(new EmphasisDelimiterProcessor('_'));

123456