Sequences - Xref - Types - make


App: regression/errors Page: syntax/a_sequence_option_typo_is_reported
PHP
HTML
syntax/a_sequence_option_typo_is_reported.pad
Result
{make:fibonacci rowz=3}{$sequence},{/make:fibonacci}

App: regression/framework Page: lenient/a_sequence_option_typo_is_ignored
PHP
lenient/a_sequence_option_typo_is_ignored.php
HTML
lenient/a_sequence_option_typo_is_ignored.pad
Result
<?php

// The lenient walk under test: with the syntax check off, what cannot be evaluated
// yields empty, what nothing claims stays as written, and the walk carries on.

$padCheckSyntax = FALSE;

?>
{make:fibonacci rowz=3}{$sequence},{/make:fibonacci}

App: regression/framework Page: prefixes/make_names_a_sequence_type_to_build
PHP
HTML
prefixes/make_names_a_sequence_type_to_build.pad
Result
{make:fibonacci rows=3}
{$sequence},
{/make:fibonacci}

App: regression/framework Page: sequence/a_list_beside_a_store_pulled_plays_over_it_as_a_semicolon_list_does_or_is_the_parameter_of_an_action_option
PHP
HTML
sequence/a_list_beside_a_store_pulled_plays_over_it_as_a_semicolon_list_does_or_is_the_parameter_of_an_action_option.pad
Result
{sequence '1..6', push='a'/}[{keep:a [2,3,9]}{$sequence} {/keep:a}][{remove:a [2,3,9]}{$sequence} {/remove:a}][{flag:a [2,3,9]}{$sequence} {/flag:a}][{make:a [2,3,9]}{$sequence} {/make:a}][{pull:a keep, [2,3,9]}{$sequence} {/pull:a}][{pull:a [7, 8]}{$sequence} {/pull:a}|{pull:a '7;8'}{$sequence} {/pull:a}][{sequence '7;8', push='b'/}{pull:b append, [9]}{$sequence} {/pull:b}][{pull:b [9], append}{$sequence} {/pull:b}][{sequence b, prepend, [9]}{$sequence} {/sequence}]

App: regression/framework Page: sequence/a_paged_sequence_is_booked_under_its_tag_s_own_name
PHP
HTML
sequence/a_paged_sequence_is_booked_under_its_tag_s_own_name.pad
Result
[{keep '1..12', even, page=2, rows=3}{$sequence} {/keep}{pager 'keep'}{$kind}:{$page} {/pager}][{make:square page=2, rows=5}{$sequence} {/make:square}{pager 'make'}{$kind}:{$page} {/pager}]{sequence '1..20', push='s'/}[{pull 's', page=2, rows=5}{$sequence} {/pull}{pager 'pull'}{$kind}:{$page} {/pager}][{pull:s page=3, rows=5}{$s} {/pull:s}{pager 'pull'}{$kind}:{$page} {/pager}]

App: regression/pages Page: catalog/prefixes
PHP
HTML
catalog/prefixes.pad
Result
action:   {echo 'z' | action:reverse}.
bool: {bool 'catPb'}1{/bool}{bool:catPb}y{/bool:catPb}
constant: {constant:PHP_INT_SIZE}
content: {content 'catK'}hello{/content}{content:catK}
data: {data 'catD'}[1,2]{/data}{echo '' | data:catD . data:catD}
field: {set $catF = 'v'/}{echo '' | field:catF . '!'}
function: {echo 'ab' | function:exclaim}
include: {set $who = 'bob'/}{include:fixture}
keep: {keep:prime rows=4, from=10}{$sequence},{/keep:prime}
level: {data 'catR'}[{"sub":[1,2]}]{/data}{catR}{echo '' | level:sub . level:sub}={level:sub}{$sub}{/level:sub}{/catR}
local: {echo '' | local:nums . local:nums}
make: {make:fibonacci rows=3}{$sequence},{/make:fibonacci}
parm: {true name='v'}{parm:name}{/true}
property: {data 'catXs'}[7,8]{/data}{catXs}{property:current},{/catXs}
pull: {sequence '1..3', push='catPp'/}{echo '' | pull:catPp . pull:catPp}
remove: {remove:prime rows=6, from=10}{$sequence},{/remove:prime}
sequence: {echo '' | sequence:fibonacci(8)}

App: regression/pages Page: catalog/tags
PHP
catalog/tags.php
HTML
catalog/tags.pad
Result
<?php

// The directory the dir and files lines list: hello/, which holds exactly its index
// trio and nothing that would change with the suite.

$catDir = APP . 'hello';

?>
action:   {sequence '1..4', push='catAct'/}{action catAct, reverse}{$sequence},{/action}
bool: {bool 'catB'}1{/bool}{bool:catB}yes{/bool:catB}
break: {data 'catBr'}[1,2,3,4]{/data}{catBr}{$catBr},{if $catBr eq 2}{break 'catBr'/}{/if}{/catBr}
case: {case 'blue'}{when 'red'}stop{when 'blue'}go{/case}
cease: {data 'catCe'}[1,2,3,4]{/data}{catCe}{$catCe},{if $catCe eq 2}{cease 'catCe'/}{/if}{/catCe}
continue: {data 'catCo'}[1,2,3]{/data}{catCo}{if $catCo eq 2}{continue 'catCo'/}{/if}{$catCo},{/catCo}
curl: {curl 'SELF://regression/pages/?pairing&padInclude'}
decrement: {set $catI = 5/}{decrement $catI/}{$catI}
dir: {dir '{$catDir}'}{$dir}{notLast} {/notLast}{/dir}
exists: {exists 'hello/index.pad'}y{/exists}{exists 'nope.xyz'}n{/exists}
false: {false}n{/false}.
files: {files 'hello', base='app', onlyFiles}{$item}.{$ext}{notLast} {/notLast}{/files}
flag: {flag prime, rows=6, from=10}{$sequence},{/flag}
foo: {foo}
get: {get 'pairing'}
ignore: {ignore}{a} {b}{/ignore}
keep: {keep prime, rows=4, from=10}{$sequence},{/keep}
make: {make:fibonacci rows=3}{$sequence},{/make:fibonacci}
null: {null}n{/null}.
output: {output 'web'}.
pull: {sequence '1..3', push='catPu'/}{pull 'catPu'}{$sequence},{/pull}
remove: {remove prime, rows=6, from=10}{$sequence},{/remove}
resume: {sequence '1..4', push='catRe'/}{resume add=10}{pull:catRe}{$sequence},{/pull:catRe}
sandbox: {sandbox}{echo 'in'}{/sandbox}
tidy: {tidy}<p ><b >x</b ></p >{/tidy}
until: {set $catU = 0/}{until $catU eq 3}{increment $catU/}{$catU},{/until}
marker: @tidy@

App: sequence Page: check/add

App: sequence Page: check/combo

App: sequence Page: check/power

App: sequence Page: check/prime

App: sequence Page: check/reverse

App: sequence Page: check/store

App: sequence Page: check/sum

App: sequence Page: specials/multi