8 namespace Fossology\Lib\Data\Upload;
17 protected $description;
19 protected $treeTableName;
29 return new Upload(intval($row[
'upload_pk']), $row[
'upload_filename'],
30 $row[
'upload_desc'], $row[
'uploadtree_tablename'],
31 strtotime($row[
'upload_ts']));
41 public function __construct($id, $filename, $description, $treeTableName, $timestamp)
44 $this->filename = $filename;
45 $this->description = $description;
46 $this->treeTableName = $treeTableName;
47 $this->timestamp = $timestamp;
55 return $this->description;
63 return $this->filename;
79 return $this->treeTableName;
87 return $this->timestamp;
static createFromTable($row)
__construct($id, $filename, $description, $treeTableName, $timestamp)