Ferreteria/v0.5/@cls/cDropinLink: Difference between revisions
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
(Created page with "{{fmt/title|Ferreteria class <code>ferret\cDropinLink</code>}} {| style="border: solid 1px grey; background: #eef;" |- | align=right | {{l/ver/class|caDynamicLink}} &r...") |
No edit summary |
||
Line 9: | Line 9: | ||
|} | |} | ||
* '''File''': {{l/ferreteria/code|layout/page/menu/DropinLink.php}} | * '''File''': {{l/ferreteria/code|layout/page/menu/DropinLink.php}} | ||
==Methods== | |||
===events: general=== | |||
* {{l/ver/meth|layout|OnRunCalculations}} comes from {{l/ver/class|tRequiresPermit}} | |||
* {{l/ver/meth|layout|OnEventLocal}}: if GetIsSelected() and GetIsAuthorized(), then InvokeFeature() | |||
** ...and also $oe->SetDoTwigs(FALSE), which is no longer supported and will generate an error if this code is actually run. | |||
===events: render=== | |||
* {{l/ver/meth|layout|OnRender}} | |||
* {{l/ver/meth|layout|GetShouldDisplay}} returns GetIsAuthorized() | |||
* RenderSelf() - this isn't a thing anymore; needs renaming/refactoring |
Revision as of 16:39, 14 July 2022
Ferreteria class
ferret\cDropinLink |
cDropinLink | → cDropinAction |
Methods
events: general
- OnRunCalculations() comes from tRequiresPermit
- OnEventLocal(): if GetIsSelected() and GetIsAuthorized(), then InvokeFeature()
- ...and also $oe->SetDoTwigs(FALSE), which is no longer supported and will generate an error if this code is actually run.
events: render
- OnRender()
- GetShouldDisplay() returns GetIsAuthorized()
- RenderSelf() - this isn't a thing anymore; needs renaming/refactoring