diff options
author | M.Gergo | 2018-07-06 11:14:41 +0200 |
---|---|---|
committer | M.Gergo | 2018-07-06 11:14:41 +0200 |
commit | 43de9af71f7f4ca5731b94a06d688ae8412ba427 (patch) | |
tree | 54835de1dfcda504c02da261f0dc26885aed2e89 /mayor-orig/www/include/modules/session/search | |
parent | 50310b0e4513ee3fcce67351ae61e8fff851130e (diff) | |
download | mayor-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.php | 37 | ||||
-rw-r--r-- | mayor-orig/www/include/modules/session/search/searchGroup.php | 34 |
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); + + } + +?> |