Esempio n. 1
0
 /**
  * The Generic Event Constructor
  * 
  * This is implements an event, setting all the necessary fields
  * 
  * @param object $target The target of the event
  * @param string $function The function/method generating the event
  * @param string $class The class name generating the event if applicable
  * @param string $namespace The namespace of the generating point
  * @param mixed $data Any data associated with the event
  * @param array $tags An array of strings associating the event with a set of tags
  * @param array $cats An array of strings associating the event with a set of categories
  * @param array $options
  * 
  */
 public function __construct($target, $function, $class, $namespace, $data = null, array $tags = array(), array $cats = array())
 {
     parent::__construct($target, $function, $class, $namespace, $data, $tags, $cats);
     $this->identityPrefix = 'GenericEvent';
     $this->setIdentifier();
 }