Ferreteria/v0.5/@cls/tExecutableTwig/OnBuild(): Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
(Created page with "{{fmt/title|<code>ferret\{{l/ver/class|layout}}\tExecutableTwig->OnBuild()</code>}} ==About== This was just a stub function, wWhen {{l/same|DoLocalMethod()}} used t...")
 
No edit summary
 
Line 1: Line 1:
{{fmt/title|<code>[[../|ferret]]\{{l/ver/class|layout}}\tExecutableTwig-&gt;OnBuild()</code>}}
{{fmt/title|<code>[[../|ferret]]\{{l/ver/class|layout}}\tExecutableTwig-&gt;OnBuild()</code>}}
==About==
==About==
This was just a stub function, wWhen {{l/same|DoLocalMethod()}} used to automatically call whatever method was specified by {{l/ver/class|caEvent}}::{{l/ver/class/method|caEvent|Method}}. It has been removed from the trait. Podling classes may still choose to implement it.
This is a stub function, so {{l/same|DoLocalMethod()}} can call it without first checking if it exists and so podling classes can always call <code>parent::OnBuild()</code>.


System documentation: {{l/ver/meth|layout/event|OnBuild}}
'''System''': {{l/ver/meth|layout/event|OnBuild}}
==History==
==History==
* '''2022-12-02''' Reinstated (as part of folding all the different event-handler traits back into tExecutable[Twig/Tree], to simplify the code and make it easier to understand.
* '''2022-11-29''' Removed because we no longer need to define any given event-method until we plan to actually do something with it.
* '''2022-11-29''' Removed because we no longer need to define any given event-method until we plan to actually do something with it.

Latest revision as of 15:32, 2 December 2022

ferret\layout\tExecutableTwig->OnBuild()

About

This is a stub function, so DoLocalMethod() can call it without first checking if it exists and so podling classes can always call parent::OnBuild().

System: OnBuild()

History

  • 2022-12-02 Reinstated (as part of folding all the different event-handler traits back into tExecutable[Twig/Tree], to simplify the code and make it easier to understand.
  • 2022-11-29 Removed because we no longer need to define any given event-method until we plan to actually do something with it.