28 protected $description;
30 protected $treeTableName;
40 return new Upload(intval($row[
'upload_pk']), $row[
'upload_filename'],
41 $row[
'upload_desc'], $row[
'uploadtree_tablename'],
42 strtotime($row[
'upload_ts']));
52 public function __construct($id, $filename, $description, $treeTableName, $timestamp)
55 $this->filename = $filename;
56 $this->description = $description;
57 $this->treeTableName = $treeTableName;
58 $this->timestamp = $timestamp;
66 return $this->description;
74 return $this->filename;
90 return $this->treeTableName;
98 return $this->timestamp;
static createFromTable($row)
__construct($id, $filename, $description, $treeTableName, $timestamp)