����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Copyright (с) Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2025 All Rights Reserved
*
* Licensed under CLOUD LINUX LICENSE AGREEMENT
* https://www.cloudlinux.com/legal/
*/
namespace CloudLinux\Imunify\App\Model;
/**
* Feature status enum-like class.
*/
class FeatureStatus {
/**
* Feature is enabled.
*
* @var string
*/
const ENABLED = 'ENABLED';
/**
* Feature is disabled.
*
* @var string
*/
const DISABLED = 'DISABLED';
/**
* Get all possible status values.
*
* @return array<string>
*/
public static function getAll() {
return array(
self::ENABLED,
self::DISABLED,
);
}
/**
* Check if a status value is valid.
*
* @param string $status Status to check.
*
* @return bool
*/
public static function isValid( $status ) {
return in_array( $status, self::getAll(), true );
}
/**
* Get the default status.
*
* @return string
*/
public static function getDefault() {
return self::DISABLED;
}
/**
* Get the translated label for a status value.
*
* @param string $status Status value.
*
* @return string
*/
public static function getLabel( $status ) {
switch ( $status ) {
case self::ENABLED:
return esc_html__( 'Enabled', 'imunify-security' );
case self::DISABLED:
return esc_html__( 'Disabled', 'imunify-security' );
default:
return '';
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| .htaccess | File | 0 B | 0644 |
|
| Feature.php | File | 2.25 KB | 0644 |
|
| FeatureStatus.php | File | 1.35 KB | 0644 |
|
| FeatureType.php | File | 3.38 KB | 0644 |
|
| MalwareItem.php | File | 4.78 KB | 0644 |
|
| ScanData.php | File | 3.68 KB | 0644 |
|