chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Component/Utils/StateIcon.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/* For licensing terms, see /license.txt */

declare(strict_types=1);

namespace Chamilo\CoreBundle\Component\Utils;

enum StateIcon: string
{
    // Public
    case PUBLIC_VISIBILITY = 'eye';
    // Open
    case OPEN_VISIBILITY = 'eye-outline';
    // Private
    case PRIVATE_VISIBILITY = 'eye-off';
    // Closed
    case CLOSED_VISIBILITY = 'eye-off-outline';
    // Hidden
    case HIDDEN_VISIBILITY = 'eye-closed';
    // Active / Visible
    case ACTIVE = 'toggle-switch';
    // Inactive / Invisible
    case INACTIVE = 'toggle-switch-off-outline';
    // Expired
    case EXPIRED = 'timer-alert-outline';
    // Error
    case ERROR = 'alert-circle';
    // Warning
    case WARNING = 'alert';
    // Complete/Success
    case COMPLETE = 'check-circle';
    // Incomplete/Failure
    case INCOMPLETE = 'close-circle';
    // Notification/Alert by mail
    case MAIL_NOTIFICATION = 'email-alert';
    // Shared setting (for multi-url) (previously an eye in a window)
    case SHARED_VISIBILITY = 'briefcase-eye';
    // Checkbox marked
    case CHECKBOX_MARKED = 'checkbox-marked-outline';
    // Checkbox empty
    case CHECKBOX_BLANK = 'checkbox-blank-outline';
    // Checkbox intermediate 1
    case CHECKBOX_INTERMEDIATE1 = 'checkbox-intermediate';
    // Checkbox intermediate 2
    case CHECKBOX_INTERMEDIATE2 = 'checkbox-intermediate-variant';
    // Checkbox intermediate 3
    case CHECKBOX_INTERMEDIATE3 = 'checkbox-blank-off-outline';
    // Radiobox marked
    case RADIOBOX_MARKED = 'radiobox-marked';
    // Radiobox empty
    case RADIOBOX_BLANK = 'radiobox-blank';
    // List view (as opposed to detailed_view)
    case LIST_VIEW = 'format-list-bulleted';
    // Detailed view (as opposed to list_view)
    case DETAILED_VIEW = 'format-list-text';
    // Nested view
    case NESTED_VIEW = 'filter-variant';
    // Online (for a user)
    case ONLINE = 'account-check';
    // Offline (for a user)
    case OFFLINE = 'account-off';
    // Soft deleted (for a user)
    case REJECT = 'cancel';
}