Ferreteria/v0.5/@cls/tExecutableTree: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
|}
|}
* '''file''': {{l/ferreteria/code|layout/elem/trait.php}}
* '''file''': {{l/ferreteria/code|layout/elem/trait.php}}
==About==
This trait is typically used together with {{l/ver/class|tExecutableTree}} but does not descend from it.
==Methods==
==Methods==
===events===
===events===
* <syntaxhighlight lang=php inline>final public function OnEvent(caEvent $oe) : void { /* ... */ }</syntaxhighlight>
* {{l/ver/meth|layout/event|OnEvent}} calls the following, though the exact order has changed:
** <syntaxhighlight lang=php inline>$this->OnEventLocal($oe);</syntaxhighlight>
** ShouldDoTwigs()
** <syntaxhighlight lang=php inline>if ($this->ShouldDoTwigs())</syntaxhighlight>, then:
** DoEventTwigs(
*** <syntaxhighlight lang=php inline>$this->DoEventTwigs($oe);</syntaxhighlight>
* {{l/ver/meth|layout/event|DoEventTwigs}} is implemented as you might expect.
* <code>OnEventLocal()</code> comes from {{l/ver/class|tExecutableTwig}}
* {{l/ver/meth|layout/event|OnEventLocal}} comes from {{l/ver/class|tExecutableTwig}}
===rendering===
====rendering====
No rendering-specific methods are specified here, so there aren't any defined at this point.
No rendering-specific methods are specified here, so there aren't any defined at this point.

Revision as of 00:24, 23 July 2022

Ferreteria trait ferret\layout\tExecutableTree
tExecutableTwig tExecutableTree cElement

About

This trait is typically used together with tExecutableTree but does not descend from it.

Methods

events

rendering

No rendering-specific methods are specified here, so there aren't any defined at this point.