Exemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $a = func_get_args();
     $owner = array_shift($a);
     $this->owner = $owner;
     if (!isset($owner->data['events'])) {
         $owner->data['events'] = array();
     }
     $this->events =& $owner->data['events'];
     array_splice($this->eventnames, count($this->eventnames), 0, $a);
 }