<p><b>Custom Event</b></p>
<p>Custom Events are used to generate an event whenever the API function <i>monitor_custom_event()</i> is called from a PHP script.<br><br>
This event type enables to generate an event on occurrences that are not necessarily built-in Zend Platform events (error and performance issues). Custom Events are used whenever you decide that it is significant to generate an event in a certain situation. Each event type is given a name for easy identification (<i>$type</i>).</p>
<p>Function usage:<br>
<i>void monitor_custom_event(string $type, string $text[, integer $severe, mixed $user_data])</i>
<ul><li><i>$type</i> - the custom event description, this description will be showed in the Alert Window and in the Event Report.</li>
<li><i>$text</i> - an error text that is used to describe the reason for the event, can be viewed in the Event Report.</li>
<li><i>$severe</i> - the severity level of the triggered event, default value is Severe.</li>
<li><i>$user_data</i> - add a PHP variable that will be viewed in the Event Report (in Event Data-> Variables->User Defined).</li></ul></p>