| /plugin/findologicxmlexport/vendor/jms/serializer/src/Exclusion/ |
| D | GroupsExclusionStrategy.php | 19 private $groups = []; variable in JMS\\Serializer\\Exclusion\\GroupsExclusionStrategy 26 public function __construct(array $groups) argument 28 if (empty($groups)) { 29 $groups = [self::DEFAULT_GROUP]; 32 foreach ($groups as $group) { 40 $this->groups = $groups; 42 foreach ($groups as $group) { 43 $this->groups[$group] = true; 62 $groups = $this->getGroupsFor($navigatorContext); 64 if (!$property->groups) { [all …]
|
| /plugin/bez/mdl/ |
| H A D | UserFactory.php | 26 $groups = explode(',', $groups_s); 28 foreach($groups as &$group) { 32 return $groups; 38 $groups = array(); 40 $groups = array_merge($groups, $data['grps']); 42 $groups = array_unique($groups); 44 $groups = array_diff($groups, $this->get_hidden_groups()); 46 sort($groups); 48 return $groups; 51 public function users_of_group($groups) { argument [all …]
|
| /plugin/structgroup/helper/ |
| D | authgroup.php | 11 protected $groups = array(); variable in helper_plugin_structgroup_authgroup 18 $groups = []; 31 $groups[] = $grp; 34 return array_unique($groups); 46 … $groups = array_map(function($userinfo) { return $userinfo['grps']; }, $auth->retrieveUsers()); 47 $groups = call_user_func_array('array_merge', $groups); 48 $groups = array_merge($groups, $this->loadGroupsFromAcl()); 50 $this->groups = array_unique($groups); 59 $groups = $this->groups; 60 if ($filter != '') $groups = array_filter($groups, function ($group) use ($filter) { [all …]
|
| /plugin/structgroup8/helper/ |
| D | authgroup.php | 11 protected $groups = array(); variable in helper_plugin_structgroup_authgroup 18 $groups = []; 31 $groups[] = $grp; 34 return array_unique($groups); 46 … $groups = array_map(function($userinfo) { return $userinfo['grps']; }, $auth->retrieveUsers()); 47 $groups = call_user_func_array('array_merge', array_values($groups)); 48 $groups = array_merge($groups, $this->loadGroupsFromAcl()); 50 $this->groups = array_unique($groups); 59 $groups = $this->groups; 60 if ($filter != '') $groups = array_filter($groups, function ($group) use ($filter) { [all …]
|
| /plugin/virtualgroup/ |
| D | VirtualGroups.php | 45 foreach ($config as $user => $groups) { 46 if (in_array($group, $groups)) { 62 $groups = []; 65 if (!isset($groups[$group])) { 66 $groups[$group] = []; 68 $groups[$group][] = $user; 71 ksort($groups); 72 return $groups; 94 * @param string[] $groups 97 public function addGroupsToUser($user, $groups) argument [all …]
|
| D | admin.php | 73 * @param string $groups comma separated list of groups 76 protected function addUserGroups($user, $groups) argument 82 $groups = array_unique(array_map( 84 explode(',', $groups) 87 if ($user && $groups) { 88 $this->virtualGroups->addGroupsToUser($user, $groups); 155 * @param string $groups comma separated list of groups 158 protected function editUserGroups($user, $groups) argument 164 $groups = array_unique(array_map( 166 explode(',', $groups) [all …]
|
| /plugin/aclregex/ |
| D | action.php | 45 $groups = $event->data['groups']; // @var string[] $groups 76 if (! is_array($groups)) $groups = array(); 79 if (auth_isadmin($user, $groups)) { 88 $groups = array_map('utf8_strtolower', $groups); 91 $groups = array_map(array($auth, 'cleanGroup'), (array) $groups); 94 foreach ($groups as &$group) { 99 $groups[] = '@ALL'; 102 if ($user) $groups[] = $user; 149 …$line_permission = $this->_check_permission($groups, $acl_parts['subject'], $acl_parts['permission… 182 …$line_permission = $this->_check_permission($groups, $acl_parts['subject'], $acl_parts['permission… [all …]
|
| /plugin/sneakyindexfix/ |
| D | action.php | 39 $groups = & $data['groups']; 55 if(!is_array($groups)) $groups = array(); 59 $groups = array_map('utf8_strtolower', $groups); 62 $groups = array_map(array($auth, 'cleanGroup'), (array) $groups); 66 foreach($groups as &$group) { 74 $groups[] = '@ALL'; 77 if($user) $groups[] = $user; 89 if(!in_array($acl[1], $groups)) {
|
| /plugin/authdjango/ |
| D | auth.php | 111 $groups = $this->_getUserGroups($username); 120 $groups[] = 'admin'; 122 $USERINFO['grps'] = $groups; 139 $groups = []; 141 $groups[] = $row[0]; 144 if (!in_array("user", $groups)) { 145 $groups[] = "user"; 148 return $groups; 156 $groups = []; 158 $groups[] = $row[0]; [all …]
|
| /plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/ |
| D | check_acl.php | 44 * @param array $groups Array of groups the user is in 47 function auth_aclcheck($id,$user,$groups, $_auth=1){ argument 58 if(!is_array($groups)) $groups = array(); 62 $groups = array_map('utf8_strtolower', $groups); 65 $groups = array_map('auth_cleanGroup', (array) $groups); 69 $cnt = count($groups); 71 $groups[$i] = '@'.auth_nameencode($groups[$i]); 77 if($user || count($groups)) { 79 $groups[] = '@ALL'; 81 if($user) $groups[] = $user; [all …]
|
| /plugin/ckgdoku/fckeditor/editor/filemanager/connectors/php/ |
| D | check_acl.php | 44 * @param array $groups Array of groups the user is in 47 function auth_aclcheck($id,$user,$groups, $_auth=1){ argument 58 if(!is_array($groups)) $groups = array(); 62 $groups = array_map('utf8_strtolower', $groups); 65 $groups = array_map('auth_cleanGroup', (array) $groups); 69 $cnt = count($groups); 71 $groups[$i] = '@'.auth_nameencode($groups[$i]); 77 if($user || count($groups)) { 79 $groups[] = '@ALL'; 81 if($user) $groups[] = $user; [all …]
|
| /plugin/aclplusregex/_test/ |
| D | AclTest.php | 69 * @param string[] $groups 72 public function testFullChain($id, $user, $groups, $expected) argument 80 $act->loadACLRules($user, $groups) 135 * @param string[] $groups 138 public function testFullChainNsRegex($id, $user, $groups, $expected) argument 146 $act->loadACLRules($user, $groups) 253 * @param string[] $groups 256 public function testLoadACLRules($user, $groups, $expect) argument 259 $this->assertEquals($expect, $act->loadACLRules($user, $groups));
|
| /plugin/pureldap/classes/ |
| H A D | GroupHierarchyCache.php | 61 $groups = $this->getGroupList(); 62 file_put_contents($cachename, json_encode($groups, JSON_THROW_ON_ERROR)); 63 return $groups; 77 $groups = []; 83 return $groups; // return what we have 88 $groups[$dn] = []; 91 $groups[$dn]['parents'] = $parents; 93 $groups[$parent]['children'][] = $dn; 98 return $groups;
|
| /plugin/authnc/ |
| D | auth.php | 100 $groups = array(); 101 foreach ($xml->data->groups->element as $grp) { 102 $groups[] = (string)$grp; 107 $USERINFO['grps'] = $groups; 263 $groups = array(); 264 foreach ($xml->data->groups->element as $grp) { 265 $groups[] = (string)$grp; 267 $usr['grps'] = $groups; 324 if (! $xml || ! $xml->data->groups) { 328 $groups = array(); [all …]
|
| /plugin/authgooglesheets/vendor/google/apiclient-services/src/Sheets/ |
| D | Editors.php | 30 public $groups; variable in Google\\Service\\Sheets\\Editors 53 public function setGroups($groups) argument 55 $this->groups = $groups; 62 return $this->groups;
|
| D | ManualRule.php | 29 public function setGroups($groups) argument 31 $this->groups = $groups; 38 return $this->groups;
|
| /plugin/oauth/action/ |
| H A D | user.php | 72 $groups = $USERINFO['grps']; //current groups 75 $groups = $event->data['params'][1]['grps']; 86 $groups[] = $service; 88 $idx = array_search($service, $groups); 89 if ($idx !== false) unset($groups[$idx]); 92 $groups = array_unique($groups); 95 $event->data['params'][1]['grps'] = $groups;
|
| /plugin/authshibboleth/plugin/authshibboleth/ |
| D | auth.php | 132 $groups = array_values(array_filter(explode(",", $row[3]))); 135 $this->users[$row[0]]['grps'] = $groups; 398 $groups = join(',',$userInfo['grps']); 399 … $userline = join(':',array($userInfo['uid'], $userInfo['name'], $userInfo['mail'], $groups))."\n"; 569 $groups = array(); 573 $groups[] = $defaultGroup; 591 $groups = array_merge($groups, $sourceGroups); 598 $this->log(sprintf("Resolved groups: %s", implode(', ', $groups))); 600 return $groups; 613 $groups = array(); [all …]
|
| /plugin/pureldap/_test/ |
| H A D | ADClientTest.php | 122 $groups = $client->getGroups(); 123 $this->assertGreaterThan(3, count($groups)); 124 $this->assertContains('alpha', $groups); 125 $this->assertContains('beta', $groups); 126 $this->assertContains('gamma nested', $groups); 127 $this->assertContains('domain users', $groups); 138 $groups = $client->getGroups('alpha', ADClient::FILTER_EQUAL); 139 $this->assertCount(1, $groups); 140 $this->assertSame(['alpha'], array_values($groups));
|
| /plugin/evesso/ |
| D | helper.php | 136 * @param array $groups 140 public function inGroup($groups, $names, $empty = true) { argument 153 if (in_array($validGroup, $groups, true)) { 160 * @param array $groups 164 public function checkGroups($groups) { argument 165 if (in_array('admin', $groups, true)) { //Always allow admins 173 if ($this->inGroup($groups, $require)) {
|
| /plugin/fckg/fckeditor/editor/filemanager/connectors/php/ |
| D | check_acl.php | 38 * @param array $groups Array of groups the user is in 41 function auth_aclcheck($id,$user,$groups, $_auth=1){ argument 52 if(!is_array($groups)) $groups = array(); 62 $cnt = count($groups); 64 $groups[$i] = '@'.auth_nameencode($groups[$i]); 70 if($user || count($groups)){ 72 $groups[] = '@ALL'; 74 if($user) $groups[] = $user; 76 $regexp = join('|',$groups);
|
| /plugin/authplaincas/ |
| D | plaincas.settings.php | 8 $groups = array( 13 return $groups; 50 $groups = array( 55 return $groups;
|
| /plugin/goto/ |
| D | action.php | 48 $groups = $this->getConf('group'); 49 $groups = preg_replace("/\s+/","",$groups); 50 $groups = explode(',',$groups); 52 foreach($groups as $grp) {
|
| /plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/ |
| D | TestSuite.php | 59 protected $groups = []; variable in PHPUnit_Framework_TestSuite 206 * @param array $groups 208 public function addTest(PHPUnit_Framework_Test $test, $groups = []) argument 217 empty($groups)) { 218 $groups = $test->getGroups(); 221 if (empty($groups)) { 222 $groups = ['default']; 225 foreach ($groups as $group) { 226 if (!isset($this->groups[$group])) { 227 $this->groups[$group] = [$test]; [all …]
|
| /plugin/htmlokay/ |
| D | helper.php | 18 var $groups; variable in helper_plugin_htmlOKay 112 $this->groups = $this->saved_inf['group']; 179 if (isset($this->groups) && !empty($this->groups)) 181 $groups = array_keys($this->groups); 183 $groups_found = $this->in_groups($INF0_groups, $groups); 235 $group_level = $this->get_permission_level($groups_found, $this->groups); 297 function in_groups($INF0_groups, $groups) argument 306 if (array_search ($grp, $groups) !== false)
|