Views: 8395
Last Modified: 12.09.2014

This chapter describes some examples of work with events.

System actions mainly deal with three types of events:

  • OnBefore;
  • On;
  • OnAfter.

It is important to know which type should be used in your specific case. OnBefore events are executed in any case. But OnAfter events are executed only when data entered have been verified (consistency of password, e-mail, etc.). Accordingly, if something is wrong with the data, the event will not be executed.

Courses developed by Bitrix24