Jump to main content Jump to doc navigation

The modX Class

This is the base class of MODX Revolution; it is used for many of the main processing methods of MODX. It extends the xPDO class.

Methods

  1. modX.addEventListener
  2. modX.checkForLocks
  3. modX.checkSession
  4. modX.executeProcessor
  5. modX.getAuthenticatedUser
  6. modX.getCacheManager
  7. modX.getChildIds
  8. modX.getChunk
  9. modX.getConfig
  10. modX.getContext
  11. modX.getEventMap
  12. modX.getLoginUserID
  13. modX.getLoginUserName
  14. modX.getParentIds
  15. modX.getParser
  16. modX.getPlaceholder
  17. modX.getRegisteredClientScripts
  18. modX.getRegisteredClientStartupScripts
  19. modX.getRequest
  20. modX.getResponse
  21. modX.getService
  22. modX.getSessionState
  23. modX.getTree
  24. modX.getUser
  25. modX.getVersionData
  26. modX.handleRequest
  27. modX.hasPermission
  28. modX.initialize
  29. modX.invokeEvent
  30. modX.lexicon
  31. modX.makeUrl
  32. modX.parseChunk
  33. modX.regClientCSS
  34. modX.regClientHTMLBlock
  35. modX.regClientScript
  36. modX.regClientStartupHTMLBlock
  37. modX.regClientStartupScript
  38. modX.reloadConfig
  39. modX.removeAllEventListener
  40. modX.removeEventListener
  41. modX.runProcessor
  42. modX.runSnippet
  43. modX.sendError
  44. modX.sendErrorPage
  45. modX.sendForward
  46. modX.sendRedirect
  47. modX.sendUnauthorizedPage
  48. modX.setDebug
  49. modX.setPlaceholder
  50. modX.setPlaceholders
  51. modX.switchContext
  52. modX.toPlaceholder
  53. modX.toPlaceholders
  54. modX.unsetPlaceholder
  55. modX.unsetPlaceholders

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • eydolan
  • Lefthandmedia
  • Murray Wood
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$306 per month—let's make that $500!

Learn more