aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/include/modules/session/search
diff options
context:
space:
mode:
authorM.Gergo2018-07-06 11:14:41 +0200
committerM.Gergo2018-07-06 11:14:41 +0200
commit43de9af71f7f4ca5731b94a06d688ae8412ba427 (patch)
tree54835de1dfcda504c02da261f0dc26885aed2e89 /mayor-orig/www/include/modules/session/search
parent50310b0e4513ee3fcce67351ae61e8fff851130e (diff)
downloadmayor-43de9af71f7f4ca5731b94a06d688ae8412ba427.tar.gz
mayor-43de9af71f7f4ca5731b94a06d688ae8412ba427.zip
2018/Feb/28 -i állapot hozzáadva, mint a módosítások kiindulási állapota
Diffstat (limited to 'mayor-orig/www/include/modules/session/search')
-rw-r--r--mayor-orig/www/include/modules/session/search/searchAccount.php37
-rw-r--r--mayor-orig/www/include/modules/session/search/searchGroup.php34
2 files changed, 71 insertions, 0 deletions
diff --git a/mayor-orig/www/include/modules/session/search/searchAccount.php b/mayor-orig/www/include/modules/session/search/searchAccount.php
new file mode 100644
index 00000000..796a7423
--- /dev/null
+++ b/mayor-orig/www/include/modules/session/search/searchAccount.php
@@ -0,0 +1,37 @@
+<?php
+/*
+ Module: base/session
+*/
+
+##############################################################
+# searchAccount - felhasználó kereső függvény
+##############################################################
+
+
+ function searchAccount($attr, $pattern, $searchAttrs = array('userCn'), $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/search/searchAccount.php');
+ $func = $AUTH[$toPolicy]['backend'].'SearchAccount';
+
+ return $func($attr, $pattern, $searchAttrs, $toPolicy);
+
+ }
+
+##############################################################
+# deleteAccount - felhasználó törlése
+##############################################################
+
+ function deleteAccount($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/search/searchAccount.php');
+ $func = $AUTH[$toPolicy]['backend'].'DeleteAccount';
+ return $func($userAccount, $toPolicy);
+
+ }
+
+
+?>
diff --git a/mayor-orig/www/include/modules/session/search/searchGroup.php b/mayor-orig/www/include/modules/session/search/searchGroup.php
new file mode 100644
index 00000000..f44f9aa2
--- /dev/null
+++ b/mayor-orig/www/include/modules/session/search/searchGroup.php
@@ -0,0 +1,34 @@
+<?php
+/*
+ Module: base/session
+*/
+
+##############################################################
+# searchGroup - csoport kereső függvény
+##############################################################
+
+ function searchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/search/searchAccount.php');
+ $func = $AUTH[$toPolicy]['backend'].'SearchGroup';
+ return $func($attr, $pattern, $searchAttrs, $toPolicy);
+
+ }
+
+##############################################################
+# deleteGroup - csoport torlese
+##############################################################
+
+ function deleteGroup($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/search/searchAccount.php');
+ $func = $AUTH[$toPolicy]['backend'].'DeleteGroup';
+ return $func($groupCn, $toPolicy);
+
+ }
+
+?>