Documentation

MessageHandler

MessageHandler class for handling forum posts.



MethodDescription
__constructMessageHandler class constructor.
afterDeleteTriggerCalled after deleting a database entry.
afterInsertTriggerCalled after entering new database entry.
afterUpdateTriggerCalled after database update.
afterWriteMissingCalled after registering a missing entry.
beforeInsertTriggerCalled before entering a new database entry.
beforeLogFormatCalled before formatting an entry to be logged.
beforeLogInsertCalled before logging. When returns false on failed logging.
beforeUpdateTriggerCalled before updating a database entry.
initDataManagerEventsRegisters event handlers for the following database operations: adding, updating or deleting.
onAfterMessageAddHandler for the event onAfterMessageAdd.
onAfterMessageDeleteHandler for the event onAfterMessageDelete.
onAfterMessageUpdateHandler for the event onAfterMessageUpdate.
onBeforeMessageDeleteHandler for the event onBeforeMessageDelete.
onBeforeMessageUpdateHandler for the event onBeforeMessageUpdate.


© «Bitrix24», 2001-2024
Up