mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
admin add claim
This commit is contained in:
@@ -7,4 +7,12 @@ trait OptionsTrait
|
||||
private static array $matchTypes = ['dec' => 'dec', 'hex' => 'hex'];
|
||||
|
||||
private static array $yesOrNo = ['yes' => 'yes', 'no' => 'no'];
|
||||
|
||||
private static function getEnableDisableOptions($enableValue = 0, $disableValue = 1): array
|
||||
{
|
||||
return [
|
||||
$enableValue => __('label.enabled'),
|
||||
$disableValue => __('label.disabled'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user