<?php
/**
 * SLIDER SETTINGS - PERMISSION ENFORCEMENT MODULE
 */
require_once __DIR__ . '/admin_page_header.php';
class EnforceManageSliderSettings {
    const FEATURE = 'manage_slider_settings';
    public static function guardPage() { AdminPageHeader::requirePage(self::FEATURE); }
    public static function guardAction($action) { AdminPageHeader::requireAction(self::FEATURE, $action); }
    public static function capabilities() { return AdminPageHeader::getGuard(self::FEATURE)->getCapabilities(); }
    public static function can($action) { return AdminPageHeader::can(self::FEATURE, $action); }
    public static function level() { return AdminPageHeader::getLevel(self::FEATURE); }
}
?>
