Home
last modified time | relevance | path

Searched refs:macro (Results 1 – 25 of 160) sorted by relevance

1234567

/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/
Dmacro.rst1 ``macro``
6 The possibility to define default values for arguments in the macro
13 Here is a small example of a macro that renders a form element:
17 {% macro input(name, value, type = "text", size = 20) %}
27 ``default`` filter in the macro body:
31 {% macro input(name, value, type, size) %}
37 * Arguments of a macro are always optional.
39 * If extra positional arguments are passed to a macro, they end up in the
65 The macro can then be called at will:
83 When you define a macro in the template where you are going to use it, you
[all …]
Dfrom.rst4 The ``from`` tag imports :doc:`macro<../tags/macro>` names into the current
8 .. seealso:: :doc:`macro<../tags/macro>`, :doc:`import<../tags/import>`
Dimport.rst4 Twig supports putting often used code into :doc:`macros<../tags/macro>`. These
14 {% macro input(name, value, type, size) %}
18 {% macro textarea(name, value, rows, cols) %}
57 .. seealso:: :doc:`macro<../tags/macro>`, :doc:`from<../tags/from>`
/plugin/textinsert/lang/nl/
Dintro.txt1 …et dit luik kan je macro's en hun vervangingsteksten onderhouden: aanmaken, schrappen en bewerken …
3 Zes macro's tegelijk kan je toevoegen. De zesde is de tekstzone waar je uitgebreide teksten kan inv…
4 Geef een macro naam in de **Macro** kolom en de tekst die hier aan gekoppeld is in de **Vervangteks…
6 Schrappen kan je onbeperkt uitvoeren. Vink het vakje of de vakjes aan naast de macro's die geschrap…
8 je alle macro's ziet staan. Je bewerkt teksten van zoveel macro's als je maar wil.
10 De macro lijst wordt niet hernieuwd zolang de wijzigingen, toevoegingen, schrappingen niet doorgevo…
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/
DImportTest.php21 $macro = new ConstantExpression('foo.twig', 1);
23 $node = new ImportNode($macro, $var, 1);
25 $this->assertEquals($macro, $node->getNode('expr'));
33 $macro = new ConstantExpression('foo.twig', 1);
35 $node = new ImportNode($macro, $var, 1);
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/
Dunary_macro_arguments.test10 {% macro negative_number1(nb=-1) %}{{ nb }}{% endmacro %}
11 {% macro negative_number2(nb = --1) %}{{ nb }}{% endmacro %}
12 {% macro negative_number3(nb = - 1) %}{{ nb }}{% endmacro %}
13 {% macro positive_number1(nb = +1) %}{{ nb }}{% endmacro %}
14 {% macro positive_number2(nb = ++1) %}{{ nb }}{% endmacro %}
/plugin/textinsert/
Dadmin.php118 foreach($macros as $macro=>$subst) {
119 ptln("<tr><td><input type='checkbox' name='delete[$macro]' value='$subst'>");
120 ptln( "<td style='padding:4px;'>$macro<td>$subst</td>");
129 foreach($macros as $macro=>$subst) {
130 ptln("<tr><td align='center'>$macro&nbsp;</td><td>");
133 ptln("<input type = 'hidden' name='encoded[$macro]' value='$encoded'>");
136 …ptln ("<textarea cols='55' rows='3' name='edit[$macro]' onchange='replace_encode(this)'>$subst</te…
140 …ptln ("<input type='text' size='80' name='edit[$macro]' onchange='replace_encode(this)' value='$su…
150 foreach($macros as $macro=>$subst) {
151 …ptln( "<tr><td align='center'>$macro<td style='padding: 4px; border-bottom: 1px solid black;'>$sub…
DREADME1 This is a macro substitution plugin which enables substitutions of both words and longer
12 macros inside the primary macro definition. That is, it can accept:
14 MACRO_1 This macro can include #@MACR0_2@# inside it.
15 MACRO_2 a second macro
18 This macro can include a second macro inside it.
20 It accepts only one level of macro inclusion, so that if MACRO_3 were included in
23 The macro definitions will also accept entities defined dokuwiki's conf/entities.conf and
29 A macro name with the _HTML suffix will be output as HTML, whereas without the _HTML suffix the
35 If a macro has this format, textinsert checks the file's namespace for a language specified
40 it finds one, it will substitute this for the macro. Otherwise, it will substitute the entry for
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/deprecated/
Dmacro.legacy.test2 Deprecating a macro with "deprecated" tag
9 {% macro welcome(name) %}
10 {% deprecated 'The "welcome" macro is deprecated, use "hello" instead.' %}
15 {% macro hello(name) %}
/plugin/barcodes/vendor/jucksearm/php-barcode/lib/
DBarcode2D.php118 $macro = array();
120 $macro['segment_total'] = intval($mode[3]);
121 $macro['segment_index'] = intval($mode[4]);
122 $macro['file_id'] = strtr($mode[5], "\xff", ',');
127 $macro['option_'.$i] = strtr($mode[$o], "\xff", ',');
131 $qrcode = new PDF417($code, $ecl, $aspectratio, $macro);
DPDF417.php521 public function __construct($code, $ecl=-1, $aspectratio=2, $macro=array()) { argument
544 if (!empty($macro)) {
549 $cw = $this->getCompaction(902, sprintf('%05d', $macro['segment_index']), false);
552 $cw = $this->getCompaction(900, $macro['file_id'], false);
558 if (isset($macro['option_'.$k])) {
562 $macro['option_'.$k] = sprintf('%05d', $macro['option_'.$k]);
564 $macro['option_'.$k] = sprintf('%010d', $macro['option_'.$k]);
566 $cw = $this->getCompaction($omode, $macro['option_'.$k], false);
570 if ($macro['segment_index'] == ($macro['segment_total'] - 1)) {
624 if (!empty($macro)) {
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/macros/
Dnested_calls.test2 macro
6 {% macro foo(data) %}
10 {% macro bar() %}
Dvarargs_argument.test2 macro with varargs argument
4 {% macro test(varargs) %}
7 Twig\Error\SyntaxError: The argument "varargs" in macro "test" cannot be defined because the variab…
Dvarargs.test2 macro with arbitrary arguments
6 {% macro test1(var) %}
10 {% macro test2() %}
Dreserved_variables.test2 macro
6 {% macro test(this) -%}
Ddefault_values.test2 macro
6 {% macro test(a, b = 'bar') -%}
Dwith_filters.test2 macro with a filter
6 {% macro test() %}
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/
Dendmacro_name.test2 "macro" tag supports name for endmacro
9 {% macro foo() %}foo{% endmacro %}
10 {% macro bar() %}bar{% endmacro bar %}
Dreserved_name.test2 "macro" tag with reserved name
4 {% macro parent(arg1, arg2) %}
10 Twig\Error\SyntaxError: "parent" cannot be used as a macro name as it is a reserved keyword in "ind…
Dfrom.test2 "macro" tag
11 {% macro foo(name) %}foo{{ name }}{% endmacro %}
12 {% macro bar(name) %}bar{{ name }}{% endmacro %}
Dspecial_chars.test2 "§" as a macro name
8 {% macro §(foo) %}
Dsuper_globals.test2 Super globals as macro arguments
8 {% macro foo(GET) %}
Dglobal.test2 "macro" tag
9 {% macro foo(name) %}{{ name|default('foo') }}{{ global }}{% endmacro %}
/plugin/textinsert/lang/en/
Dintro.txt1 … their replacement texts, and to edit them after they have been saved. A macro name can contain l…
4 Enter the macro name in the **Macro** column and the texts which they represent in the
8 Deletions are unlimited; check off the box(es) next the macro(s) to be deleted and click
13 The macro list will not refresh until after you have submitted your edits, additions, or deletions
/plugin/textinsert/lang/fr/
Dintro.txt1 …tes de remplacement, de les modifier après leur enregistrement. Un nom de macro peut contenir des …
4 Entrez le nom de la macro dans la colonne **Macro** et les textes qu'ils représentent dans la colon…
7 Les suppressions sont illimitées ; cochez la devant la macro à supprimer et cliquez sur le bouton *…
10 La liste macro ne s'actualise pas jusqu'à ce que vous avez envoyer vos modifications, ajouts ou sup…

1234567