Kajona\System\System\ScriptletInterface

Scriptlets are a way to realize common helper-methods, e.g. in order to convert placeholders to "real" content.

Each scriptlet will be called right before passing the generated content to the browser.
Since this is done for each call, make sure to avoid complex operations.

Synopsis

interface ScriptletInterface {
  • // constants
  • const BIT_CONTEXT_ADMIN = 2;
  • const BIT_CONTEXT_PORTAL_ELEMENT = 4;
  • const BIT_CONTEXT_PORTAL_PAGE = 8;
}

Constants

Name Value
BIT_CONTEXT_ADMIN 2
BIT_CONTEXT_PORTAL_ELEMENT 4
BIT_CONTEXT_PORTAL_PAGE 8

Methods

public