Source for file event.class.php
Documentation is available at event.class.php
// *** Tangra (Application Framework and Tools for PHP)
* Base class for Event classes family.
* @see Web_Event, Web_Event_Simple
* @param string $name - name of the event
if (ereg("^[a-z]{1}[a-z0-9_]{0,40}$", $name)) {
throw new Tangra_Exception('Invalid event name: '. $name. '. Must be alphanumeric, starting with letter, underscore allowed.');
|