PluginProbe
Inactive Logout / trunk
Inactive Logout vtrunk
3.6.3 trunk 1.9.9 2.0.2 3.3.1 3.3.2 3.3.3 3.3.4 3.4.0 3.4.1 3.4.10 3.4.11 3.4.12 3.4.13 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.5.0 3.5.1 3.5.2 All 31 releases
inactive-logout / core / Requests / RoleBasedSettingRequests.php

RoleBasedSettingRequests.php in Inactive Logout trunk, at core/Requests/RoleBasedSettingRequests.php

22 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Codemanas\InactiveLogout\Requests;
4
5 class RoleBasedSettingRequests {
6
7 /**
8 * Get main general settings data.
9 *
10 * @return array
11 */
12 public static function get(): array {
13 return [
14 'ina_enable_different_role_timeout' => filter_input( INPUT_POST, 'ina_enable_different_role_timeout' ),
15 'ina_multiuser_roles' => filter_input( INPUT_POST, 'ina_multiuser_roles', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ),
16 'ina_individual_user_timeout' => filter_input( INPUT_POST, 'ina_individual_user_timeout', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ),
17 'ina_redirect_page_individual_user' => filter_input( INPUT_POST, 'ina_redirect_page_individual_user', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ),
18 'ina_disable_inactive_logout' => filter_input( INPUT_POST, 'ina_disable_inactive_logout', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ),
19 'ina_disable_inactive_concurrent_login' => filter_input( INPUT_POST, 'ina_disable_inactive_concurrent_login', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ),
20 ];
21 }
22 }