Skip to content
sque edited this page Aug 7, 2013 · 1 revision

CM5_Core::events()

  • page.request: Filter when request comes and no decision has been taken.
  • page.post-fetchdata: Filter on page after it was fetched from database.
  • page.pre-render: Filter before rendering a page
  • page.post-render: Filter after rendering the page
  • page.cache-delete: Notify that the cache of a page has been invalidated.

CM5_Model_*::events()

  • op.pre.open: Filter before execution of open().
  • op.post.open: Notify after execution of open().
  • op.pre.create: Filter before execution of create().
  • op.post.create: Notify after execution of create().
  • op.pre.delete: Filter before execution of delete().
  • op.post.delete: Notify after execution of delete().
  • op.pre.save: Filter before execution of save().
  • op.post.save: Notify after executeion of save().

CM5_Form_*::events()

  • initialized: Notify a new form object is initialized.
  • process.get: Notify that a GET was successfully processed.
  • process.post: Notify that a POST was successfully processed
  • process.valid: Notify that a POST is processed with valid result.
  • process.invalid: Notify that a POST is processed with invalid result.
  • processed: Notify that process was finished.
Clone this wiki locally