Standard Events - Mura Docs v7.0

Standard Events

As previously discussed, events prefixed with "standard" are points where you can replace Mura's business logic and functionality. To view their method definitions, and what they're doing specifically, open the file located under {context}/requirements/mura/Handler/standardEventsHandler.cfc. You can also view these methods via Mura's Component API at http://www.getmura.com/component-api/7.0/index.html?mura/Handler/standardEventsHandler.html.

There are three primary suffixes for "standard" events:

    • validator
      • Validators inspect the "event" or "request" itself, and forward the request/event to the appropriate handler, if necessary.
    • handler
      • Handlers usually set values in the "global event", or redirect the user somewhere.
    • translator
      • Translators check to see if the requested returnformat is JSON, and if so, utilizes Mura's JSON API to handle the request.
    Method When run
    standard404Handler Called by standard404Validator when the content bean in the current request is new.
    standard404Validator Called by standardSetContentHandler on each request.
    standardDoActionsHandler  
    standardDoResponseHandler  
    standardEnableLockdownHandler  
    standardEnableLockdownValidator  
    standardFileTranslationHandler  
    standardFileTranslator  
    standardForceSSLHandler  
    standardForceSSLValidator  
    standardJSONTranslator  
    standardLinkTranslationHandler  
    standardLinkTranslator  
    standardMobileHandler  
    standardMobileValidator  
    standardPostLogoutHandler  
    standardRequireLoginHandler  
    standardRequireLoginValidator  
    standardSetContentHandler  
    standardSetIsOnDisplayHandler  
    standardSetLocaleHandler  
    standardSetPermissionsHandler  
    standardSetPreviewHandler  
    standardTrackSessionHandler  
    standardTrackSessionValidator  
    standardTranslationHandler  
    standardWrongDomainValidator  
    standardWrongFilenameHandler  
    standardWrongFilenameValidator