From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Revision as of 21:59, 18 July 2022 by Woozle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Ferreteria class ferret\cDropinLink


cDropinLink cDropinAction


Each DropinLink object connects to a Feature object. It uses the OnRunCalculations() method in tRequiresPermit to calculate whether or not the current user has permission to access that Feature, and sets SetIsAuthorized() accordingly. GetIsAuthorized() returns the value of that flag.


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