id = $id; parent::__construct('No Activity: '.$this->id); } /** * 取得輸入的標的ID * @return int 標的ID */ public function getId() { return $this->id; } }