ConfigPress.php
1 year ago
Content.php
1 year ago
Core.php
1 year ago
Manager.php
1 year ago
Multisite.php
1 year ago
Security.php
1 year ago
Service.php
1 year ago
Manager.php
43 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * ====================================================================== |
| 5 | * LICENSE: This file is subject to the terms and conditions defined in * |
| 6 | * file 'license.txt', which is part of this source code package. * |
| 7 | * ====================================================================== |
| 8 | */ |
| 9 | |
| 10 | /** |
| 11 | * Backend Settings area abstract manager |
| 12 | * |
| 13 | * @package AAM |
| 14 | * @version 7.0.0 |
| 15 | */ |
| 16 | class AAM_Backend_Feature_Settings_Manager extends AAM_Backend_Feature_Abstract |
| 17 | { |
| 18 | |
| 19 | /** |
| 20 | * Default access capability to the settings tab |
| 21 | * |
| 22 | * @version 7.0.0 |
| 23 | */ |
| 24 | const ACCESS_CAPABILITY = 'aam_manage_settings'; |
| 25 | |
| 26 | /** |
| 27 | * Register settings UI manager |
| 28 | * |
| 29 | * @return void |
| 30 | * @access public |
| 31 | * |
| 32 | * @version 7.0.0 |
| 33 | */ |
| 34 | public static function register() |
| 35 | { |
| 36 | AAM_Backend_Feature::registerFeature((object) array( |
| 37 | 'capability' => self::ACCESS_CAPABILITY, |
| 38 | 'type' => 'core', |
| 39 | 'view' => __CLASS__ |
| 40 | )); |
| 41 | } |
| 42 | |
| 43 | } |