mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-01-11 17:08:40 +00:00
44 lines
1.0 KiB
PHP
44 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.0
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @author OMS Development Team <dev@oms.com>
|
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://orange-management.com
|
|
*/
|
|
namespace Modules\Media\Models;
|
|
|
|
use phpOMS\Datatypes\Enum;
|
|
|
|
/**
|
|
* Upload status.
|
|
*
|
|
* @category Framework
|
|
* @package phpOMS\DataStorage\Database
|
|
* @author OMS Development Team <dev@oms.com>
|
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
* @license OMS License 1.0
|
|
* @link http://orange-management.com
|
|
* @since 1.0.0
|
|
*/
|
|
abstract class UploadStatus extends Enum
|
|
{
|
|
const OK = 0;
|
|
const WRONG_PARAMETERS = -1;
|
|
const NOTHING_UPLOADED = -2;
|
|
const UPLOAD_SIZE = -3;
|
|
const UNKNOWN_ERROR = -4;
|
|
const CONFIG_SIZE = -5;
|
|
const WRONG_EXTENSION = -6;
|
|
const NOT_UPLOADED = -7;
|
|
const NOT_MOVABLE = -8;
|
|
const FAILED_HASHING = -9;
|
|
}
|