8 namespace Fossology\Lib\Data\Upload;
29 return new UploadProgress(intval($row[
'upload_pk']), $row[
'upload_filename'],
30 $row[
'upload_desc'], $row[
'uploadtree_tablename'],
31 strtotime($row[
'upload_ts']), intval($row[
'group_fk']),
32 intval($row[
'assignee']), intval($row[
'status_fk']),
33 $row[
'status_comment']);
43 public function __construct($id, $filename, $description, $treeTableName, $timestamp, $groupId, $assignee, $status, $comment)
45 $this->groupId = $groupId;
46 $this->assignee = $assignee;
47 $this->status = $status;
48 $this->commen = $comment;
50 parent::__construct($id, $filename, $description, $treeTableName, $timestamp);
58 return $this->groupId;
66 return $this->assignee;
83 return $status->getTypeName($this->status);
91 return $this->comment;
__construct($id, $filename, $description, $treeTableName, $timestamp, $groupId, $assignee, $status, $comment)
static createFromTable($row)