Ferreteria/v0.5/@cls/tExecutableTree: Difference between revisions
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
(Created page with "{{fmt/title|Ferreteria trait <code>ferret\{{l/ver/class|layout}}\tExecutableTree</code>}} {| style="border: solid 1px grey; background: #eef;" |- | {{l/ver/class|tExec...") |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{| style="border: solid 1px grey; background: #eef;" | {| style="border: solid 1px grey; background: #eef;" | ||
|- | |- | ||
| {{l/ver/class|tExecutableTwig}} → | | | ||
{| | |||
|- | |||
| {{l/ver/class|tExecutableTwig}} | |||
| → | |||
| {{l/ver/class|tExecutableTree}} | | {{l/ver/class|tExecutableTree}} | ||
| | |- | ||
| align=right colspan=3 | {{l/ver/class|tRenderableTree}} | |||
|} | |} | ||
| → | |||
| {{l/ver/class|cElement}} | |||
|} | |||
* '''file''': {{l/ferreteria/code|layout/elem/trait.php}} | * '''file''': {{l/ferreteria/code|layout/elem/trait.php}} | ||
==About== | |||
This trait extends {{l/ver/class|tExecutableTwig}} by dispatching events to sub-twigs. | |||
==Methods== | ==Methods== | ||
===events=== | ===events=== | ||
* | * {{l/sub|OnEvent()}} calls these: | ||
** | ** {{l/sub|DoEventTwigs()}} is implemented as you might expect. | ||
** {{l/sub|OnEventLocal()}} is inherited from {{l/ver/class|tExecutableTwig}} | |||
** | ====rendering==== | ||
* {{l/sub|RenderValue()}} | |||
===rendering=== | * {{l/sub|RenderBranch()}} | ||
* {{l/sub|RenderTwigs()}} |
Latest revision as of 19:26, 20 August 2023
|
→ | cElement |
- file: layout/elem/trait.php
About
This trait extends tExecutableTwig by dispatching events to sub-twigs.
Methods
events
- OnEvent() calls these:
- DoEventTwigs() is implemented as you might expect.
- OnEventLocal() is inherited from tExecutableTwig