Home
last modified time | relevance | path

Searched refs:templates (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/plugin/jplayer/vendor/mustache/mustache/src/Mustache/Loader/
DArrayLoader.php29 private $templates; variable in Mustache_Loader_ArrayLoader
34 * @param array $templates Associative array of Template source (default: array())
36 public function __construct(array $templates = array()) argument
38 $this->templates = $templates;
52 if (!isset($this->templates[$name])) {
56 return $this->templates[$name];
62 * @param array $templates
64 public function setTemplates(array $templates) argument
66 $this->templates = $templates;
77 $this->templates[$name] = $template;
DInlineLoader.php54 protected $templates; variable in Mustache_Loader_InlineLoader
100 if (!array_key_exists($name, $this->templates)) {
104 return $this->templates[$name];
112 if ($this->templates === null) {
113 $this->templates = array();
118 $this->templates[trim($name)] = trim($content);
DFilesystemLoader.php31 private $templates = array(); variable in Mustache_Loader_FilesystemLoader
81 if (!isset($this->templates[$name])) {
82 $this->templates[$name] = $this->loadFile($name);
85 return $this->templates[$name];
DMutableLoader.php20 * @param array $templates
22 public function setTemplates(array $templates); argument
/plugin/findologicxmlexport/vendor/twig/twig/src/Loader/
DArrayLoader.php33 protected $templates = []; variable in Twig\\Loader\\ArrayLoader
36 …* @param array $templates An array of templates (keys are the names, and values are the source cod…
38 public function __construct(array $templates = []) argument
40 $this->templates = $templates;
51 $this->templates[(string) $name] = $template;
59 if (!isset($this->templates[$name])) {
63 return $this->templates[$name];
69 if (!isset($this->templates[$name])) {
73 return new Source($this->templates[$name], $name);
78 return isset($this->templates[(string) $name]);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Extension/
DSandboxTest.php21 protected static $templates; variable in Twig_Tests_Extension_SandboxTest
31 self::$templates = [
54 $twig = $this->getEnvironment(true, [], self::$templates, ['block']);
60 $twig = $this->getEnvironment(false, [], self::$templates);
66 $twig = $this->getEnvironment(true, [], self::$templates);
79 $twig = $this->getEnvironment(true, [], self::$templates);
91 $twig = $this->getEnvironment(true, [], self::$templates);
103 $twig = $this->getEnvironment(true, [], self::$templates);
173 … $twig = $this->getEnvironment(true, [], self::$templates, [], [], ['FooObject' => '__toString']);
181 $twig = $this->getEnvironment(false, [], self::$templates);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/src/Test/
DIntegrationTestCase.php82 public function testIntegration($file, $message, $condition, $templates, $exception, $outputs) argument
84 $this->doIntegrationTest($file, $message, $condition, $templates, $exception, $outputs);
91 …public function testLegacyIntegration($file, $message, $condition, $templates, $exception, $output… argument
93 $this->doIntegrationTest($file, $message, $condition, $templates, $exception, $outputs);
115 $templates = self::parseTemplates($match[3]);
121 $templates = self::parseTemplates($match[3]);
128 …$tests[] = [str_replace($fixturesDir.'/', '', $file), $message, $condition, $templates, $exception…
144 …protected function doIntegrationTest($file, $message, $condition, $templates, $exception, $outputs) argument
157 $loader = new ArrayLoader($templates);
230 foreach (array_keys($templates) as $name) {
[all …]
/plugin/dw2pdf/vendor/setasign/fpdi/src/
DFpdfTplTrait.php26 protected $templates = []; variable
104 if (!isset($this->templates[$tpl])) {
118 $template = $this->templates[$tpl];
154 if (!isset($this->templates[$tpl])) {
159 $width = $this->templates[$tpl]['width'];
160 $height = $this->templates[$tpl]['height'];
162 $width = $height * $this->templates[$tpl]['width'] / $this->templates[$tpl]['height'];
166 $height = $width * $this->templates[$tpl]['height'] / $this->templates[$tpl]['width'];
221 $this->templates[$templateId] = [
274 $template = $this->templates[$templateId];
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Dataproc/
DListWorkflowTemplatesResponse.php47 public function setTemplates($templates) argument
49 $this->templates = $templates;
56 return $this->templates;
/plugin/asciidocjs/node_modules/nunjucks/src/
Dprecompile-global.js3 function precompileGlobal(templates, opts) { argument
6 for (var i = 0; i < templates.length; i++) {
7 var name = JSON.stringify(templates[i].name);
8 var template = templates[i].template;
Dprecompile.js52 var templates = [];
64 templates.push(filepath);
72 for (var i = 0; i < templates.length; i++) {
73 var name = templates[i].replace(path.join(input, '/'), '');
75 precompiled.push(_precompile(fs.readFileSync(templates[i], 'utf-8'), name, env));
/plugin/pdftools/
DREADME.md9 * A set of templates for different purposes which can be installed directly from the admin section
10 * Upload your own templates in the admin section and option to remove templates
12 * Additional replacements which can be used in the templates
17 …which ist shown a the bottom right of the screen. You can configure the templates which are the di…
90 ## Set of templates
92 The pdftools-plugin contains a set of templates which can be installed in the admin section. These
98 ## Upload pdf-templates
100 Upload form for uploading your own pdf-templates.
104 ## Erase pdf-templates
106 Button to delete templates from dw2pdf.
/plugin/autogallery/
Dsyntax.php62 $templates = explode(',', $options[1]);
63 $templates = array_map('trim', $templates);
65 $arr=array('namespace' => $namespace,'newpagetemplates' => $templates);
/plugin/findologicxmlexport/vendor/twig/twig/doc/
Drecipes.rst16 To easily remove all deprecated feature usages from your templates, write and
25 print_r($deprecations->collectDir(__DIR__.'/templates'));
27 The ``collectDir()`` method compiles all templates found in a directory,
32 If your templates are not stored on the filesystem, use the ``collect()``
53 they won't be generated when templates are already cached.
113 Let's say that your templates are loaded from both ``.../templates/mysite``
114 and ``.../templates/default`` in this order. The ``page.twig`` template,
115 stored in ``.../templates/default`` reads as follows:
126 ``.../templates/mysite``. And if you want to extend the original template, you
131 {# page.twig in .../templates/mysite #}
[all …]
Dapi.rst6 the application and not those who are creating Twig templates.
13 configuration and extensions, and are used to load templates from the file
17 initialization and use that to load templates. In some cases it's however
21 The simplest way to configure Twig to load templates for your application
27 $loader = new \Twig\Loader\FilesystemLoader('/path/to/templates');
33 that looks up the templates in the ``/path/to/templates/`` folder. Different
35 templates from a database or other resources.
41 the compiled templates to avoid the parsing phase for sub-sequent
43 the evaluated templates. For such a need, you can use any available PHP
93 When set to ``true``, the generated templates have a
[all …]
/plugin/structodt/
Daction.php102 protected function render_single($row, $templates, $ext='pdf') { argument
111 foreach ($templates as $template) {
159 $templates = json_decode($INPUT->str('template'));
165 if (count($templates) > 1 && $ext != 'pdf') {
181 $tmp_file = $this->render_single($row, $templates, $ext);
208 $templates = json_decode($template_string);
220 $tmp_file = $this->render_single($row, $templates);
/plugin/farmsync/meta/
DTemplateUpdates.php39 $templates = array();
41 $templates = array_merge($templates, $this->getDocumentsFromLine($this->source, $line));
43 array_unique($templates);
44 return $templates;
/plugin/structtemplating/
DREADME.md3 Use twig templates for custom struct data rendering.
19 `lib/plugin/structtemplating/assets/templates/schema` directory on the server.
21 Currently only templates for schema page data are supported. The filename of
39 `assets/style/` directory and track them together with your templates.
44 the root for a git repository to put your templates and stylesheets under
Daction.php148 $templates = array();
150 $templates[] = $search->getSchemas()[0]->getTable() . '.twig';
152 $templates[] = $table->getID() . '.twig';
167 foreach ($templates as $template) {
/plugin/loadskin/
Dhelper.php57 $templates = array(
64 $templates = array_diff($this->getTemplates(),$excludeTemplates);
75 $templates,
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
Dsource.rst25 templates. So, if you are using the filesystem loader, the templates are looked
32 * ``ignore_missing``: Whether to ignore missing templates or not
Dinclude.rst14 Included templates have access to the variables of the active context.
16 If you are using the filesystem loader, the templates are looked for in the
60 You can also provide a list of templates that are checked for existence before
68 of the templates exist, otherwise it will throw an exception.
83 * ``ignore_missing``: Whether to ignore missing templates or not
/plugin/calendoku/syntax/
Dshowicalendar.php48 $templates = preg_split('/\s/', $this->getConf('icaltemplates'));
49 foreach ($templates as $template)
54 foreach ($templates as $template) {
/plugin/yuriigantt/3rd/dhtmlxgantt/ext/
Ddhtmlxgantt_quick_info.js13templates.quick_info_title=function(t,n,e){return e.text.substr(0,50)},gantt.templates.quick_info_…
/plugin/yuriigantt/3rd/dhtmlxgantt/sources/ext/
Ddhtmlxgantt_quick_info.js150 gantt.templates.quick_info_title = function(start, end, ev){ return ev.text.substr(0,50); };
151 gantt.templates.quick_info_content = function(start, end, ev){ return ev.details || ev.text; };
152 gantt.templates.quick_info_date = function(start, end, ev){
153 return gantt.templates.task_time(start, end, ev);
155 gantt.templates.quick_info_class = function(start, end, task){ return ""; };
280 template = this.templates.quick_info_class(task.start_date, task.end_date, task);
406 content: gantt.templates.quick_info_title(ev.start_date, ev.end_date, ev),
407 date: gantt.templates.quick_info_date(ev.start_date, ev.end_date, ev)
419 main.innerHTML = gantt.templates.quick_info_content(ev.start_date, ev.end_date, ev);

12345678910>>...13