-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaccountmanager.php
More file actions
51 lines (49 loc) · 1.34 KB
/
accountmanager.php
File metadata and controls
51 lines (49 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
require_once('vendor/inter-mediator/inter-mediator/INTER-Mediator.php');
IM_Entry(
[
[
'paging' => true,
'records' => 10,
'name' => 'authuser',
'view' => 'authuser',
'table' => 'authuser',
'key' => 'id',
'repeat-control' => 'confirm-delete confirm-insert',
'sort' => [
['field' => 'id', 'direction' => 'ASC'],
],
],
[
'name' => 'belonggroup',
'view' => 'authcor',
'table' => 'authcor',
'key' => 'id',
'repeat-control' => 'confirm-delete insert',
'relation' => [
['foreign-key' => 'user_id', 'join-field' => 'id', 'operator' => '='],
],
'sort' => [
['field' => 'dest_group_id', 'direction' => 'ASC'],
],
],
[
'name' => 'groupname',
'view' => 'authgroup',
'sort' => [
['field' => 'id', 'direction' => 'ASC'],
],
],
],
[
'authentication' => [ // table only, for all operations
'authexpired' => '7200', // Set as seconds.
'storing' => 'credential',
'user' => ['admin'],
],
],
[
'db-class' => 'PDO',
],
2
);