* @author Dennis Eichhorn * @copyright 2013 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 * @author Dennis Eichhorn * @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_MOVABLE = -7; const FAILED_HASHING = -8; }