[admin] torrent add more bulk action

This commit is contained in:
xiaomlove
2022-10-02 21:14:11 +08:00
parent cdaec9bc62
commit bb000fb67a
28 changed files with 313 additions and 28 deletions

View File

@@ -15,4 +15,12 @@ trait OptionsTrait
$disableValue => __('label.disabled'),
];
}
private static function getYesNoOptions($yesValue = 1, $noValue = 0): array
{
return [
$yesValue => 'Yes',
$noValue => 'No',
];
}
}