FOSSology  4.4.0
Open Source License Compliance by Open Source Software
UploadStatus.php
1 <?php
2 /*
3  SPDX-FileCopyrightText: © 2014 Siemens AG
4 
5  SPDX-License-Identifier: GPL-2.0-only
6 */
7 
8 namespace Fossology\Lib\Data;
9 
10 class UploadStatus extends Types
11 {
12  const OPEN = 1;
13  const IN_PROGRESS = 2;
14  const CLOSED = 3;
15  const REJECTED = 4;
16 
17  public function __construct()
18  {
19  parent::__construct("upload status type");
20 
21  $this->map = array(
22  self::OPEN => "open",
23  self::IN_PROGRESS => "in progress",
24  self::CLOSED => "closed",
25  self::REJECTED => "rejected"
26  );
27  }
28 }