40 return new UploadProgress(intval($row[
'upload_pk']), $row[
'upload_filename'],
41 $row[
'upload_desc'], $row[
'uploadtree_tablename'],
42 strtotime($row[
'upload_ts']), intval($row[
'group_fk']),
43 intval($row[
'assignee']), intval($row[
'status_fk']),
44 $row[
'status_comment']);
54 public function __construct($id, $filename, $description, $treeTableName, $timestamp, $groupId, $assignee, $status, $comment)
56 $this->groupId = $groupId;
57 $this->assignee = $assignee;
58 $this->status = $status;
59 $this->commen = $comment;
61 parent::__construct($id, $filename, $description, $treeTableName, $timestamp);
69 return $this->groupId;
77 return $this->assignee;
94 return $status->getTypeName($this->status);
102 return $this->comment;
static createFromTable($row)
__construct($id, $filename, $description, $treeTableName, $timestamp, $groupId, $assignee, $status, $comment)