コード例 #1
0
ファイル: kernel.php プロジェクト: laiello/litepublisher
 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);
 }