GlobalSettingEnum.php 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?php
  2. namespace MGModule\DNSManager2\models\custom\globalsetting;
  3. use MGModule\DNSManager2\mgLibs\custom;
  4. class GlobalSettingEnum extends custom\BasicEnumAbstract
  5. {
  6. const DEFAULT_TEMPLATE = 'default_template';
  7. const CLIENT_TEMPLATE_SWITCH = 'client_template_switch';
  8. const LINK_TO_DNS_MANAGER = 'link_to_dns_management';
  9. const DELETE_LOGS_OLDER_THAN = 'delete_logs_older_than';
  10. const DELETE_NOTIFICATIONS_OLDER_THAN = 'delete_notifications_older_than';
  11. const LOG_SUCCESSFUL_ACTIONS = 'log_successful_actions';
  12. const LOG_ZONE_ACTIONS = 'log_zone_actions';
  13. const CLIENT_NOTIFICATION_ZONE_CREATED = 'client_notification_zone_created';
  14. const CLIENT_NOTIFICATION_ZONE_ALTERED = 'client_notification_zone_altered';
  15. const CLIENT_NOTIFICATION_ZONE_REMOVED = 'client_notification_zone_removed';
  16. const ADMIN_NOTIFICATION_CRON_SYNCHRONIZATOR = 'admin_notification_cron_synchronizator';
  17. const ADMIN_NOTIFICATION_CRON_MIGRATOR = 'admin_notification_cron_migrator';
  18. const ADMIN_NOTIFICATION_CRON_CLEANER = 'admin_notification_cron_cleaner';
  19. const CRON_MIGRATION_RUN_EACH = 'cron_migration_run_each';
  20. const CRON_MIGRATION_ZONES_PER_RUN = 'cron_migration_zones_per_run';
  21. const CRON_IMPORT_RUN_EACH = 'cron_import_run_each';
  22. const CRON_IMPORT_ZONES_PER_RUN = 'cron_import_zones_per_run';
  23. const CRON_SYNC_RUN_EACH = 'cron_sync_run_each';
  24. const CRON_SYNC_ZONES_PER_RUN = 'cron_sync_zones_per_run';
  25. const CRON_SYNC_RECHECK_ZONES = 'cron_sync_recheck_zones';
  26. const CRON_CLEANER_RUN_EACH= 'cron_cleaner_run_each';
  27. const CRON_CLEANER_ZONES_PER_RUN = 'cron_cleaner_zones_per_run';
  28. const CRON_CLEANER_ZONE_NO_PACKAGE_MATCH = 'cron_cleaner_zone_no_package_match';
  29. const CRON_CLEANER_ZONE_UNMODIFIED_LONGER_THAN = 'cron_cleaner_zone_unmodified_longer_than';
  30. const CRON_CLEANER_ZONE_DOMAIN_NOT_EXIST = 'cron_cleaner_zone_domain_not_exist';
  31. const CRON_CLEANER_ZONE_AT_LEAST_ONE = 'cron_cleaner_zone_at_least_one';
  32. const CRON_CLEANER_PTR_SERVICE_TERMINATED_CANCELED = 'cron_cleaner_ptr_service_terminated_canceled';
  33. const CRON_CLEANER_PTR_SERVICE_CANCELED = 'cron_cleaner_ptr_service_cancelled';
  34. const CRON_CLEANER_PTR_SERVICE_TERMINATED = 'cron_cleaner_ptr_service_terminated';
  35. const CRON_CLEANER_PTR_SERVICE_SUSPENDED = 'cron_cleaner_ptr_service_suspended';
  36. const PREVENT_ZONE_DELETE_AFTER_TERMINATE = 'prevent_zone_delete_after_terminate';
  37. const DO_NOT_REMOVE_EMPTY_PTR_ZONES = 'do_not_remove_empty_ptr_zones';
  38. const SHOW_PRODUCT_NAME = 'show_product_name';
  39. const CRON_BACKUP_RUN_EACH = 'cron_backup_run_each';
  40. const CRON_BACKUP_DELETE_AFTER = 'cron_backup_delete_after';
  41. const CRON_BACKUP_LIMIT = 'cron_backup_limit';
  42. const CLIENT_NOTIFICATION_ZONE_CREATED_EXCLUDE = 'client_notification_zone_created_exclude';
  43. const CLIENT_NOTIFICATION_ZONE_ALTERED_EXCLUDE = 'client_notification_zone_altered_exclude';
  44. const CLIENT_NOTIFICATION_ZONE_REMOVED_EXCLUDE = 'client_notification_zone_removed_exclude';
  45. const ADMIN_NOTIFICATION_CRON_SYNCHRONIZATOR_INCLUDE = 'admin_notification_cron_synchronizator_include';
  46. const ADMIN_NOTIFICATION_CRON_MIGRATOR_INCLUDE = 'admin_notification_cron_migrator_include';
  47. const ADMIN_NOTIFICATION_CRON_CLEANER_INCLUDE = 'admin_notification_cron_cleaner_include';
  48. const CRON_RUN_TIME_PERIOD = 'cron_run_time_period';
  49. const CRON_LAST_RUN = 'cron_last_run';
  50. const CRON_MIGRATOR_LAST_RUN = 'cron_migrator_last_run';
  51. const CRON_IMPORTER_LAST_RUN = 'cron_importer_last_run';
  52. const CRON_SYNC_LAST_RUN = 'cron_sync_last_run';
  53. const CRON_CLEANER_LAST_RUN = 'cron_cleaner_last_run';
  54. const CRON_CLEANER_LAST_ID = 'cron_cleaner_last_id';
  55. const CRON_SYNC_LAST_ID = 'cron_sync_last_id';
  56. const TUTORIAL_DISABLED = 'tutorial_disabled';
  57. const CRON_SYNC_NOTIFY_ONLY = 'cron_sync_notify_only';
  58. const CRON_CLEANER_NOTIFY_ONLY = 'cron_cleaner_notify_only';
  59. const SERVICE_ONLY_IPS = 'service_only_ips';
  60. const RDNS_SUBNET_CUSTOM_IP = 'rdns_subnet_custom_ip';
  61. const RDNS_CUSTOM_IP = 'rdns_custom_ip';
  62. const EMPTY_POST_FIX = 'empty_post_fix';
  63. const OWNED_DOMAINS_ONLY = 'owned_domains_only';
  64. const ZONE_CREATE_CUSTOM_IP = 'zone_create_custom_ip';
  65. const IMPORT_AUTOCHECK_MATCHES = 'auto_check_matches_on_import';
  66. const CRON_CLEANER_ZONE_INACTIVE_SERVICES = 'cron_cleaner_no_active_service';
  67. const CRON_CLEANER_ZONE_INACTIVE_DOMAINS = 'cron_cleaner_no_active_domains';
  68. const LINK_TO_DNS_SETS_MANAGER = 'link_to_dns_sets_management';
  69. const LINK_TO_CLIENTAREA_IMPORT_EXPORT = 'link_to_clientarea_import_export';
  70. const SOA_IS_NOT_NS_STATUS = 'soa_is_not_ns_status';
  71. const WHOIS_MISSING_STATUS = 'whois_missing_status';
  72. const IS_OK_STATUS = 'is_ok_status';
  73. const IS_PENDING_STATUS = 'is_pending_status';
  74. const SOA_IS_NOT_NS_STATUS_TEXT = 'soa_is_not_ns_status_text';
  75. const WHOIS_MISSING_STATUS_TEXT = 'whois_missing_status_text';
  76. const IS_OK_STATUS_TEXT = 'is_ok_status_text';
  77. const IS_PENDING_STATUS_TEXT = 'is_pending_status_text';
  78. const DNS_BLOCKED_STRINGS = 'dns_blocked_strings';
  79. const RDNS_BLOCKED_STRINGS = 'rdns_blocked_strings';
  80. const USE_RDNS_BLOCKED_SAME_AS_FOR_DNS = 'use_rdns_blocked_same_as_for_dns';
  81. const BLOCKED_STRINGS_EXCLUDED_CLIENTS = 'blocked_strings_excluded_clients';
  82. const IMPORT_ACTIVE_SERVICES = 'active_services_on_import';
  83. const IMPORT_ACTIVE_USERS = 'active_users_on_import';
  84. const IMPORT_PRIORITY = 'import_priority';
  85. const RDNS_IN_CLIENTAREA = 'clientarea_rdns';
  86. const CLIENTAREA_RNDS_ONLY = 'clientarea_rdns_only';
  87. const CLIENTAREA_RNDS_BLOCK = 'clientarea_rdns_block';
  88. const CLIENTAREA_IMPORT_EXPORT_LIMIT = 'clientarea_import_export_limit';
  89. const DOMAIN_ITEM_OPTION = 'domainItemOptions';
  90. const PRODUCT_ITEM_OPTION = 'productItemOptions';
  91. const ADDON_ITEM_OPTION = 'addonItemOptions';
  92. const OTHER_ITEM_OPTION = 'otherItemOptions';
  93. const EXCLUDE_USED_ZONE_FROM_OPTIONS = 'excludeUsedZoneFromOptions';
  94. const SHOW_NAMESERVERS = 'showNameservers';
  95. const SHOW_DNSMANAGERBUTTON = 'showDnsManagerButton';
  96. const SHOW_FULL_RECORD_NAME = 'show_full_record_name';
  97. }