mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a56d4bedb9 | ||
|
|
03e97199f6 | ||
|
|
95d5c890fd | ||
|
|
40def3e38a | ||
|
|
8836bc89e7 | ||
|
|
338752a562 | ||
|
|
8d9a8b6478 | ||
|
|
f0ea684c25 | ||
|
|
206c39093f | ||
|
|
b7c359618b | ||
|
|
fd10a6c4c8 | ||
|
|
5338f3649e | ||
|
|
33585586ec | ||
|
|
64d02b62b5 | ||
|
|
5bc0d72341 | ||
|
|
d1788b1d56 | ||
|
|
275e17ed3c | ||
|
|
b95f51cd07 | ||
|
|
4f42c7ec12 | ||
|
|
11d29854e5 | ||
|
|
11e3d52fbc | ||
|
|
00b629662f | ||
|
|
51e73ec883 | ||
|
|
23f4ed5688 | ||
|
|
6f6d3369ba | ||
|
|
d2298ae52a | ||
|
|
fb8b37fe59 | ||
|
|
3987d704a6 | ||
|
|
518ab50e5c | ||
|
|
ee05870271 | ||
|
|
ff8693ec95 | ||
|
|
ef146682e3 | ||
|
|
59fb5d9910 | ||
|
|
988a2eedea | ||
|
|
4e33514787 | ||
|
|
01cafa05d8 | ||
|
|
81bcda2e40 | ||
|
|
08c781a5ce | ||
|
|
bf5120a2a9 | ||
|
|
dc494a3d45 | ||
|
|
76046c6b94 | ||
|
|
8774f1b31d | ||
|
|
310283a076 | ||
|
|
fd80d1f104 | ||
|
|
9a29b20881 | ||
|
|
fac1b77681 | ||
|
|
53f09e4735 | ||
|
|
e7635e2608 | ||
|
|
74fe782908 | ||
|
|
1ac55d56ba | ||
|
|
9c0c7c2b6c | ||
|
|
75626b620b | ||
|
|
7725be4b40 | ||
|
|
324c0f2bdd | ||
|
|
1e43c1ff79 | ||
|
|
717c13ffb1 | ||
|
|
1ccc8a8a6f | ||
|
|
59ab63ace2 | ||
|
|
f7ed87bcb1 | ||
|
|
cfc34e91e1 | ||
|
|
31b26cf850 | ||
|
|
3474ce2847 | ||
|
|
3d8e029782 | ||
|
|
66abf83142 | ||
|
|
fb79e7a130 | ||
|
|
53444d5f7b | ||
|
|
b8177b58e8 | ||
|
|
b8ad2dfd0c | ||
|
|
51b8a15f27 | ||
|
|
dcf522aacc | ||
|
|
76995e7abc | ||
|
|
fcb657307a | ||
|
|
ecc10431fe | ||
|
|
f671ceeb8e | ||
|
|
515380baa3 | ||
|
|
85165db3dc | ||
|
|
b69b846dd0 | ||
|
|
7c16c05daa | ||
|
|
d4498c20d1 | ||
|
|
9928aab2e0 | ||
|
|
ec8d45d84c | ||
|
|
e23db52cb9 | ||
|
|
87d02ce13e | ||
|
|
e27776479d | ||
|
|
6309ac7438 | ||
|
|
db9de19978 | ||
|
|
6631c5d22c | ||
|
|
9d13111c8b | ||
|
|
b53bacacd9 | ||
|
|
b0339a6515 | ||
|
|
d53574a4e0 | ||
|
|
bacf34779e | ||
|
|
fb9f4e046b | ||
|
|
4b71ceaa77 | ||
|
|
8b26b5e1ae | ||
|
|
ca051b262e | ||
|
|
96f0db34e4 | ||
|
|
b430b34e0a | ||
|
|
603ccd1793 | ||
|
|
8ea63d04a6 | ||
|
|
892950df93 | ||
|
|
b99123efc6 | ||
|
|
b3476f93c1 | ||
|
|
729b4930bd | ||
|
|
19190015e9 | ||
|
|
ad204604b1 | ||
|
|
3528ca6f70 | ||
|
|
578e3d9324 | ||
|
|
9c98b982a7 | ||
|
|
637f8d9770 | ||
|
|
ebc13b77bb | ||
|
|
5e3c908893 | ||
|
|
4372f5b62c | ||
|
|
7f4a73b51d | ||
|
|
4f288b45b5 | ||
|
|
4b16accd33 | ||
|
|
5cdaf1f0a8 | ||
|
|
1cd4471751 | ||
|
|
b9e0617b35 | ||
|
|
00685a67a4 | ||
|
|
5d693398f6 | ||
|
|
36203b4436 | ||
|
|
183962bd3b | ||
|
|
f942d4c508 | ||
|
|
77cfbb1093 | ||
|
|
6edd32c611 | ||
|
|
5994a25b7b | ||
|
|
7365f3b350 | ||
|
|
19bda38727 | ||
|
|
3b3721f3f0 | ||
|
|
1a7f726cc5 | ||
|
|
e9be4ffd8c | ||
|
|
2d6ef6abc4 | ||
|
|
526e3013e0 | ||
|
|
00258085d6 | ||
|
|
afe0334e05 | ||
|
|
0fcc43d1d3 | ||
|
|
f3a0873145 | ||
|
|
6a1d864a4f | ||
|
|
9b35bedebb | ||
|
|
48e632f452 | ||
|
|
010e4eaa60 | ||
|
|
ff44827106 | ||
|
|
07a8b0d964 | ||
|
|
426a05bbec | ||
|
|
8ef26d396a | ||
|
|
e280c87933 | ||
|
|
0b6fc563e3 | ||
|
|
1ee2d19dc7 | ||
|
|
9cd3ad0534 | ||
|
|
a2ffa3267d | ||
|
|
9e7882ca5f | ||
|
|
1cb25c308a | ||
|
|
c434711cf7 | ||
|
|
2abc34d599 | ||
|
|
39de402908 | ||
|
|
c4f59fdb27 | ||
|
|
694bc14169 | ||
|
|
cfade891be | ||
|
|
6b80349def | ||
|
|
844390f926 | ||
|
|
60a4a64943 | ||
|
|
c5de38580f | ||
|
|
37fb5278c4 | ||
|
|
9723ee54d2 | ||
|
|
4cc21c715a | ||
|
|
7398645038 | ||
|
|
65888879d1 | ||
|
|
f7d1d96875 | ||
|
|
a9ceaf3c56 | ||
|
|
abbeb27e93 | ||
|
|
84c523cf79 | ||
|
|
b6f414c469 | ||
|
|
2e0b8dca00 | ||
|
|
b9d53c5c6b | ||
|
|
aa533a82d5 | ||
|
|
2c1d29e0ba | ||
|
|
29fda74f45 | ||
|
|
34647d9922 | ||
|
|
59c2934324 | ||
|
|
77bac3e328 | ||
|
|
2e4f09a607 | ||
|
|
41eb132aec | ||
|
|
401aab6baa | ||
|
|
d62a0b304c | ||
|
|
0a19cbfba4 | ||
|
|
b97aac7c4b | ||
|
|
db76776b39 | ||
|
|
ca09e22c09 | ||
|
|
c4ed2d05f1 | ||
|
|
c33871ec2d | ||
|
|
6fabc46a48 | ||
|
|
d96a0e98d5 | ||
|
|
53dc0f5771 | ||
|
|
da1aedabcf | ||
|
|
4dcec21c9f | ||
|
|
e08b399456 | ||
|
|
99cf96d9b1 | ||
|
|
68a696cdc8 | ||
|
|
4e1fd64cf7 | ||
|
|
4513da4cbb | ||
|
|
4579850527 | ||
|
|
c87cc822b8 | ||
|
|
8fb81c6f1b | ||
|
|
ac23999688 | ||
|
|
07556cc78d | ||
|
|
a48ee2676e | ||
|
|
66afe6d8f9 | ||
|
|
c0539d6657 | ||
|
|
4637d57bdc | ||
|
|
f0c1ef6e15 | ||
|
|
278be4cc61 | ||
|
|
56901b51d2 | ||
|
|
e2d692217e | ||
|
|
2a0cd525dd | ||
|
|
8a7521b2bc | ||
|
|
e29202eaa0 | ||
|
|
ac5f8fd683 | ||
|
|
0ac9edfece | ||
|
|
26065f4046 | ||
|
|
3e618a991b | ||
|
|
97ae7e2cc6 | ||
|
|
783b0518e3 | ||
|
|
33aa7b7163 | ||
|
|
2908bb7dc5 | ||
|
|
14d3cb5c4c | ||
|
|
857eef0ff6 | ||
|
|
2f4b0b573e | ||
|
|
8025974438 | ||
|
|
b6694a600b | ||
|
|
0cb513ead6 | ||
|
|
f13985620c | ||
|
|
1b3f765881 | ||
|
|
c1cd65f3be | ||
|
|
48a81153bc | ||
|
|
9676017669 | ||
|
|
6765f4d1e3 | ||
|
|
36fc09b48b | ||
|
|
829e8d7c2b | ||
|
|
443997809d | ||
|
|
8b22efc51b | ||
|
|
457f50705f | ||
|
|
2d2c236391 | ||
|
|
a6724ef19f | ||
|
|
e32fb99552 | ||
|
|
24e63e7024 | ||
|
|
7d4612b953 | ||
|
|
789c4ccd67 | ||
|
|
8fe63a9579 | ||
|
|
7602315077 | ||
|
|
64fba6c407 | ||
|
|
57fe1f9664 | ||
|
|
d20ee45880 | ||
|
|
b82d14d4cd | ||
|
|
4d9e662ba9 | ||
|
|
0008d7da08 | ||
|
|
e074479981 | ||
|
|
777916481f | ||
|
|
cdd736e431 | ||
|
|
811c0a23b3 | ||
|
|
c5c728d495 | ||
|
|
2c5232ca34 | ||
|
|
18ff20cd58 | ||
|
|
8159cdf238 | ||
|
|
ec7dae3f77 | ||
|
|
6b0759e3d6 | ||
|
|
467ecfbff6 | ||
|
|
3b76398a94 | ||
|
|
9acd9b1d48 | ||
|
|
6e7f199df3 | ||
|
|
4fdb7167f0 | ||
|
|
be24ea74be | ||
|
|
bc8ecf5569 | ||
|
|
5087826891 | ||
|
|
8b5e1397d4 | ||
|
|
76bfb4ebd5 | ||
|
|
d5496f3931 | ||
|
|
e09aca19dd | ||
|
|
1e839a3b39 | ||
|
|
39b4c8057d | ||
|
|
cab58f40a8 | ||
|
|
562a183098 | ||
|
|
6f547419f1 | ||
|
|
7c1d0bb58a | ||
|
|
5e09025602 | ||
|
|
9e7f9a7fe5 | ||
|
|
94ff30f24d | ||
|
|
f3b79cd731 | ||
|
|
a495153a8b | ||
|
|
488d0614dd | ||
|
|
19ff69110d | ||
|
|
a20bf91193 | ||
|
|
f8c70df0bc | ||
|
|
ea920d11d4 | ||
|
|
9effd11fcd | ||
|
|
8e0ca12deb | ||
|
|
40f51d035f | ||
|
|
d2b5c6e609 | ||
|
|
125925ede4 | ||
|
|
c33047d1aa | ||
|
|
da737c0366 | ||
|
|
4ace90adc7 | ||
|
|
ccb9daffaa | ||
|
|
9df9ec8f41 | ||
|
|
56cb58ca5e | ||
|
|
3d4167c39f | ||
|
|
ffb5cb50ca | ||
|
|
318787b195 | ||
|
|
dfcb7ac2bd | ||
|
|
01b577603a | ||
|
|
7b7039d9bc | ||
|
|
0465c1639f | ||
|
|
77fdec1446 | ||
|
|
b237eb59c6 | ||
|
|
3588047989 | ||
|
|
51e9e071d5 | ||
|
|
993b381282 | ||
|
|
1fed18dd9b | ||
|
|
8fd09dfef8 | ||
|
|
b0459c6603 | ||
|
|
a2c38c67a0 | ||
|
|
fe42f54cd6 | ||
|
|
e1c19fa4de | ||
|
|
044cfb8819 | ||
|
|
00143e4c38 | ||
|
|
bfaf901550 | ||
|
|
7269672b2d | ||
|
|
b4efb5aaa4 | ||
|
|
f48e1e59a7 | ||
|
|
5ab5b291b3 | ||
|
|
1feec909cb | ||
|
|
863d6af4eb | ||
|
|
a029a91789 | ||
|
|
3bb86f6f05 | ||
|
|
ceb2ef0dbf | ||
|
|
bb5f2e29e6 | ||
|
|
b4ea35858c | ||
|
|
33d3697f2f | ||
|
|
00b52f13a6 | ||
|
|
e321163bb0 | ||
|
|
2e065086a2 | ||
|
|
05a398a5f7 | ||
|
|
70fd4a4dea | ||
|
|
42757176b5 | ||
|
|
8bd7674551 | ||
|
|
059b8d19cb | ||
|
|
7346fcf7ec | ||
|
|
fcce3c9f10 | ||
|
|
240d87caaa | ||
|
|
24b18db39c | ||
|
|
f99b3cc8bf | ||
|
|
11723a71e6 | ||
|
|
1af4938ab2 | ||
|
|
233b60d916 | ||
|
|
9a8863e5ef | ||
|
|
ad3c0b2d21 | ||
|
|
124535cbc7 | ||
|
|
23b22c0817 | ||
|
|
7db01c8eb5 | ||
|
|
bb54104111 | ||
|
|
c4dd21a6d0 | ||
|
|
772ed3c810 | ||
|
|
af1646f9af | ||
|
|
b46122ab9e | ||
|
|
ce2ad2c2b3 | ||
|
|
eea347394a | ||
|
|
b6a17909c9 | ||
|
|
b9d6bb947a | ||
|
|
21892e1ed4 | ||
|
|
a90adbda72 | ||
|
|
3009a03eac | ||
|
|
1fe6ec5ccc | ||
|
|
46e2c967ab | ||
|
|
0ae8b4d8fa | ||
|
|
7281a15e42 | ||
|
|
ed8053f700 | ||
|
|
931c4ded3f | ||
|
|
625a662648 | ||
|
|
13ad59f3ff | ||
|
|
ab0dcfdcff | ||
|
|
48dd4469a8 | ||
|
|
868fc0feaa | ||
|
|
5b02f22186 | ||
|
|
924dee8da8 | ||
|
|
6c306b9ab9 | ||
|
|
6353cb5527 | ||
|
|
90745fdddc | ||
|
|
647cd1e8f9 | ||
|
|
aa3863d5b4 | ||
|
|
47b9001321 | ||
|
|
45c87db9b8 | ||
|
|
5b4939279c | ||
|
|
ba4bd99dda | ||
|
|
893157c638 | ||
|
|
29b56af899 | ||
|
|
9e2c60fb91 | ||
|
|
839cdf3998 | ||
|
|
89744f36f5 | ||
|
|
3065b02512 | ||
|
|
2c3ebf843a | ||
|
|
92544007eb | ||
|
|
0b5644d6f1 | ||
|
|
30b81cd376 | ||
|
|
a6c9d100ee | ||
|
|
9f919e6e7b | ||
|
|
b43601a9cc | ||
|
|
4b0fd80bf4 | ||
|
|
c26df3e2f1 | ||
|
|
34af00d94e | ||
|
|
03e93fcaf9 | ||
|
|
1b7e5292d4 | ||
|
|
451c1ec541 | ||
|
|
939ca288fc | ||
|
|
578742c5c1 | ||
|
|
0942cbf7c9 | ||
|
|
0c912c0122 | ||
|
|
bfe8d50772 | ||
|
|
46bc8bdb8c | ||
|
|
2e3e0efb83 | ||
|
|
3823f7f1d1 | ||
|
|
fbed4b2261 | ||
|
|
0581183b28 | ||
|
|
66de5536ac | ||
|
|
7e71681d26 | ||
|
|
ddf0a9431a | ||
|
|
012ddbe70e | ||
|
|
208a5fb707 | ||
|
|
59b5d76e44 | ||
|
|
2c86315f42 | ||
|
|
7b99d7ead3 | ||
|
|
b83cf14841 | ||
|
|
6c260c7cd5 | ||
|
|
722d39d8ae | ||
|
|
c135abe41e | ||
|
|
c6c4745280 | ||
|
|
d6664e74c5 | ||
|
|
644f66dae9 | ||
|
|
011dbb980f | ||
|
|
7963a4cc0e | ||
|
|
5c7d2e9688 | ||
|
|
dd02a5ff0e | ||
|
|
f2f359471e | ||
|
|
44694c2a08 | ||
|
|
d4edb54c4c | ||
|
|
edb60ef17b | ||
|
|
b46692913c | ||
|
|
58bd4d003d | ||
|
|
60681d5402 | ||
|
|
40a2b53858 | ||
|
|
b1d2f60c04 | ||
|
|
da3409cf1d | ||
|
|
7e498482d8 | ||
|
|
cac1aae235 | ||
|
|
64aa1cfd4f | ||
|
|
959b01f6a1 | ||
|
|
233de362f4 | ||
|
|
1dde2c5cb2 | ||
|
|
18f401d365 | ||
|
|
f21db9531e | ||
|
|
4d3205a6e7 | ||
|
|
d419cc327d | ||
|
|
b2c8d1b2de | ||
|
|
cf999b6d82 | ||
|
|
dd6ef9fdb1 | ||
|
|
2188a120c2 | ||
|
|
70bd1b795d | ||
|
|
e512a80335 | ||
|
|
35f8bab8b2 | ||
|
|
6851e75c3f | ||
|
|
66226f7e8d | ||
|
|
89d920427a | ||
|
|
c7f5e038f2 | ||
|
|
5e4833bac5 | ||
|
|
6bee671674 | ||
|
|
4916ba09d6 | ||
|
|
7f6d632935 | ||
|
|
55729f5eb6 | ||
|
|
22118abc5a | ||
|
|
b75a82a4fa | ||
|
|
4a5f0554c7 | ||
|
|
20a750b9c3 | ||
|
|
9610418a96 | ||
|
|
4036f5f7cd | ||
|
|
deba2733d6 | ||
|
|
4ad5de915a | ||
|
|
e5952f93cc | ||
|
|
20e492bd63 | ||
|
|
527a627574 | ||
|
|
e178f78dba | ||
|
|
92a81ae3a4 | ||
|
|
5fb0408a31 | ||
|
|
c8f9980c5a | ||
|
|
2d8f7fcac3 | ||
|
|
c01eecf196 | ||
|
|
68b911fef4 | ||
|
|
feab67a83a | ||
|
|
3e386a9208 | ||
|
|
7574597fe6 | ||
|
|
243b4ece99 | ||
|
|
4d800a39d3 | ||
|
|
98555f3dca | ||
|
|
c6f5d49e3b | ||
|
|
0f48d7996a | ||
|
|
a705862d18 | ||
|
|
24e78bbae3 | ||
|
|
85d397b451 | ||
|
|
65aa2b5d29 | ||
|
|
7b89d4dbbe | ||
|
|
d0a2378a67 | ||
|
|
c8c580131c | ||
|
|
9e7eabb88f | ||
|
|
320f253e30 | ||
|
|
12e0f88b45 | ||
|
|
8074fa5383 | ||
|
|
1c01faba5f | ||
|
|
c431f8e015 | ||
|
|
4b82843c76 | ||
|
|
caf69b4d0b | ||
|
|
b820f409aa | ||
|
|
af02b3c583 | ||
|
|
bf70eedc27 | ||
|
|
5743d05478 | ||
|
|
2167b7a475 | ||
|
|
a971fa11a2 | ||
|
|
591013e09a | ||
|
|
05ef6a4deb | ||
|
|
91f4851462 | ||
|
|
b7fdc9cb5f | ||
|
|
98b8cd450d | ||
|
|
b998a42b87 | ||
|
|
caae236c3b | ||
|
|
fd826ae1fe | ||
|
|
f4d1edf808 | ||
|
|
6d0f5d2bec | ||
|
|
4edc917b3d | ||
|
|
13145fd696 | ||
|
|
9ed193d9b8 | ||
|
|
11960628c0 | ||
|
|
3599294237 | ||
|
|
763eaa6592 | ||
|
|
cec2bb1a27 | ||
|
|
fe643a0f68 | ||
|
|
d3bc72539a | ||
|
|
6eec1ba0b7 | ||
|
|
88a395b31e | ||
|
|
d0d9b897eb | ||
|
|
150a7863d6 | ||
|
|
8f55f11346 | ||
|
|
85fa18397c | ||
|
|
ec4b13f100 | ||
|
|
3ee3282e5a | ||
|
|
b11f8e8b8f | ||
|
|
e50f644cb6 | ||
|
|
1a1d2de72c | ||
|
|
178b15315f | ||
|
|
0eaf360140 | ||
|
|
42dabba56e | ||
|
|
8899a162fd | ||
|
|
19e63622d7 | ||
|
|
5b1ad70677 | ||
|
|
e580df583a | ||
|
|
325608ff6f | ||
|
|
ad1ada800c | ||
|
|
60e1e444e9 | ||
|
|
96f3f1a243 | ||
|
|
b9c1bddb14 | ||
|
|
ed6152dc46 | ||
|
|
15a1eb2afd | ||
|
|
2568d8f912 | ||
|
|
c2ed1ad122 | ||
|
|
bbcb945bf1 | ||
|
|
c01175fa5c | ||
|
|
c4d04d60a6 | ||
|
|
c309c31162 | ||
|
|
c57aa20058 | ||
|
|
c0bf5a544f | ||
|
|
ed6f9fa676 | ||
|
|
483d133fc1 | ||
|
|
6f3a02abe2 | ||
|
|
18729af639 | ||
|
|
1f60271803 | ||
|
|
c0379b7755 | ||
|
|
d6ab664a33 | ||
|
|
9756ce6b14 | ||
|
|
57c6e59eb9 | ||
|
|
1e53cbde71 | ||
|
|
bc331e10ad | ||
|
|
364ca5ed72 | ||
|
|
4abf10d3e3 | ||
|
|
d58ba92b15 | ||
|
|
53cfa9eb9c | ||
|
|
0950eebca6 | ||
|
|
a5c29fa2f7 | ||
|
|
a9daf5bdc6 | ||
|
|
38ed9a6e43 | ||
|
|
6ba0787cb7 | ||
|
|
268130756e | ||
|
|
91ad613884 | ||
|
|
3fffad9d77 | ||
|
|
37c1721aeb | ||
|
|
8fbc64bbff | ||
|
|
79230cd85d | ||
|
|
aaef564d52 | ||
|
|
03d84be366 | ||
|
|
9f49093b38 | ||
|
|
64b68c180f | ||
|
|
04db2afed1 | ||
|
|
ba1c637ca4 | ||
|
|
325e7f49c6 | ||
|
|
925bb10efa | ||
|
|
61a559d380 | ||
|
|
c9e980c74a | ||
|
|
d7801da391 | ||
|
|
6a609283a4 | ||
|
|
901f4352df | ||
|
|
eac6aae4f1 | ||
|
|
8713b819ba | ||
|
|
65765bceb1 | ||
|
|
c85a406ec6 | ||
|
|
8e37e85ecc | ||
|
|
1590fad8bb | ||
|
|
0c7df621a5 | ||
|
|
65613d2869 | ||
|
|
5de98911ec | ||
|
|
6544a656f8 | ||
|
|
385e17eff7 | ||
|
|
cddfc142c7 | ||
|
|
a6c61d0bc1 | ||
|
|
39c0350af8 | ||
|
|
b95fc0f06a | ||
|
|
9707c523e0 | ||
|
|
23201670b1 | ||
|
|
de7fc12c62 | ||
|
|
10963be983 | ||
|
|
ba0e2bb7ff | ||
|
|
f08f85afe2 | ||
|
|
be79ca299c | ||
|
|
4902f41a3f | ||
|
|
9cce095e9b | ||
|
|
c96b6de669 | ||
|
|
41a0cc33f1 | ||
|
|
ad8c5bfb32 | ||
|
|
93422b75b5 | ||
|
|
ce3a2f26d3 | ||
|
|
81ca197020 | ||
|
|
075312963e | ||
|
|
09787cca65 | ||
|
|
341d5cf8da | ||
|
|
7cdac1d047 | ||
|
|
a3210781ea | ||
|
|
a4a907a83f | ||
|
|
94ae62ca14 | ||
|
|
73c36d8520 | ||
|
|
48655039ba | ||
|
|
9a44c818ea | ||
|
|
6af45f99f6 | ||
|
|
4e6c1bd9fd | ||
|
|
b4fdd11686 | ||
|
|
9108b9ecd4 | ||
|
|
0d55276bd2 | ||
|
|
a68dfa7ba2 | ||
|
|
3622052bd9 | ||
|
|
bcc42f2b02 | ||
|
|
d2e3a346ce | ||
|
|
f3c2630a66 | ||
|
|
e21b2f6233 | ||
|
|
974b5c0fe8 | ||
|
|
0c28a6d6c4 | ||
|
|
5e4090e0ce | ||
|
|
bee12ac317 | ||
|
|
534a162809 | ||
|
|
4c21acc5f2 | ||
|
|
5071605ce2 | ||
|
|
c773cd3ddc | ||
|
|
4d77c603d0 | ||
|
|
fbf33e708e | ||
|
|
673e7a2a2f | ||
|
|
ad335ad240 | ||
|
|
c2c4620af9 | ||
|
|
9a4f5480c4 | ||
|
|
74186cc5c6 | ||
|
|
925d210bff | ||
|
|
58a6da42ae | ||
|
|
3fdf54c1d1 | ||
|
|
38c98531ed | ||
|
|
942dfb8633 | ||
|
|
8df43d4b6f | ||
|
|
226d1652ef | ||
|
|
4f14e7fa92 | ||
|
|
ab4c8ac373 | ||
|
|
c8e4b463b5 | ||
|
|
d757c413e5 | ||
|
|
f35ede3974 | ||
|
|
437959221e | ||
|
|
642f700cae | ||
|
|
95801a2e70 | ||
|
|
d425653d86 | ||
|
|
f2fdc62b44 | ||
|
|
49ebc3945b | ||
|
|
70e83b6e18 | ||
|
|
25e0ba9407 | ||
|
|
d25dc7c707 | ||
|
|
0701a4dd2e | ||
|
|
e2744500a6 | ||
|
|
ca83b2f59d | ||
|
|
971e4ed6de | ||
|
|
b14a1f30ba | ||
|
|
3c93439955 | ||
|
|
5a5472257a | ||
|
|
fab06f9ddb | ||
|
|
6e62fbdcd4 | ||
|
|
dbe19fafb5 | ||
|
|
6dc145d618 | ||
|
|
5a5a22e0d5 | ||
|
|
7758fa3807 | ||
|
|
834b119f9c | ||
|
|
68963a962a | ||
|
|
377b1ecdd0 | ||
|
|
f2b45b7f2a | ||
|
|
83540e068a | ||
|
|
3d45527a5d | ||
|
|
b5d14fb59f | ||
|
|
7aea047537 | ||
|
|
a987eba1ac | ||
|
|
4c58b95728 | ||
|
|
3397192298 | ||
|
|
8b5fb84d0e | ||
|
|
e5cd3c5a9e | ||
|
|
ef025b674e | ||
|
|
8a64b70ea2 | ||
|
|
c5ee56f23d | ||
|
|
13a07e2207 | ||
|
|
0c2c0468af | ||
|
|
6574af6518 | ||
|
|
7766595c5d | ||
|
|
9ed42794a7 | ||
|
|
c4ebb5a395 | ||
|
|
0b4bc2b70b | ||
|
|
41f9f5def4 | ||
|
|
6536ff155c | ||
|
|
149b04654a | ||
|
|
28751df237 | ||
|
|
8d109cf170 | ||
|
|
86a98e9a8c | ||
|
|
8c555944e2 | ||
|
|
2aa8cff74d | ||
|
|
a4fbebbf30 | ||
|
|
a09a892b0b | ||
|
|
7ba5026436 | ||
|
|
3df35d0ed5 | ||
|
|
dfa5b0386d | ||
|
|
a8b7be6ad5 | ||
|
|
c57b84d10c | ||
|
|
f5ebe0c42b | ||
|
|
fadb2fb792 | ||
|
|
ffa0bdc947 | ||
|
|
eb712f4242 | ||
|
|
87e93e2828 | ||
|
|
c8e743d7cd | ||
|
|
850777476e | ||
|
|
6089be78f7 | ||
|
|
8d10a9a654 | ||
|
|
d237915e80 | ||
|
|
3a2c5b0ceb | ||
|
|
cf3ce680d6 | ||
|
|
3955d4b395 | ||
|
|
ee39e5a3f7 | ||
|
|
0dc605df3c | ||
|
|
dabcf8188b | ||
|
|
73b69d8657 | ||
|
|
9f109127a5 | ||
|
|
8c8753b667 | ||
|
|
b0b3fe845a | ||
|
|
5b0a843500 | ||
|
|
f1098055fe | ||
|
|
ba9d398b55 | ||
|
|
01143cd51d | ||
|
|
58738112e9 | ||
|
|
18036f7a40 | ||
|
|
7733f8df79 | ||
|
|
5fd6070ea3 | ||
|
|
d7dc25dbc5 | ||
|
|
de5eefc6fb | ||
|
|
e390c49b2b | ||
|
|
04955a3ff1 | ||
|
|
41bf684767 | ||
|
|
9d0b2c1f0c | ||
|
|
54f8dfead7 | ||
|
|
efe7355a4d | ||
|
|
00211ee647 | ||
|
|
dc991d7876 | ||
|
|
d47e506976 | ||
|
|
70fba4d267 | ||
|
|
932243ccef | ||
|
|
e76e1af15c | ||
|
|
1026447281 | ||
|
|
eb845241d1 | ||
|
|
4f8826dc3f | ||
|
|
bb3f8ef617 | ||
|
|
58e9eb37a2 | ||
|
|
71f3b91516 | ||
|
|
facb7750d7 | ||
|
|
c6efbac308 | ||
|
|
b07beff444 | ||
|
|
fec722a481 | ||
|
|
d899ccad08 | ||
|
|
4bff558c1f | ||
|
|
abae24b0aa | ||
|
|
fc932b464d | ||
|
|
029395372b | ||
|
|
42d0ef79fd | ||
|
|
419ca7ac46 | ||
|
|
489848c629 | ||
|
|
a34f82fd3c | ||
|
|
3bf093fd2c | ||
|
|
b231caca13 | ||
|
|
80021520ce | ||
|
|
cf272c0e40 | ||
|
|
dfea2bab26 | ||
|
|
0e3cd3a54d | ||
|
|
3997dd55ce | ||
|
|
606bd3d342 | ||
|
|
103f3f10af | ||
|
|
3e6ac6987e | ||
|
|
6b1968ae5b | ||
|
|
e441886748 | ||
|
|
f3a49e09e7 | ||
|
|
cd10d96c91 | ||
|
|
f5f56056ca | ||
|
|
da8f7251e0 | ||
|
|
e5554ad1ba | ||
|
|
ffac4458ef | ||
|
|
ffac73c447 | ||
|
|
3c6638fac6 | ||
|
|
d4994c95e9 | ||
|
|
bf1a16427c | ||
|
|
da7036d33a | ||
|
|
815d34ebb6 | ||
|
|
9a4c03fd45 | ||
|
|
42e911b4fe | ||
|
|
39cbed0ca8 | ||
|
|
32acc8a414 | ||
|
|
674e832392 | ||
|
|
9cf11673ae | ||
|
|
e88da56dd7 | ||
|
|
5f540c2067 | ||
|
|
01f73e5d57 | ||
|
|
a95d1f634b | ||
|
|
5d7d79b086 | ||
|
|
0f3e299cf4 | ||
|
|
e34bda9649 | ||
|
|
978ce062a2 | ||
|
|
15345588ad | ||
|
|
2bc42d7903 | ||
|
|
6dab0aec8d | ||
|
|
de9e92e3b0 | ||
|
|
f76b83ef64 | ||
|
|
d48f586af2 | ||
|
|
b523a68fdc | ||
|
|
63db2326ed | ||
|
|
ae80f2f1e9 | ||
|
|
0132356094 | ||
|
|
bf4da6f43b | ||
|
|
b0c1e50e47 | ||
|
|
4413a64860 | ||
|
|
d82ea3b9f4 | ||
|
|
64a822881a | ||
|
|
951986bd51 | ||
|
|
9168479912 | ||
|
|
4b1691361b | ||
|
|
4b9d5d273b | ||
|
|
4d406ea389 | ||
|
|
e624540c16 | ||
|
|
440cac91d6 | ||
|
|
44ebe15c9c | ||
|
|
6d093dc4ed | ||
|
|
8ef0f07336 | ||
|
|
28e1707b4e | ||
|
|
85f3ea1dab | ||
|
|
030fe2ba74 | ||
|
|
53eab958dd | ||
|
|
f0bee0d531 | ||
|
|
1a36ce3dff | ||
|
|
6836c3608d | ||
|
|
1b4f137587 | ||
|
|
a932cfd0ad | ||
|
|
fc6e2de1c9 | ||
|
|
edc62cd25a | ||
|
|
c7b791f160 | ||
|
|
d06a7acdc3 | ||
|
|
deef6db1d7 | ||
|
|
5bd5ac4aad | ||
|
|
a6d708a763 | ||
|
|
b52ffa8974 | ||
|
|
75c8d82b73 | ||
|
|
44b4571aaf | ||
|
|
8cb8782586 | ||
|
|
c0b7f3ba88 | ||
|
|
9d4133a6ff | ||
|
|
202fcec66d | ||
|
|
2dada5200c | ||
|
|
30c96e3121 | ||
|
|
482e20d2a2 | ||
|
|
091dede2dd | ||
|
|
6c85973177 | ||
|
|
3b2ead0aaa | ||
|
|
5300ae6e21 | ||
|
|
b0a46179ba | ||
|
|
eb141cec67 | ||
|
|
4bea2abf70 | ||
|
|
8261e397da | ||
|
|
29546f6989 | ||
|
|
35de93b216 | ||
|
|
69e0a7c16f | ||
|
|
782c86d1a3 | ||
|
|
86bfa74ede | ||
|
|
3ae93df91d | ||
|
|
bd097e9920 | ||
|
|
49122d1ba4 | ||
|
|
728a78a6b6 | ||
|
|
2a516b68cb | ||
|
|
0be0280c28 | ||
|
|
cd71e69942 | ||
|
|
bfe3e3e900 | ||
|
|
7939d1db9e | ||
|
|
ccbff2b349 | ||
|
|
5e812300d2 | ||
|
|
8063964cec | ||
|
|
9dc5ef6f5b | ||
|
|
9826af257f | ||
|
|
5ae5dd115c | ||
|
|
4146257917 | ||
|
|
a0c06aa2c3 | ||
|
|
546483bed7 | ||
|
|
549b0133c2 | ||
|
|
51774021b4 | ||
|
|
9d2c05bd3d | ||
|
|
70a3c43f7c | ||
|
|
39f65875c6 | ||
|
|
fe227ebdcb | ||
|
|
5ab6a35372 | ||
|
|
4799ec68de | ||
|
|
932d48d95b | ||
|
|
d93dd1fb94 | ||
|
|
4cc83999ed | ||
|
|
7bee4b02b7 | ||
|
|
a3a9c42e99 | ||
|
|
ecff3747d0 | ||
|
|
197064d44d | ||
|
|
f58ee305dc | ||
|
|
6940f72d58 | ||
|
|
b346bf4dfa | ||
|
|
f154e6dd5d | ||
|
|
18df562208 | ||
|
|
f6f533a23b | ||
|
|
346b8c82e1 | ||
|
|
521611d671 | ||
|
|
e8e3ab76c9 | ||
|
|
4e02a1105b | ||
|
|
7af312bb8f | ||
|
|
75e3590a09 | ||
|
|
fbe9c5e9ed | ||
|
|
0d937232a2 | ||
|
|
906a383c30 | ||
|
|
1ffa831887 | ||
|
|
1d879f484a | ||
|
|
4cb468ed2b | ||
|
|
9a5ca672f2 | ||
|
|
78e4c2900b | ||
|
|
ae2f6c21d8 | ||
|
|
07ebcebcf3 | ||
|
|
0292f69d2b | ||
|
|
825a03adaa | ||
|
|
0ffe7fbcc6 | ||
|
|
f12ce76194 | ||
|
|
9aef5dcc30 | ||
|
|
87c021b693 | ||
|
|
3760195a58 | ||
|
|
ca65efe967 | ||
|
|
aec2e7b5ac | ||
|
|
1585f92c64 | ||
|
|
c6b6b45a0b | ||
|
|
64de1ed4f4 | ||
|
|
094a045310 | ||
|
|
cc88d3b5d5 | ||
|
|
5bfe253942 | ||
|
|
39c1d2771c | ||
|
|
a13b51e02c | ||
|
|
ae6740cc32 | ||
|
|
4b5211a9c6 | ||
|
|
b0c7619c61 | ||
|
|
b579c14a5d | ||
|
|
0597a5d9aa | ||
|
|
3110921f75 | ||
|
|
9a24759fb3 | ||
|
|
d689953b83 | ||
|
|
7032d8be7f | ||
|
|
4e2e943ae2 | ||
|
|
df889c235b | ||
|
|
325243f165 | ||
|
|
a2bc0c6f80 | ||
|
|
55187700c2 | ||
|
|
a6031bbe2e | ||
|
|
cc905d9f77 | ||
|
|
8ee7df5eba | ||
|
|
d952087979 | ||
|
|
63a9e99a59 | ||
|
|
04e2b0dc8b | ||
|
|
53b68ff7c7 | ||
|
|
d4a33fc1f9 | ||
|
|
ae1dc93a14 | ||
|
|
1f236b4b5a | ||
|
|
20ea242f35 | ||
|
|
27af06cbb0 | ||
|
|
705ee7c62c | ||
|
|
bf0a96f21a | ||
|
|
0d91cdd132 | ||
|
|
3b39752ab7 | ||
|
|
1131bff3ec | ||
|
|
ccf79afdd0 | ||
|
|
6283e92339 | ||
|
|
5b3d3c401d | ||
|
|
5e59fc3c17 | ||
|
|
34db90ba19 | ||
|
|
bcfae6b009 | ||
|
|
9c9d862bc8 | ||
|
|
80c35f4b6b | ||
|
|
874dd6652f | ||
|
|
f6e7cbcdf3 | ||
|
|
19ef177d7b | ||
|
|
97ddc838a8 | ||
|
|
bd964771fb | ||
|
|
1ffee2dcda | ||
|
|
30a9e9882e | ||
|
|
0a2df0127f | ||
|
|
bc427f7d2b | ||
|
|
c124348484 | ||
|
|
8a9ac4a8d6 | ||
|
|
82c85e3ca2 | ||
|
|
dac5cd55ad | ||
|
|
9a6cf6ee7b | ||
|
|
093c70eeb4 | ||
|
|
e286e70b0b | ||
|
|
df551cf4af | ||
|
|
e0177db7e9 | ||
|
|
1b5bbf4aee | ||
|
|
04aec20a45 | ||
|
|
0c2ecb44a8 | ||
|
|
ff39c6ea31 | ||
|
|
21272960c9 | ||
|
|
7ed057b262 | ||
|
|
ab1e082de9 | ||
|
|
9c67c9346b | ||
|
|
d1f03ec889 | ||
|
|
d690fd8cb8 | ||
|
|
50feec07ae | ||
|
|
3c1bcfa999 | ||
|
|
2885c4b129 | ||
|
|
bbc2b74a65 | ||
|
|
c5c9b1b96d | ||
|
|
9689fd5a01 | ||
|
|
1a9d80274c | ||
|
|
7d78787b6c | ||
|
|
9c9a03c63d | ||
|
|
ea2276b984 | ||
|
|
a6c848a560 | ||
|
|
5fa70908d8 | ||
|
|
ea66e0944a | ||
|
|
c2a96098a4 | ||
|
|
ce4a0a7e3f | ||
|
|
df52c64021 | ||
|
|
def7fc7292 | ||
|
|
cd9e9d4bd1 | ||
|
|
8f12102ce1 | ||
|
|
aa249a044d | ||
|
|
5c04347cbe | ||
|
|
224be4eb46 | ||
|
|
c4320ae53d | ||
|
|
b9a08a12ae | ||
|
|
834e63ca21 | ||
|
|
4ca4f347c5 | ||
|
|
527fb7fa4e | ||
|
|
f42665f01f | ||
|
|
dff4d3d0e6 | ||
|
|
5917419cb7 | ||
|
|
2464db338b | ||
|
|
2ba6c42ac0 | ||
|
|
bacd07d8d3 | ||
|
|
c9096ce923 | ||
|
|
0c3c47f848 | ||
|
|
cfb858f1d8 | ||
|
|
678d1fa782 | ||
|
|
680430510c | ||
|
|
c7d7f8670f | ||
|
|
c710b64eb3 | ||
|
|
8f038d53f5 | ||
|
|
be9e54b85f | ||
|
|
d28f79e855 | ||
|
|
f4aa42caa1 | ||
|
|
c65c57b984 | ||
|
|
3dfdce733f | ||
|
|
7ac944ec28 | ||
|
|
1a1776ca2a | ||
|
|
19129266b2 | ||
|
|
5903f68ef6 | ||
|
|
deab8fb0d8 | ||
|
|
0a38241d6b | ||
|
|
312ae30f4a | ||
|
|
005be3df3c | ||
|
|
48ecbaacfb | ||
|
|
1469964a77 | ||
|
|
8f9fbee0e5 | ||
|
|
8bfef285b0 | ||
|
|
24756d9cf3 | ||
|
|
64f10154af | ||
|
|
24c3e865d7 | ||
|
|
8d81da253c | ||
|
|
9c0709681d | ||
|
|
93bf5840f6 | ||
|
|
886c4a7881 | ||
|
|
57f04e8794 | ||
|
|
8b3a4fe9e9 | ||
|
|
2c9ca9d622 | ||
|
|
98ac2a51c9 | ||
|
|
f8f672052e | ||
|
|
48e3a59b19 | ||
|
|
8f4af87dea | ||
|
|
afae4a6146 | ||
|
|
c40cfc83bc | ||
|
|
7f8d8c3fce | ||
|
|
d70d2732bd | ||
|
|
b3c440dcbf | ||
|
|
178d50d09e | ||
|
|
46fe4bb86f | ||
|
|
5cf53e2a16 | ||
|
|
42fca1820c | ||
|
|
ecf882e748 | ||
|
|
c493de2c85 | ||
|
|
2a24f20cce | ||
|
|
95cc74677f | ||
|
|
012ce5fd51 | ||
|
|
456589ac2d | ||
|
|
77a8fd8c0b | ||
|
|
4b9ff91ec5 | ||
|
|
c56c4538b9 | ||
|
|
87bc06383d | ||
|
|
506a05de92 | ||
|
|
5501cdbecd | ||
|
|
9a62d2b758 | ||
|
|
7791e53278 | ||
|
|
75cae4e4d7 | ||
|
|
cacef6fe5a | ||
|
|
2c2ad752a7 | ||
|
|
5acbf1e199 | ||
|
|
ec79066211 | ||
|
|
b95b083bb2 | ||
|
|
172fca2018 | ||
|
|
22c2c25ab4 | ||
|
|
0a200e1668 | ||
|
|
552448c71f | ||
|
|
c85a8e9455 | ||
|
|
8cb06f5587 | ||
|
|
147a90847a | ||
|
|
72aac077f8 | ||
|
|
f647ad4ae1 | ||
|
|
93fdb93774 | ||
|
|
11985e8066 | ||
|
|
2355facd39 | ||
|
|
642ba3a2dc | ||
|
|
eb84022abf | ||
|
|
2236ba7d26 | ||
|
|
ede359bdca | ||
|
|
f9e3c37922 | ||
|
|
3b042657fd | ||
|
|
a7c92ac7ce | ||
|
|
fc5ef29ea2 | ||
|
|
9e979d262a | ||
|
|
32fec96d4b | ||
|
|
b001360d69 | ||
|
|
abdf91e675 | ||
|
|
c959b39443 | ||
|
|
e316feb061 | ||
|
|
47231d69c6 | ||
|
|
754f24ec7f | ||
|
|
77a27f0bd5 | ||
|
|
9487cc3c87 | ||
|
|
ce79ed326d | ||
|
|
d5ab2b7949 | ||
|
|
ced15af985 | ||
|
|
a5756c27c0 | ||
|
|
6e7aa8efa5 | ||
|
|
db1987d3b2 | ||
|
|
2c9bb779b5 | ||
|
|
12b28f750d | ||
|
|
fd55fbb4e9 | ||
|
|
4e92473cba | ||
|
|
3e47402f97 | ||
|
|
21242df766 | ||
|
|
7c471d77f9 | ||
|
|
d4ff12cd0f | ||
|
|
9f4917df14 | ||
|
|
e52d437380 | ||
|
|
9f0e01cfbe | ||
|
|
a9b55344cd | ||
|
|
98a5c00500 | ||
|
|
9d39da450a | ||
|
|
3c57f1d05f | ||
|
|
96ebe8124f | ||
|
|
5f52768ee5 | ||
|
|
c1c027dd61 | ||
|
|
52c52d0be3 | ||
|
|
3c5e5e347d | ||
|
|
9af103272b | ||
|
|
1f674ded22 | ||
|
|
b23ed8466f | ||
|
|
0a40c92047 | ||
|
|
cdf2c0fa80 | ||
|
|
d0eeba5afd | ||
|
|
bc33acb5ba | ||
|
|
9a3bd988ca | ||
|
|
07194667bf | ||
|
|
ae4599f76d | ||
|
|
10ecfe1bc7 | ||
|
|
1df5aa7106 | ||
|
|
8bd59301c5 | ||
|
|
247adea514 | ||
|
|
7c1ebc4529 | ||
|
|
606949513c | ||
|
|
951e1bd976 | ||
|
|
d702a5a35d | ||
|
|
5775cbb68b | ||
|
|
e63d99b63e | ||
|
|
b06652c350 | ||
|
|
a5239e2eb3 | ||
|
|
fc9d3b68e5 | ||
|
|
0b1b7dd346 | ||
|
|
acd81ef80e | ||
|
|
321cffb8fa | ||
|
|
d47fb66c3f | ||
|
|
400e9ff174 | ||
|
|
768e3a212f | ||
|
|
1b52b7d751 | ||
|
|
bf435a0896 | ||
|
|
364c7b39d3 | ||
|
|
f0d0d607d0 | ||
|
|
e74dd2c5d7 | ||
|
|
61ac5426dc | ||
|
|
68f0f267fb | ||
|
|
5d78732127 | ||
|
|
e1a1222ad8 | ||
|
|
de1308f280 | ||
|
|
109bc2e938 | ||
|
|
12b9c7a8e1 | ||
|
|
1454578d87 | ||
|
|
a2a473fb68 | ||
|
|
17d5d37024 | ||
|
|
58071dce52 | ||
|
|
6da1762b63 | ||
|
|
32c35a5566 | ||
|
|
dccc3908ee | ||
|
|
84bd2e1340 | ||
|
|
1eeef00a16 | ||
|
|
9f78629b6a | ||
|
|
999667a417 | ||
|
|
51676cb749 | ||
|
|
04e75e981b | ||
|
|
4b09260e32 | ||
|
|
33408fc269 | ||
|
|
9ef8618dd0 | ||
|
|
7e3bde5371 | ||
|
|
cfc1fa1fc4 | ||
|
|
00f5752291 | ||
|
|
d17c089c24 | ||
|
|
7ea7d07ff8 | ||
|
|
6fc2397707 | ||
|
|
fc92c0bafb | ||
|
|
dab52ae093 | ||
|
|
8fc0e20ef9 | ||
|
|
b886bd7e85 | ||
|
|
fd7c8237f8 | ||
|
|
4443036e23 | ||
|
|
40f75bc068 | ||
|
|
437fbace02 | ||
|
|
05a883a9e9 | ||
|
|
36b76ad34f | ||
|
|
e5b532f741 | ||
|
|
4cc0be40e9 | ||
|
|
a320ce23bc | ||
|
|
c3c8d7163b | ||
|
|
b1800f7139 | ||
|
|
d0c0f69f8e | ||
|
|
6cc390734e | ||
|
|
dcd3e302b3 | ||
|
|
81796ae96f | ||
|
|
9f42252321 | ||
|
|
2bfe0ee98e | ||
|
|
099ee6d594 | ||
|
|
09f38186ac | ||
|
|
367657a9f4 | ||
|
|
4432880a54 | ||
|
|
5943b4dc5b | ||
|
|
bc13543166 | ||
|
|
893a7b6e73 | ||
|
|
88eaedf2f2 | ||
|
|
6e54bb4c23 | ||
|
|
16d3442fae | ||
|
|
73bee79349 | ||
|
|
7975f77a1d | ||
|
|
7722810b57 | ||
|
|
dca82ad1bd | ||
|
|
c15132658f | ||
|
|
38925cb19c | ||
|
|
7912ff0e8c | ||
|
|
1afe231c5e | ||
|
|
896c6f5024 | ||
|
|
0f5fae37f4 | ||
|
|
e260ff386a | ||
|
|
9951859b0a | ||
|
|
b43d8f18fb | ||
|
|
1cb82aa653 | ||
|
|
1f3fba3d19 | ||
|
|
63eb10446a | ||
|
|
a1e8a7241b | ||
|
|
798c34efbe | ||
|
|
11321ebd99 | ||
|
|
a8a38dade5 | ||
|
|
cfda95c996 | ||
|
|
7e0fab66c8 | ||
|
|
8f559f03d5 | ||
|
|
523fccf036 | ||
|
|
6dcf750e24 | ||
|
|
ab48587e91 | ||
|
|
8e4390ebed | ||
|
|
60cbe5863f | ||
|
|
41efef6762 | ||
|
|
944cf27ce2 | ||
|
|
e8d2e8c48d | ||
|
|
a5dc0cd6dc | ||
|
|
f709076071 | ||
|
|
ada81af4d9 | ||
|
|
829d634f19 | ||
|
|
f399b3f0dd | ||
|
|
1e5ee27ebb | ||
|
|
ff4b37a0f9 | ||
|
|
809fc443af | ||
|
|
4dae1a59aa | ||
|
|
c301764467 | ||
|
|
c7f8d98fab | ||
|
|
bc7c1af918 | ||
|
|
472bb6a082 | ||
|
|
014f113bd5 | ||
|
|
56515bbd9b | ||
|
|
cfcee48d83 | ||
|
|
2b4dee1949 | ||
|
|
cea6576f51 | ||
|
|
1c6e5e9f14 | ||
|
|
4819389f55 | ||
|
|
b87f217571 | ||
|
|
e13c41969a | ||
|
|
793aa10e87 | ||
|
|
2e7f0d181b | ||
|
|
37cd15e9b9 | ||
|
|
bd027a55c7 | ||
|
|
fb61636a05 |
+23
-9
@@ -1,9 +1,23 @@
|
||||
.htaccess
|
||||
/nbproject/
|
||||
/vendor/*
|
||||
!/vendor/easyui
|
||||
/.idea/
|
||||
documents/
|
||||
.settings
|
||||
.project
|
||||
.buildpath
|
||||
.htaccess
|
||||
.htaccessbak
|
||||
bin
|
||||
/nbproject/
|
||||
/vendor/*
|
||||
!/vendor/FHC-vendor
|
||||
/.idea/
|
||||
documents/
|
||||
.settings
|
||||
.project
|
||||
.buildpath
|
||||
application/config/development/
|
||||
tests/codeception/_output/*
|
||||
!/tests/codeception/_output/.placeholder
|
||||
tests/codeception/codeception.yml
|
||||
tests/codeception/tests/api.suite.yml
|
||||
tests/codeception/tests/functional.suite.yml
|
||||
tests/codeception/tests/acceptance.suite.yml
|
||||
tests/codeception/tests/unit.suite.yml
|
||||
/submodules/d3
|
||||
bin
|
||||
/application/logs/
|
||||
/sparks/*
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
[submodule "submodules/tablesorter"]
|
||||
path = submodules/tablesorter
|
||||
url = https://github.com/christianbach/tablesorter.git
|
||||
[submodule "submodules/bootstrap"]
|
||||
path = submodules/bootstrap
|
||||
url = https://github.com/twbs/bootstrap.git
|
||||
|
||||
Executable
+106
@@ -0,0 +1,106 @@
|
||||
# Change Log
|
||||
|
||||
## [3.2]
|
||||
|
||||
### Added
|
||||
|
||||
- **[FAS]** Unterstützung für gemeinsame Studien hinzugefügt
|
||||
- **[FAS]** Inaktive Mitarbeiter sind jetzt ausgegraut
|
||||
- **[FAS]** Anmerkungsfeld bei Konto-Buchungen hinzugefügt
|
||||
- **[CIS]** Lehrveranstaltung Menü auf Studienplan Basis und Modularisiert
|
||||
- **[CIS]** Ampeln koennen nun verpflichtend sein und Sperren die GUI
|
||||
- **[FAS]** Bei Mitarbeitern können Notizen erfasst werden
|
||||
- **[FAS]** Im FAS gibt es einen neuen Karteireiter Messages. Hier können Nachrichten an Studierende übermittelt werden. Die Kommunikation des Aufnahme Addons wird über Messages abgewickelt.
|
||||
- **[FAS]** Neuer Karteireiter Aufnahmetermine ersetzt die Reihungstestauswahl im Karteireiter Prestudent
|
||||
- **[CORE]** Es können nun beliebig viele Reihungstests pro Person gespeichert werden.
|
||||
- **[CORE]** Reihungstests können mehrere Räume zugeteilt werden. Die angemeldeten Studierenden können auf diese Räume aufgeteilt werden. Es gibt dann getrennte Anwesenheitslisten für jeden Raum
|
||||
- **[CORE]** Reihungstests haben jetzt verschiedene Stufen
|
||||
- **[CORE]** Reihungstests können Studiensemestern zugeordnet werden
|
||||
- **[CORE]** Reihungstests können Studienpläne zugeordnet werden. Dies legt fest welche Personen sich zu diesen Reihungstests anmelden können.
|
||||
- **[CORE]** Es gibt eine Anmeldefrist für Reihungstests
|
||||
- **[CORE]** Codeigniter Framework wird als neue Basis verwendet.
|
||||
- **[CORE]** REST API für Zugriff auf alle Daten
|
||||
- **[CORE]** Neues Phrasenmodul für Orgform spezifische Phrasen
|
||||
- **[CORE]** Der Zugriff auf Reports kann mitgeloggt werden
|
||||
- **[CORE]** Der Zugriff auf CMS Seiten kann mitgeloggt werden
|
||||
- **[FAS]** Es ist möglich bei Statusänderungen im FAS automatisierte Nachrichten an die Studierenden zu senden
|
||||
- **[FAS]** Bewerberakt - Erstellung eines Akts mit allen hochgeladenen Dokumenten einer Person
|
||||
- **[FAS]** Bewerbungsfristen für einzelen Studienpläne
|
||||
- **[FAS]** Beim Statuswechsel kann ein Statusgrund hinterlegt werden.
|
||||
- **[FAS]** Es kann pro Studiengang hinterlegt werden ob ein Dokument nachreichbar ist oder nicht
|
||||
- **[FAS]** Arbeitsplätze bei Räumen (zB für EDV Säle mit 50 Plätzen aber nur 25 PCs)
|
||||
- **[FAS]** Zuteilung von Prestudenten zu Aufnahmegruppen
|
||||
- **[FAS]** Zusätzliches Feld für Uhrzeit bei Abschlussprüfung
|
||||
- **[FAS]** Reihungstest Dropdown zeigt verfügbare/belegte Plätze an
|
||||
- **[CORE]** Reihungstest Punkteübernahme oder Prozentpunkte ist konfigurierbar
|
||||
- **[CIS]** LVPlan Export für Excel
|
||||
- **[FAS]** Termine Karteireiter im FAS zeigt die Anmerkung aus dem LVPlan an
|
||||
- **[CIS]** Onlinebewerbungstool greift auf mehrsprachige Statusbezeichnungen zu.
|
||||
- **[CIS]** Config-Einträge für die Tabellenspalten beim Eintragen der Gesamtnote hinzugefügt.
|
||||
- **[CIS]** Prüfungsverwaltung: Config-Eintrag hinzugefügt um die Accordion-Elemente ein- und auszublenden.
|
||||
|
||||
### Changed
|
||||
- **[FAS]** Dokumente Menü im FAS neu sortiert um den Lebenszyklus des Studierenden abzubilden
|
||||
- **[CORE]** LVPlan Update Mail ist nun zweisprachig Deutsch/Englisch
|
||||
- **[FAS]** Prüfungen im FAS werden nur noch vom aktuell ausgewählten Studiensemester angezeigt. Umschalten auf volle Ansicht möglich
|
||||
- **[CIS]** LVPlan Begrenzung der 4er Blockung aufgehoben.
|
||||
- **[CIS]** Im Menü 'Zeitsperren' Link zu Resturlaubsübersicht entfernt. Falls benötigt Verlinkung über CMS möglich.
|
||||
- **[CORE]** Removed NOT NULL constraint on 'verfasser\_uid' from public.tbl\_notiz
|
||||
- **[CIS]** Studienplanansicht: Wenn eine LV nicht benotet ist, aber eine kompatible LV mit vorhandener Anrechnung benotet ist wird diese Note angezeigt.
|
||||
- **[FAS]** Die RDF-Schnittstelle für das Zeugnis prüft bei Anrechnungen ob, die ECTS-Punkte übereinstimmen und wählt bei ungleichen Werten jene der angerechneten LV.
|
||||
- **[FAS]** Der Ausbildungsvertrag kann nun jederzeit erstellt werden, auch wenn eine Person noch kein Student ist. Wenn in der Vorlage des Ausbildungsvertrags ein Attribut des Studenten-Datensatzen (zB Personenkennzeichen) abgefragt wird und eine Person noch nicht Student ist, kann dieses nicht angedruckt werden und sollte aus der Vorlage entfernt werden.
|
||||
- **[CORE]** Check Constraint in der Datenbank für SVNR - Diese muss 10, 12 oder 16 Zeichen lang sein
|
||||
|
||||
### Updateinfo
|
||||
- **[FAS]** Für Lehraufträge muss eine Unoconv-Vorlage erstellt werden, da der für xsl-fo notwendige Seitenumbruch-Tag aus dem RDF entfernt wurde.
|
||||
- **[FAS]** Mehrsprachigkeitsspalte tbl_status.bezeichnung_mehrsprachig wird durch das Updatescript automatisch in den ersten beiden Sprachen mit der status_kurzbz vorbefüllt. Übersetzungen sind anzupassen.
|
||||
- **[MOODLE]** Neue Webservicefunktion core_user_update_users wird benötigt
|
||||
- **[CORE]** Kommune wurde aus Core entfernt
|
||||
- **[DEPRECATED]]** WaWi wurde in ein Addon (FHC-ADDON-WAWI) ausgelagert. Die Funktionalität im Core wird demnächst entfernt.
|
||||
- **[DEPRECATED]]** LV-Informationen (FHC-ADDON-LVINFO) wurde in ein Addon ausgelagert. Die Funktionalität im Core wird demnächst entfernt
|
||||
- **[DEPRECATED]]** Punkte1, Punkte2 und Punkte3 in tbl_prestudent werden nicht mehr verwendet und in zukünftigen Versionen entfernt. Diese werden jetzt in tbl_rt_person gespeichert
|
||||
- **[DEPRECATED]]** anmeldungreihungstest in tbl_prestudent wird nicht mehr verwendet und in zukünftigen Versionen entfernt
|
||||
- **[CORE]** Spalte php und r wurde aus tbl_statistik entfernt
|
||||
- **[DEPRECATED]** Spalte ort_kurzbz in tbl_reihungstest wird nicht mehr verwendet und in zukünftigen Versionen entfernt
|
||||
|
||||
Zum Update auf diese Version folgen Sie den Anweisungen auf folgender Seite:
|
||||
http://fhcomplete.technikum-wien.at/dokuwiki/doku.php?id=fh-complete:codeigniter
|
||||
|
||||
## [3.1.0] - 2015-11-12
|
||||
### Added
|
||||
|
||||
- **[FAS]** Bei Noten können zusätzlich Punkte gespeichert werden. Notenschlüssel für Gesamtnote kann hinterlegt werden
|
||||
- **[FAS]** Anwesenheiten von Studierenden können erfasst werden
|
||||
- **[FAS]** Vertragsverwaltung bei Mitarbeiter
|
||||
- **[FAS]** Dokumente im FAS können mit SHIFT bzw STRG statt als PDF auch als DOC oder ODT erstellt werden
|
||||
- **[BERECHTIGUNG]** system/changeoutputformat Legt fest ob Dokumente als DOC/ODT exportiert werden dürfen
|
||||
- **[FAS]** Termine Karteireiter im FAS zeigt den LVPlan von Studierenden/Lehrveranstaltungen
|
||||
- **[FAS]** Bereits verplante Lektoren können vom FAS aus, aus dem LVPlan gelöscht werden. Zusätzlich wird im FAS angezeigt ob dieser Lektor bereits verplant ist
|
||||
- **[FAS]** Bereits verplante Gruppen können direkt vom FAS heraus aus dem LV-Plan gelöscht werden wenn diese bereits verplant wurden.
|
||||
- **[TEMPUS]** Drop auf Lehrstunde Feature für 2 Gruppen die zur selben Zeit im gleichen Raum unterricht haben (Setzt UNR gleich damit es nicht als kollision angezeigt wird)
|
||||
- **[TEMPUS]** Option zum Anzeigen von allen Einträgen damit auch Incominggruppen und Gruppen aus anderen Studiengängen sichtbar sind
|
||||
- **[FAS]** Bei Notizen können jetzt zusätzlich Dokumente hochgeladen werden
|
||||
- **[CORE]** Bei Dokumentenvorlagen können nun Style und content.xml auf einmal erfasst werden, Dokumente können deaktiviert werden, Eigene GUI im Vilesci zum Verwalten der Dokumentenvorlagen
|
||||
- **[CORE]** Mehrsprachigkeit bei diversen Tabellen (Dokumente, ZGV, ...) hinzugefügt
|
||||
|
||||
### Fixed
|
||||
- **[TEMPUS]** Kollisionsfreie User werden in Verbandsansicht nicht mehr als Kollision angezeigt
|
||||
|
||||
### Changed
|
||||
- **[FAS]** Stundenobergrenze für Lektoren kann jetzt pro Organisationseinheit festgelegt werden. (warn_semesterstunden_frei/fix tbl_organisationseinheit)
|
||||
- **[BERECHTIGUNG]** lv-plan/gruppenentfernen Lektorenänderung: Lektoren die bereits verplant sind können jetzt auch dann direkt im FAS geändert werden, wenn dadurch eine Kollision entsteht. Vorraussetzung dafür ist, dass ignore_kollision true ist. Wenn ignore_kollision false ist, dann ist die Lektorenänderung nicht mehr möglich. Vorher wurde der Lektor in diesem Fall nur im FAS geändert aber nicht im LVPlan.
|
||||
- **[FAS]** Ausstellungsstaat der ZGV wird jetzt getrennt für Bachelor und Master erfasst
|
||||
|
||||
|
||||
## [3.0.0] - 2015-02-13
|
||||
### Added
|
||||
|
||||
- **[CORE]** Studienordnungen / Studienpläne
|
||||
- **[CORE]** Module
|
||||
- **[CIS]** CIS Redesign
|
||||
- **[CORE]** Unterstützung für Addons
|
||||
- **[FAS]** Notizsystem
|
||||
|
||||
### Fixed
|
||||
|
||||
- **[CORE]** Diverse Bugfixes
|
||||
@@ -1,23 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<h1 style="text-align: center;"><br>
|
||||
</h1>
|
||||
<h1 style="text-align: center;"><br>
|
||||
</h1>
|
||||
<h1 style="text-align: center;"><big>System-Umstellung</big></h1>
|
||||
<br>
|
||||
<h2 style="text-align: center;">Ende der Umstellung ist vorraussichtlich <big><span style="text-decoration: underline;">
|
||||
Dienstag 6.2.2007 19:00 Uhr</span></big></h2>
|
||||
<br>
|
||||
<div style="text-align: right;">
|
||||
<h3><br>
|
||||
</h3>
|
||||
<h3><br>
|
||||
</h3>
|
||||
<h3>Wir bitten um Ihr Verständnis!</h3>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,4 +1,7 @@
|
||||
# FH-Complete
|
||||
|
||||
[](http://phpci.fhcomplete.org/project/view/1)
|
||||
|
||||
* [FH-Complete Homepage](http://www.fhcomplete.org)
|
||||
* [Wiki](http://fhcomplete.technikum-wien.at/dokuwiki/)
|
||||
* [Changelog](CHANGELOG.md)
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/* Copyright (C) 2015 fhcomplete.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* Authors: Andreas Oesterreicher <[email protected]>
|
||||
*/
|
||||
/**
|
||||
* Initialisierung des Addons
|
||||
*/
|
||||
?>
|
||||
if(typeof addon =='undefined')
|
||||
var addon=Array();
|
||||
|
||||
addon.push(
|
||||
{
|
||||
init: function(page, params)
|
||||
{
|
||||
// Diese Funktion wird nach dem Laden der Seite im CIS aufgerufen
|
||||
|
||||
/*
|
||||
switch(page)
|
||||
{
|
||||
case 'cis/private/tools/zeitaufzeichnung.php':
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
*/
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/* Copyright (C) 2015 fhcomplete.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* Authors: Andreas Oesterreicher <[email protected]>
|
||||
*/
|
||||
/**
|
||||
* Initialisierung des Addons
|
||||
*/
|
||||
?>
|
||||
if(typeof addon =='undefined')
|
||||
var addon=Array();
|
||||
|
||||
addon.push(
|
||||
{
|
||||
init: function(page, params)
|
||||
{
|
||||
// Diese Funktion wird nach dem Laden der Seite im Vilesci aufgerufen
|
||||
|
||||
/*
|
||||
switch(page)
|
||||
{
|
||||
case 'vilesci/lehre/lehrveranstaltung.php':
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
*/
|
||||
}
|
||||
});
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Executable
+132
@@ -0,0 +1,132 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| AUTO-LOADER
|
||||
| -------------------------------------------------------------------
|
||||
| This file specifies which systems should be loaded by default.
|
||||
|
|
||||
| In order to keep the framework as light-weight as possible only the
|
||||
| absolute minimal resources are loaded by default. For example,
|
||||
| the database is not connected to automatically since no assumption
|
||||
| is made regarding whether you intend to use it. This file lets
|
||||
| you globally define which systems you would like loaded with every
|
||||
| request.
|
||||
|
|
||||
| -------------------------------------------------------------------
|
||||
| Instructions
|
||||
| -------------------------------------------------------------------
|
||||
|
|
||||
| These are the things you can load automatically:
|
||||
|
|
||||
| 1. Packages
|
||||
| 2. Libraries
|
||||
| 3. Drivers
|
||||
| 4. Helper files
|
||||
| 5. Custom config files
|
||||
| 6. Language files
|
||||
| 7. Models
|
||||
|
|
||||
*/
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| Auto-load Packages
|
||||
| -------------------------------------------------------------------
|
||||
| Prototype:
|
||||
|
|
||||
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
|
||||
|
|
||||
*/
|
||||
$autoload['packages'] = array();
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| Auto-load Libraries
|
||||
| -------------------------------------------------------------------
|
||||
| These are the classes located in system/libraries/ or your
|
||||
| application/libraries/ directory, with the addition of the
|
||||
| 'database' library, which is somewhat of a special case.
|
||||
|
|
||||
| Prototype:
|
||||
|
|
||||
| $autoload['libraries'] = array('database', 'email', 'session');
|
||||
|
|
||||
| You can also supply an alternative library name to be assigned
|
||||
| in the controller:
|
||||
|
|
||||
| $autoload['libraries'] = array('user_agent' => 'ua');
|
||||
*/
|
||||
|
||||
//$autoload['libraries'] = array();
|
||||
$autoload['libraries'] = array('Session', 'FHC_Auth', 'TemplateLib');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| Auto-load Drivers
|
||||
| -------------------------------------------------------------------
|
||||
| These classes are located in system/libraries/ or in your
|
||||
| application/libraries/ directory, but are also placed inside their
|
||||
| own subdirectory and they extend the CI_Driver_Library class. They
|
||||
| offer multiple interchangeable driver options.
|
||||
|
|
||||
| Prototype:
|
||||
|
|
||||
| $autoload['drivers'] = array('cache');
|
||||
*/
|
||||
$autoload['drivers'] = array();
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| Auto-load Helper Files
|
||||
| -------------------------------------------------------------------
|
||||
| Prototype:
|
||||
|
|
||||
| $autoload['helper'] = array('url', 'file');
|
||||
*/
|
||||
//$autoload['helper'] = array();
|
||||
$autoload['helper'] = array('url', 'language');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| Auto-load Config files
|
||||
| -------------------------------------------------------------------
|
||||
| Prototype:
|
||||
|
|
||||
| $autoload['config'] = array('config1', 'config2');
|
||||
|
|
||||
| NOTE: This item is intended for use ONLY if you have created custom
|
||||
| config files. Otherwise, leave it blank.
|
||||
|
|
||||
*/
|
||||
$autoload['config'] = array('fhcomplete');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| Auto-load Language files
|
||||
| -------------------------------------------------------------------
|
||||
| Prototype:
|
||||
|
|
||||
| $autoload['language'] = array('lang1', 'lang2');
|
||||
|
|
||||
| NOTE: Do not include the "_lang" part of your file. For example
|
||||
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
||||
|
|
||||
*/
|
||||
$autoload['language'] = array('fhcomplete');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| Auto-load Models
|
||||
| -------------------------------------------------------------------
|
||||
| Prototype:
|
||||
|
|
||||
| $autoload['model'] = array('first_model', 'second_model');
|
||||
|
|
||||
| You can also supply an alternative model name to be assigned
|
||||
| in the controller:
|
||||
|
|
||||
| $autoload['model'] = array('first_model' => 'first');
|
||||
*/
|
||||
$autoload['model'] = array();
|
||||
Executable
+517
@@ -0,0 +1,517 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Base Site URL
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| URL to your CodeIgniter root. Typically this will be your base URL,
|
||||
| WITH a trailing slash:
|
||||
|
|
||||
| http://example.com/
|
||||
|
|
||||
| If this is not set then CodeIgniter will try guess the protocol, domain
|
||||
| and path to your installation. However, you should always configure this
|
||||
| explicitly and never rely on auto-guessing, especially in production
|
||||
| environments.
|
||||
|
|
||||
*/
|
||||
$config['base_url'] = 'http://phpci.fhcomplete.org/build/fhcomplete/';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Index File
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Typically this will be your index.php file, unless you've renamed it to
|
||||
| something else. If you are using mod_rewrite to remove the page set this
|
||||
| variable so that it is blank.
|
||||
|
|
||||
*/
|
||||
$config['index_page'] = 'index.ci.php';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| URI PROTOCOL
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This item determines which server global should be used to retrieve the
|
||||
| URI string. The default setting of 'REQUEST_URI' works for most servers.
|
||||
| If your links do not seem to work, try one of the other delicious flavors:
|
||||
|
|
||||
| 'REQUEST_URI' Uses $_SERVER['REQUEST_URI']
|
||||
| 'QUERY_STRING' Uses $_SERVER['QUERY_STRING']
|
||||
| 'PATH_INFO' Uses $_SERVER['PATH_INFO']
|
||||
|
|
||||
| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
|
||||
*/
|
||||
$config['uri_protocol'] = 'REQUEST_URI';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| URL suffix
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option allows you to add a suffix to all URLs generated by CodeIgniter.
|
||||
| For more information please see the user guide:
|
||||
|
|
||||
| http://codeigniter.com/user_guide/general/urls.html
|
||||
*/
|
||||
$config['url_suffix'] = '';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Language
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This determines which set of language files should be used. Make sure
|
||||
| there is an available translation if you intend to use something other
|
||||
| than english.
|
||||
|
|
||||
*/
|
||||
$config['language'] = 'de-AT';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Character Set
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This determines which character set is used by default in various methods
|
||||
| that require a character set to be provided.
|
||||
|
|
||||
| See http://php.net/htmlspecialchars for a list of supported charsets.
|
||||
|
|
||||
*/
|
||||
$config['charset'] = 'UTF-8';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Enable/Disable System Hooks
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If you would like to use the 'hooks' feature you must enable it by
|
||||
| setting this variable to TRUE (boolean). See the user guide for details.
|
||||
|
|
||||
*/
|
||||
$config['enable_hooks'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Class Extension Prefix
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This item allows you to set the filename/classname prefix when extending
|
||||
| native libraries. For more information please see the user guide:
|
||||
|
|
||||
| http://codeigniter.com/user_guide/general/core_classes.html
|
||||
| http://codeigniter.com/user_guide/general/creating_libraries.html
|
||||
|
|
||||
*/
|
||||
$config['subclass_prefix'] = 'FHC_';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Composer auto-loading
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Enabling this setting will tell CodeIgniter to look for a Composer
|
||||
| package auto-loader script in application/vendor/autoload.php.
|
||||
|
|
||||
| $config['composer_autoload'] = TRUE;
|
||||
|
|
||||
| Or if you have your vendor/ directory located somewhere else, you
|
||||
| can opt to set a specific path as well:
|
||||
|
|
||||
| $config['composer_autoload'] = '/path/to/vendor/autoload.php';
|
||||
|
|
||||
| For more information about Composer, please visit http://getcomposer.org/
|
||||
|
|
||||
| Note: This will NOT disable or override the CodeIgniter-specific
|
||||
| autoloading (application/config/autoload.php)
|
||||
*/
|
||||
$config['composer_autoload'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Allowed URL Characters
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This lets you specify which characters are permitted within your URLs.
|
||||
| When someone tries to submit a URL with disallowed characters they will
|
||||
| get a warning message.
|
||||
|
|
||||
| As a security measure you are STRONGLY encouraged to restrict URLs to
|
||||
| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
|
||||
|
|
||||
| Leave blank to allow all characters -- but only if you are insane.
|
||||
|
|
||||
| The configured value is actually a regular expression character group
|
||||
| and it will be executed as: ! preg_match('/^[<permitted_uri_chars>]+$/i
|
||||
|
|
||||
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
||||
|
|
||||
*/
|
||||
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Enable Query Strings
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| By default CodeIgniter uses search-engine friendly segment based URLs:
|
||||
| example.com/who/what/where/
|
||||
|
|
||||
| By default CodeIgniter enables access to the $_GET array. If for some
|
||||
| reason you would like to disable it, set 'allow_get_array' to FALSE.
|
||||
|
|
||||
| You can optionally enable standard query string based URLs:
|
||||
| example.com?who=me&what=something&where=here
|
||||
|
|
||||
| Options are: TRUE or FALSE (boolean)
|
||||
|
|
||||
| The other items let you set the query string 'words' that will
|
||||
| invoke your controllers and its functions:
|
||||
| example.com/index.php?c=controller&m=function
|
||||
|
|
||||
| Please note that some of the helpers won't work as expected when
|
||||
| this feature is enabled, since CodeIgniter is designed primarily to
|
||||
| use segment based URLs.
|
||||
|
|
||||
*/
|
||||
$config['allow_get_array'] = TRUE;
|
||||
$config['enable_query_strings'] = FALSE;
|
||||
$config['controller_trigger'] = 'c';
|
||||
$config['function_trigger'] = 'm';
|
||||
$config['directory_trigger'] = 'd';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Error Logging Threshold
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| You can enable error logging by setting a threshold over zero. The
|
||||
| threshold determines what gets logged. Threshold options are:
|
||||
|
|
||||
| 0 = Disables logging, Error logging TURNED OFF
|
||||
| 1 = Error Messages (including PHP errors)
|
||||
| 2 = Debug Messages
|
||||
| 3 = Informational Messages
|
||||
| 4 = All Messages
|
||||
|
|
||||
| You can also pass an array with threshold levels to show individual error types
|
||||
|
|
||||
| array(2) = Debug Messages, without Error Messages
|
||||
|
|
||||
| For a live site you'll usually only enable Errors (1) to be logged otherwise
|
||||
| your log files will fill up very fast.
|
||||
|
|
||||
*/
|
||||
$config['log_threshold'] = 1;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Error Logging Directory Path
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Leave this BLANK unless you would like to set something other than the default
|
||||
| application/logs/ directory. Use a full server path with trailing slash.
|
||||
|
|
||||
*/
|
||||
$config['log_path'] = '';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Log File Extension
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The default filename extension for log files. The default 'php' allows for
|
||||
| protecting the log files via basic scripting, when they are to be stored
|
||||
| under a publicly accessible directory.
|
||||
|
|
||||
| Note: Leaving it blank will default to 'php'.
|
||||
|
|
||||
*/
|
||||
$config['log_file_extension'] = 'log';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Log File Permissions
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The file system permissions to be applied on newly created log files.
|
||||
|
|
||||
| IMPORTANT: This MUST be an integer (no quotes) and you MUST use octal
|
||||
| integer notation (i.e. 0700, 0644, etc.)
|
||||
*/
|
||||
$config['log_file_permissions'] = 0644;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Date Format for Logs
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Each item that is logged has an associated date. You can use PHP date
|
||||
| codes to set your own date formatting
|
||||
|
|
||||
*/
|
||||
$config['log_date_format'] = 'Y-m-d H:i:s';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Error Views Directory Path
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Leave this BLANK unless you would like to set something other than the default
|
||||
| application/views/errors/ directory. Use a full server path with trailing slash.
|
||||
|
|
||||
*/
|
||||
$config['error_views_path'] = '';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Cache Directory Path
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Leave this BLANK unless you would like to set something other than the default
|
||||
| application/cache/ directory. Use a full server path with trailing slash.
|
||||
|
|
||||
*/
|
||||
$config['cache_path'] = '';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Cache Include Query String
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Whether to take the URL query string into consideration when generating
|
||||
| output cache files. Valid options are:
|
||||
|
|
||||
| FALSE = Disabled
|
||||
| TRUE = Enabled, take all query parameters into account.
|
||||
| Please be aware that this may result in numerous cache
|
||||
| files generated for the same page over and over again.
|
||||
| array('q') = Enabled, but only take into account the specified list
|
||||
| of query parameters.
|
||||
|
|
||||
*/
|
||||
$config['cache_query_string'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Encryption Key
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If you use the Encryption class, you must set an encryption key.
|
||||
| See the user guide for more info.
|
||||
|
|
||||
| http://codeigniter.com/user_guide/libraries/encryption.html
|
||||
|
|
||||
*/
|
||||
$config['encryption_key'] = '';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Variables
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| 'sess_driver'
|
||||
|
|
||||
| The storage driver to use: files, database, redis, memcached
|
||||
|
|
||||
| 'sess_cookie_name'
|
||||
|
|
||||
| The session cookie name, must contain only [0-9a-z_-] characters
|
||||
|
|
||||
| 'sess_expiration'
|
||||
|
|
||||
| The number of SECONDS you want the session to last.
|
||||
| Setting to 0 (zero) means expire when the browser is closed.
|
||||
|
|
||||
| 'sess_save_path'
|
||||
|
|
||||
| The location to save sessions to, driver dependent.
|
||||
|
|
||||
| For the 'files' driver, it's a path to a writable directory.
|
||||
| WARNING: Only absolute paths are supported!
|
||||
|
|
||||
| For the 'database' driver, it's a table name.
|
||||
| Please read up the manual for the format with other session drivers.
|
||||
|
|
||||
| IMPORTANT: You are REQUIRED to set a valid save path!
|
||||
|
|
||||
| 'sess_match_ip'
|
||||
|
|
||||
| Whether to match the user's IP address when reading the session data.
|
||||
|
|
||||
| 'sess_time_to_update'
|
||||
|
|
||||
| How many seconds between CI regenerating the session ID.
|
||||
|
|
||||
| 'sess_regenerate_destroy'
|
||||
|
|
||||
| Whether to destroy session data associated with the old session ID
|
||||
| when auto-regenerating the session ID. When set to FALSE, the data
|
||||
| will be later deleted by the garbage collector.
|
||||
|
|
||||
| Other session cookie settings are shared with the rest of the application,
|
||||
| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here.
|
||||
|
|
||||
*/
|
||||
$config['sess_driver'] = 'files';
|
||||
$config['sess_cookie_name'] = 'ci_session';
|
||||
$config['sess_expiration'] = 7200;
|
||||
$config['sess_save_path'] = NULL;
|
||||
$config['sess_match_ip'] = FALSE;
|
||||
$config['sess_time_to_update'] = 300;
|
||||
$config['sess_regenerate_destroy'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Cookie Related Variables
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| 'cookie_prefix' = Set a cookie name prefix if you need to avoid collisions
|
||||
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
|
||||
| 'cookie_path' = Typically will be a forward slash
|
||||
| 'cookie_secure' = Cookie will only be set if a secure HTTPS connection exists.
|
||||
| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)
|
||||
|
|
||||
| Note: These settings (with the exception of 'cookie_prefix' and
|
||||
| 'cookie_httponly') will also affect sessions.
|
||||
|
|
||||
*/
|
||||
$config['cookie_prefix'] = '';
|
||||
$config['cookie_domain'] = '';
|
||||
$config['cookie_path'] = '/';
|
||||
$config['cookie_secure'] = FALSE;
|
||||
$config['cookie_httponly'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Standardize newlines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Determines whether to standardize newline characters in input data,
|
||||
| meaning to replace \r\n, \r, \n occurrences with the PHP_EOL value.
|
||||
|
|
||||
| This is particularly useful for portability between UNIX-based OSes,
|
||||
| (usually \n) and Windows (\r\n).
|
||||
|
|
||||
*/
|
||||
$config['standardize_newlines'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Global XSS Filtering
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Determines whether the XSS filter is always active when GET, POST or
|
||||
| COOKIE data is encountered
|
||||
|
|
||||
| WARNING: This feature is DEPRECATED and currently available only
|
||||
| for backwards compatibility purposes!
|
||||
|
|
||||
*/
|
||||
$config['global_xss_filtering'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Cross Site Request Forgery
|
||||
|--------------------------------------------------------------------------
|
||||
| Enables a CSRF cookie token to be set. When set to TRUE, token will be
|
||||
| checked on a submitted form. If you are accepting user data, it is strongly
|
||||
| recommended CSRF protection be enabled.
|
||||
|
|
||||
| 'csrf_token_name' = The token name
|
||||
| 'csrf_cookie_name' = The cookie name
|
||||
| 'csrf_expire' = The number in seconds the token should expire.
|
||||
| 'csrf_regenerate' = Regenerate token on every submission
|
||||
| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
|
||||
*/
|
||||
$config['csrf_protection'] = FALSE;
|
||||
$config['csrf_token_name'] = 'csrf_test_name';
|
||||
$config['csrf_cookie_name'] = 'csrf_cookie_name';
|
||||
$config['csrf_expire'] = 7200;
|
||||
$config['csrf_regenerate'] = TRUE;
|
||||
$config['csrf_exclude_uris'] = array();
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Output Compression
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Enables Gzip output compression for faster page loads. When enabled,
|
||||
| the output class will test whether your server supports Gzip.
|
||||
| Even if it does, however, not all browsers support compression
|
||||
| so enable only if you are reasonably sure your visitors can handle it.
|
||||
|
|
||||
| Only used if zlib.output_compression is turned off in your php.ini.
|
||||
| Please do not use it together with httpd-level output compression.
|
||||
|
|
||||
| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
|
||||
| means you are prematurely outputting something to your browser. It could
|
||||
| even be a line of whitespace at the end of one of your scripts. For
|
||||
| compression to work, nothing can be sent before the output buffer is called
|
||||
| by the output class. Do not 'echo' any values with compression enabled.
|
||||
|
|
||||
*/
|
||||
$config['compress_output'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Master Time Reference
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Options are 'local' or any PHP supported timezone. This preference tells
|
||||
| the system whether to use your server's local time as the master 'now'
|
||||
| reference, or convert it to the configured one timezone. See the 'date
|
||||
| helper' page of the user guide for information regarding date handling.
|
||||
|
|
||||
*/
|
||||
$config['time_reference'] = 'local';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Rewrite PHP Short Tags
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If your PHP installation does not have short tag support enabled CI
|
||||
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
|
||||
| in your view files. Options are TRUE or FALSE (boolean)
|
||||
|
|
||||
| Note: You need to have eval() enabled for this to work.
|
||||
|
|
||||
*/
|
||||
$config['rewrite_short_tags'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Reverse Proxy IPs
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If your server is behind a reverse proxy, you must whitelist the proxy
|
||||
| IP addresses from which CodeIgniter should trust headers such as
|
||||
| HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify
|
||||
| the visitor's IP address.
|
||||
|
|
||||
| You can use both an array or a comma-separated list of proxy addresses,
|
||||
| as well as specifying whole subnets. Here are a few examples:
|
||||
|
|
||||
| Comma-separated: '10.0.1.200,192.168.5.0/24'
|
||||
| Array: array('10.0.1.200', '192.168.5.0/24')
|
||||
*/
|
||||
$config['proxy_ips'] = '';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Autoload Custom Controllers
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| It's working, so don't delete this :D
|
||||
*/
|
||||
spl_autoload_register(function ($class) {
|
||||
if (substr($class,0,3) !== 'CI_' && substr($class,0,4) !== 'FHC_')
|
||||
if (file_exists($file = APPPATH . 'core/' . $class . '.php'))
|
||||
require_once $file;
|
||||
});
|
||||
Executable
+105
@@ -0,0 +1,105 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| FH-Complete Constants
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| These constants are used for internal messages. It are also be used
|
||||
| and translated in the language files.
|
||||
|
|
||||
*/
|
||||
define('FHC_SUCCESS', 0); // General Success Message
|
||||
define('FHC_ERROR', 1); // General Error Message
|
||||
define('FHC_MODEL_ERROR', 2); // Model Error
|
||||
define('FHC_DB_ERROR', 3); // Database Error
|
||||
define('FHC_NODBTABLE', 4); // No DB-Table is set
|
||||
define('FHC_NORIGHT', 5); // No rights
|
||||
define('FHC_INVALIDID', 6); // Invalid or no ID (key)
|
||||
define('FHC_NOPK', 7); // No primary key
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| File and Directory Modes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| These prefs are used when checking and setting modes when working
|
||||
| with the file system. The defaults are fine on servers with proper
|
||||
| security, but you may wish (or even need) to change the values in
|
||||
| certain environments (Apache running a separate process for each
|
||||
| user, PHP under CGI with Apache suEXEC, etc.). Octal values should
|
||||
| always be used to set the mode correctly.
|
||||
|
|
||||
*/
|
||||
define('FILE_READ_MODE', 0644);
|
||||
define('FILE_WRITE_MODE', 0666);
|
||||
define('DIR_READ_MODE', 0755);
|
||||
define('DIR_WRITE_MODE', 0755);
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| File Stream Modes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| These modes are used when working with fopen()/popen()
|
||||
|
|
||||
*/
|
||||
define('FOPEN_READ', 'rb');
|
||||
define('FOPEN_READ_WRITE', 'r+b');
|
||||
define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
|
||||
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
|
||||
define('FOPEN_WRITE_CREATE', 'ab');
|
||||
define('FOPEN_READ_WRITE_CREATE', 'a+b');
|
||||
define('FOPEN_WRITE_CREATE_STRICT', 'xb');
|
||||
define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Display Debug backtrace
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If set to TRUE, a backtrace will be displayed along with php errors. If
|
||||
| error_reporting is disabled, the backtrace will not display, regardless
|
||||
| of this setting
|
||||
|
|
||||
*/
|
||||
define('SHOW_DEBUG_BACKTRACE', TRUE);
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Exit Status Codes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Used to indicate the conditions under which the script is exit()ing.
|
||||
| While there is no universal standard for error codes, there are some
|
||||
| broad conventions. Three such conventions are mentioned below, for
|
||||
| those who wish to make use of them. The CodeIgniter defaults were
|
||||
| chosen for the least overlap with these conventions, while still
|
||||
| leaving room for others to be defined in future versions and user
|
||||
| applications.
|
||||
|
|
||||
| The three main conventions used for determining exit status codes
|
||||
| are as follows:
|
||||
|
|
||||
| Standard C/C++ Library (stdlibc):
|
||||
| http://www.gnu.org/software/libc/manual/html_node/Exit-Status.html
|
||||
| (This link also contains other GNU-specific conventions)
|
||||
| BSD sysexits.h:
|
||||
| http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=sysexits
|
||||
| Bash scripting:
|
||||
| http://tldp.org/LDP/abs/html/exitcodes.html
|
||||
|
|
||||
*/
|
||||
define('EXIT_SUCCESS', 0); // no errors
|
||||
define('EXIT_ERROR', 1); // generic error
|
||||
define('EXIT_MODEL', 2); // model error
|
||||
define('EXIT_CONFIG', 3); // configuration error
|
||||
define('EXIT_UNKNOWN_FILE', 4); // file not found
|
||||
define('EXIT_UNKNOWN_CLASS', 5); // unknown class
|
||||
define('EXIT_UNKNOWN_METHOD', 6); // unknown class member
|
||||
define('EXIT_USER_INPUT', 7); // invalid user input
|
||||
define('EXIT_DATABASE', 8); // database error
|
||||
define('EXIT__AUTO_MIN', 9); // lowest automatically-assigned error code
|
||||
define('EXIT__AUTO_MAX', 125); // highest automatically-assigned error code
|
||||
Executable
+122
@@ -0,0 +1,122 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
defined('DB_HOST') OR require_once './config/system.config.inc.php'; // For CLI-Migrations
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| DATABASE CONNECTIVITY SETTINGS
|
||||
| -------------------------------------------------------------------
|
||||
| This file will contain the settings needed to access your database.
|
||||
|
|
||||
| For complete instructions please consult the 'Database Connection'
|
||||
| page of the User Guide.
|
||||
|
|
||||
| -------------------------------------------------------------------
|
||||
| EXPLANATION OF VARIABLES
|
||||
| -------------------------------------------------------------------
|
||||
|
|
||||
| ['dsn'] The full DSN string describe a connection to the database.
|
||||
| ['hostname'] The hostname of your database server.
|
||||
| ['username'] The username used to connect to the database
|
||||
| ['password'] The password used to connect to the database
|
||||
| ['database'] The name of the database you want to connect to
|
||||
| ['dbdriver'] The database driver. e.g.: mysqli.
|
||||
| Currently supported:
|
||||
| cubrid, ibase, mssql, mysql, mysqli, oci8,
|
||||
| odbc, pdo, postgre, sqlite, sqlite3, sqlsrv
|
||||
| ['dbprefix'] You can add an optional prefix, which will be added
|
||||
| to the table name when using the Query Builder class
|
||||
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
|
||||
| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
|
||||
| ['cache_on'] TRUE/FALSE - Enables/disables query caching
|
||||
| ['cachedir'] The path to the folder where cache files should be stored
|
||||
| ['char_set'] The character set used in communicating with the database
|
||||
| ['dbcollat'] The character collation used in communicating with the database
|
||||
| NOTE: For MySQL and MySQLi databases, this setting is only used
|
||||
| as a backup if your server is running PHP < 5.2.3 or MySQL < 5.0.7
|
||||
| (and in table creation queries made with DB Forge).
|
||||
| There is an incompatibility in PHP with mysql_real_escape_string() which
|
||||
| can make your site vulnerable to SQL injection if you are using a
|
||||
| multi-byte character set and are running versions lower than these.
|
||||
| Sites using Latin-1 or UTF-8 database character set and collation are unaffected.
|
||||
| ['swap_pre'] A default table prefix that should be swapped with the dbprefix
|
||||
| ['encrypt'] Whether or not to use an encrypted connection.
|
||||
|
|
||||
| 'mysql' (deprecated), 'sqlsrv' and 'pdo/sqlsrv' drivers accept TRUE/FALSE
|
||||
| 'mysqli' and 'pdo/mysql' drivers accept an array with the following options:
|
||||
|
|
||||
| 'ssl_key' - Path to the private key file
|
||||
| 'ssl_cert' - Path to the public key certificate file
|
||||
| 'ssl_ca' - Path to the certificate authority file
|
||||
| 'ssl_capath' - Path to a directory containing trusted CA certificats in PEM format
|
||||
| 'ssl_cipher' - List of *allowed* ciphers to be used for the encryption, separated by colons (':')
|
||||
| 'ssl_verify' - TRUE/FALSE; Whether verify the server certificate or not ('mysqli' only)
|
||||
|
|
||||
| ['compress'] Whether or not to use client compression (MySQL only)
|
||||
| ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections
|
||||
| - good for ensuring strict SQL while developing
|
||||
| ['ssl_options'] Used to set various SSL options that can be used when making SSL connections.
|
||||
| ['failover'] array - A array with 0 or more data for connections if the main should fail.
|
||||
| ['save_queries'] TRUE/FALSE - Whether to "save" all executed queries.
|
||||
| NOTE: Disabling this will also effectively disable both
|
||||
| $this->db->last_query() and profiling of DB queries.
|
||||
| When you run a query, with this setting set to TRUE (default),
|
||||
| CodeIgniter will store the SQL statement for debugging purposes.
|
||||
| However, this may cause high memory usage, especially if you run
|
||||
| a lot of SQL queries ... disable this to avoid that problem.
|
||||
|
|
||||
| The $active_group variable lets you choose which connection group to
|
||||
| make active. By default there is only one group (the 'default' group).
|
||||
|
|
||||
| The $query_builder variables lets you determine whether or not to load
|
||||
| the query builder class.
|
||||
*/
|
||||
$active_group = 'default';
|
||||
$query_builder = TRUE;
|
||||
|
||||
$db['default'] = array(
|
||||
'dsn' => '',
|
||||
'hostname' => DB_HOST,
|
||||
'username' => DB_USER,
|
||||
'password' => DB_PASSWORD,
|
||||
'port' => DB_PORT,
|
||||
'database' => DB_NAME,
|
||||
'dbdriver' => 'postgre',
|
||||
'dbprefix' => '',
|
||||
'pconnect' => DB_CONNECT_PERSISTENT,
|
||||
'db_debug' => (ENVIRONMENT !== 'production'),
|
||||
'cache_on' => FALSE,
|
||||
'cachedir' => '',
|
||||
'char_set' => 'utf8',
|
||||
'dbcollat' => 'utf8_general_ci',
|
||||
'swap_pre' => '',
|
||||
'encrypt' => FALSE,
|
||||
'compress' => FALSE,
|
||||
'stricton' => FALSE,
|
||||
'failover' => array(),
|
||||
'save_queries' => TRUE
|
||||
);
|
||||
|
||||
$db['system'] = array(
|
||||
'dsn' => '',
|
||||
'hostname' => DB_HOST,
|
||||
'username' => 'fhcomplete',
|
||||
'password' => 'fhcomplete',
|
||||
'database' => DB_NAME,
|
||||
'port' => DB_PORT,
|
||||
'dbschema' => 'public',
|
||||
'dbdriver' => 'postgre',
|
||||
'dbprefix' => '',
|
||||
'pconnect' => DB_CONNECT_PERSISTENT,
|
||||
'db_debug' => (ENVIRONMENT !== 'production'),
|
||||
'cache_on' => FALSE,
|
||||
'cachedir' => '',
|
||||
'char_set' => 'utf8',
|
||||
'dbcollat' => 'utf8_general_ci',
|
||||
'swap_pre' => '',
|
||||
'encrypt' => FALSE,
|
||||
'compress' => FALSE,
|
||||
'stricton' => FALSE,
|
||||
'failover' => array(),
|
||||
'save_queries' => TRUE
|
||||
);
|
||||
Executable
+24
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$_doctypes = array(
|
||||
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
|
||||
'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',
|
||||
'xhtml1-trans' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
|
||||
'xhtml1-frame' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',
|
||||
'xhtml-basic11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">',
|
||||
'html5' => '<!DOCTYPE html>',
|
||||
'html4-strict' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">',
|
||||
'html4-trans' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
|
||||
'html4-frame' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">',
|
||||
'mathml1' => '<!DOCTYPE math SYSTEM "http://www.w3.org/Math/DTD/mathml1/mathml.dtd">',
|
||||
'mathml2' => '<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">',
|
||||
'svg10' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">',
|
||||
'svg11' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">',
|
||||
'svg11-basic' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">',
|
||||
'svg11-tiny' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">',
|
||||
'xhtml-math-svg-xh' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">',
|
||||
'xhtml-math-svg-sh' => '<!DOCTYPE svg:svg PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">',
|
||||
'xhtml-rdfa-1' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">',
|
||||
'xhtml-rdfa-2' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">'
|
||||
);
|
||||
Executable
+246
@@ -0,0 +1,246 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$config['fhc_version'] = '3.2';
|
||||
|
||||
$config['fhc_acl'] = array
|
||||
(
|
||||
'bis.tbl_archiv' => 'basis/archiv',
|
||||
'bis.tbl_ausbildung' => 'basis/ausbildung',
|
||||
'bis.tbl_berufstaetigkeit' => 'basis/berufstaetigkeit',
|
||||
'bis.tbl_beschaeftigungsausmass' => 'basis/beschaeftigungsausmass',
|
||||
'bis.tbl_besqual' => 'basis/besqual',
|
||||
'bis.tbl_bisfunktion' => 'basis/bisfunktion',
|
||||
'bis.tbl_bisio' => 'basis/bisio',
|
||||
'bis.tbl_bisorgform' => 'basis/bisorgform',
|
||||
'bis.tbl_bisverwendung' => 'basis/bisverwendung',
|
||||
'bis.tbl_bundesland' => 'basis/bundesland',
|
||||
'bis.tbl_entwicklungsteam' => 'basis/entwicklungsteam',
|
||||
'bis.tbl_gemeinde' => 'basis/gemeinde',
|
||||
'bis.tbl_hauptberuf' => 'basis/hauptberuf',
|
||||
'bis.tbl_lgartcode' => 'basis/lgartcode',
|
||||
'bis.tbl_mobilitaetsprogramm' => 'basis/mobilitaetsprogramm',
|
||||
'bis.tbl_nation' => 'basis/nation',
|
||||
'bis.tbl_orgform' => 'basis/orgform',
|
||||
'bis.tbl_verwendung' => 'basis/verwendung',
|
||||
'bis.tbl_zgv' => 'basis/zgv',
|
||||
'bis.tbl_zgvdoktor' => 'basis/zgvdoktor',
|
||||
'bis.tbl_zgvgruppe' => 'basis/zgvgruppe',
|
||||
'bis.tbl_zgvmaster' => 'basis/zgvmaster',
|
||||
'bis.tbl_zweck' => 'basis/zweck',
|
||||
'campus.tbl_abgabe' => 'basis/abgabe',
|
||||
'campus.tbl_anwesenheit' => 'basis/anwesenheit',
|
||||
'campus.tbl_beispiel' => 'basis/beispiel',
|
||||
'campus.tbl_content' => 'basis/content',
|
||||
'campus.tbl_contentchild' => 'basis/contentchild',
|
||||
'campus.tbl_contentgruppe' => 'basis/contentgruppe',
|
||||
'campus.tbl_contentlog' => 'basis/contentlog',
|
||||
'campus.tbl_contentsprache' => 'basis/contentsprache',
|
||||
'campus.tbl_coodle' => 'basis/coodle',
|
||||
'campus.tbl_dms' => 'basis/dms',
|
||||
'campus.tbl_dms_version' => 'basis/dms_version',
|
||||
'campus.tbl_erreichbarkeit' => 'basis/erreichbarkeit',
|
||||
'campus.tbl_feedback' => 'basis/feedback',
|
||||
'campus.tbl_freebusy' => 'basis/freebusy',
|
||||
'campus.tbl_freebusytyp' => 'basis/freebusytyp',
|
||||
'campus.tbl_infoscreen' => 'basis/infoscreen',
|
||||
'campus.tbl_legesamtnote' => 'basis/legesamtnote',
|
||||
'campus.tbl_lvgesamtnote' => 'basis/lvgesamtnote',
|
||||
'campus.tbl_lvinfo' => 'basis/lvinfo',
|
||||
'campus.tbl_news' => 'basis/news',
|
||||
'campus.tbl_notenschluessel' => 'basis/notenschluessel',
|
||||
'campus.tbl_notenschluesseluebung' => 'basis/notenschluesseluebung',
|
||||
'campus.tbl_paabgabe' => 'basis/paabgabe',
|
||||
'campus.tbl_paabgabetyp' => 'basis/paabgabetyp',
|
||||
'campus.tbl_pruefung' => 'basis/pruefung',
|
||||
'campus.tbl_pruefungsanmeldung' => 'basis/pruefungsanmeldung',
|
||||
'campus.tbl_pruefungsfenster' => 'basis/pruefungsfenster',
|
||||
'campus.tbl_pruefungsstatus' => 'basis/pruefungsstatus',
|
||||
'campus.tbl_pruefungstermin' => 'basis/pruefungstermin',
|
||||
'campus.tbl_reservierung' => 'basis/reservierung',
|
||||
'campus.tbl_resturlaub' => 'basis/resturlaub',
|
||||
'campus.tbl_studentbeispiel' => 'basis/studentbeispiel',
|
||||
'campus.tbl_studentuebung' => 'basis/studentuebung',
|
||||
'campus.tbl_template' => 'basis/template',
|
||||
'campus.tbl_uebung' => 'basis/uebung',
|
||||
'campus.tbl_veranstaltung' => 'basis/veranstaltung',
|
||||
'campus.tbl_veranstaltungskategorie' => 'basis/veranstaltungskategorie',
|
||||
'campus.tbl_zeitaufzeichnung' => 'basis/zeitaufzeichnung',
|
||||
'campus.tbl_zeitsperre' => 'basis/zeitsperre',
|
||||
'campus.tbl_zeitsperretyp' => 'basis/zeitsperretyp',
|
||||
'campus.tbl_zeitwunsch' => 'basis/zeitwunsch',
|
||||
'fue.tbl_aktivitaet' => 'basis/aktivitaet',
|
||||
'fue.tbl_aufwandstyp' => 'basis/aufwandstyp',
|
||||
'fue.tbl_projekt' => 'basis/projekt',
|
||||
'fue.tbl_projekt_ressource' => 'basis/projekt_ressource',
|
||||
'fue.tbl_projektphase' => 'basis/projektphase',
|
||||
'fue.tbl_projekttask' => 'basis/projekttask',
|
||||
'fue.tbl_ressource' => 'basis/ressource',
|
||||
'fue.tbl_scrumsprint' => 'basis/scrumsprint',
|
||||
'fue.tbl_scrumteam' => 'basis/scrumteam',
|
||||
'lehre.tbl_abschlussbeurteilung' => 'basis/abschlussbeurteilung',
|
||||
'lehre.tbl_abschlusspruefung' => 'basis/abschlusspruefung',
|
||||
'lehre.tbl_akadgrad' => 'basis/akadgrad',
|
||||
'lehre.tbl_anrechnung' => 'basis/anrechnung',
|
||||
'lehre.tbl_betreuerart' => 'basis/betreuerart',
|
||||
'lehre.tbl_ferien' => 'basis/ferien',
|
||||
'lehre.tbl_lehreinheit' => 'basis/lehreinheit',
|
||||
'lehre.tbl_lehreinheitgruppe' => 'basis/lehreinheitgruppe',
|
||||
'lehre.tbl_lehreinheitmitarbeiter' => 'basis/lehreinheitmitarbeiter',
|
||||
'lehre.tbl_lehrfach' => 'basis/lehrfach',
|
||||
'lehre.tbl_lehrform' => 'basis/lehrform',
|
||||
'lehre.tbl_lehrfunktion' => 'basis/lehrfunktion',
|
||||
'lehre.tbl_lehrmittel' => 'basis/lehrmittel',
|
||||
'lehre.tbl_lehrtyp' => 'basis/lehrtyp',
|
||||
'lehre.tbl_lehrveranstaltung' => 'basis/lehrveranstaltung',
|
||||
'lehre.tbl_lvangebot' => 'basis/lvangebot',
|
||||
'lehre.tbl_lvregel' => 'basis/lvregel',
|
||||
'lehre.tbl_lvregeltyp' => 'basis/lvregeltyp',
|
||||
'lehre.tbl_moodle' => 'basis/moodle',
|
||||
'lehre.tbl_note' => 'basis/note',
|
||||
'lehre.tbl_notenschluessel' => 'basis/notenschluessel',
|
||||
'lehre.tbl_notenschluesselaufteilung' => 'basis/notenschluesselaufteilung',
|
||||
'lehre.tbl_notenschluesselzuordnung' => 'basis/notenschluesselzuordnung',
|
||||
'lehre.tbl_projektarbeit' => 'basis/projektarbeit',
|
||||
'lehre.tbl_projektbetreuer' => 'basis/projektbetreuer',
|
||||
'lehre.tbl_projekttyp' => 'basis/projekttyp',
|
||||
'lehre.tbl_pruefung' => 'basis/pruefung',
|
||||
'lehre.tbl_pruefungstyp' => 'basis/pruefungstyp',
|
||||
'lehre.tbl_studienordnung' => 'lehre/studienordnung',
|
||||
'lehre.tbl_studienordnungstatus' => 'lehre/studienordnungstatus',
|
||||
'lehre.tbl_studienplan' => 'lehre/studienplan',
|
||||
'lehre.tbl_studienplatz' => 'basis/studienplatz',
|
||||
'lehre.tbl_studienplan_semester' => 'lehre/studienplan_semester',
|
||||
'lehre.tbl_stunde' => 'basis/stunde',
|
||||
'lehre.tbl_stundenplan' => 'basis/stundenplan',
|
||||
'lehre.tbl_stundenplandev' => 'basis/stundenplandev',
|
||||
'lehre.tbl_vertrag' => 'basis/vertrag',
|
||||
'lehre.tbl_vertragsstatus' => 'basis/vertragsstatus',
|
||||
'lehre.tbl_vertragstyp' => 'basis/vertragstyp',
|
||||
'lehre.tbl_zeitfenster' => 'basis/zeitfenster',
|
||||
'lehre.tbl_zeugnis' => 'basis/zeugnis',
|
||||
'lehre.tbl_zeugnisnote' => 'basis/zeugnisnote',
|
||||
'lehre.vw_studienplan' => 'lehre/studienplan',
|
||||
'public.tbl_adresse' => 'basis/adresse',
|
||||
'public.tbl_akte' => 'basis/akte',
|
||||
'public.tbl_ampel' => 'basis/ampel',
|
||||
'public.tbl_aufmerksamdurch' => 'basis/aufmerksamdurch',
|
||||
'public.tbl_aufnahmeschluessel' => 'basis/aufnahmeschluessel',
|
||||
'public.tbl_aufnahmetermin' => 'basis/aufnahmetermin',
|
||||
'public.tbl_aufnahmetermintyp' => 'basis/aufnahmetermintyp',
|
||||
'public.tbl_bankverbindung' => 'basis/bankverbindung',
|
||||
'public.tbl_benutzer' => 'basis/benutzer',
|
||||
'public.tbl_benutzerfunktion' => 'basis/benutzerfunktion',
|
||||
'public.tbl_benutzergruppe' => 'basis/benutzergruppe',
|
||||
'public.tbl_bewerbungstermine' => 'basis/bewerbungstermine',
|
||||
'public.tbl_buchungstyp' => 'basis/buchungstyp',
|
||||
'public.tbl_dokument' => 'basis/dokument',
|
||||
'public.tbl_dokumentprestudent' => 'basis/dokumentprestudent',
|
||||
'public.tbl_dokumentstudiengang' => 'basis/dokumentstudiengang',
|
||||
'public.tbl_erhalter' => 'basis/erhalter',
|
||||
'public.tbl_fachbereich' => 'basis/fachbereich',
|
||||
'public.tbl_filter' => 'basis/filter',
|
||||
'public.tbl_firma' => 'basis/firma',
|
||||
'public.tbl_firmatag' => 'basis/firmatag',
|
||||
'public.tbl_firmentyp' => 'basis/firmentyp',
|
||||
'public.tbl_fotostatus' => 'basis/fotostatus',
|
||||
'public.tbl_funktion' => 'basis/funktion',
|
||||
'public.tbl_geschaeftsjahr' => 'basis/geschaeftsjahr',
|
||||
'public.tbl_gruppe' => 'basis/gruppe',
|
||||
'public.tbl_kontakt' => 'basis/kontakt',
|
||||
'public.tbl_kontaktmedium' => 'basis/kontaktmedium',
|
||||
'public.tbl_kontakttyp' => 'basis/kontakttyp',
|
||||
'public.tbl_konto' => 'basis/konto',
|
||||
'public.tbl_lehrverband' => 'basis/lehrverband',
|
||||
'public.tbl_log' => 'basis/log',
|
||||
'public.tbl_mitarbeiter' => 'basis/mitarbeiter',
|
||||
'public.tbl_msg_message' => 'basis/message',
|
||||
'public.tbl_msg_recipient' => 'basis/message',
|
||||
'public.tbl_msg_status' => 'basis/message',
|
||||
'public.tbl_msg_attachment' => 'basis/message',
|
||||
'public.tbl_notiz' => 'basis/notiz',
|
||||
'public.tbl_notizzuordnung' => 'basis/notizzuordnung',
|
||||
'public.tbl_organisationseinheit' => 'basis/organisationseinheit',
|
||||
'public.tbl_organisationseinheittyp' => 'basis/organisationseinheittyp',
|
||||
'public.tbl_ort' => 'basis/ort',
|
||||
'public.tbl_ortraumtyp' => 'basis/ortraumtyp',
|
||||
'public.tbl_person' => 'basis/person',
|
||||
'public.tbl_personfunktionstandort' => 'basis/personfunktionstandort',
|
||||
'public.tbl_preincoming' => 'basis/preincoming',
|
||||
'public.tbl_preinteressent' => 'basis/preinteressent',
|
||||
'public.tbl_preinteressentstudiengang' => 'basis/preinteressentstudiengang',
|
||||
'public.tbl_preoutgoing' => 'basis/preoutgoing',
|
||||
'public.tbl_prestudent' => 'basis/prestudent',
|
||||
'public.tbl_prestudentstatus' => 'basis/prestudentstatus',
|
||||
'public.tbl_raumtyp' => 'basis/raumtyp',
|
||||
'public.tbl_reihungstest' => 'basis/reihungstest',
|
||||
'public.tbl_semesterwochen' => 'basis/semesterwochen',
|
||||
'public.tbl_service' => 'basis/service',
|
||||
'public.tbl_sprache' => 'basis/sprache',
|
||||
'public.tbl_standort' => 'basis/standort',
|
||||
'public.tbl_statistik' => 'basis/statistik',
|
||||
'public.tbl_status' => 'basis/status',
|
||||
'public.tbl_status_grund' => 'basis/status',
|
||||
'public.tbl_student' => 'basis/student',
|
||||
'public.tbl_studentlehrverband' => 'basis/studentlehrverband',
|
||||
'public.tbl_studiengang' => 'basis/studiengang',
|
||||
'public.tbl_studiengangstyp' => 'basis/studiengangstyp',
|
||||
'public.tbl_studienjahr' => 'basis/studienjahr',
|
||||
'public.tbl_studiensemester' => 'basis/studiensemester',
|
||||
'public.tbl_tag' => 'basis/tag',
|
||||
'public.tbl_variable' => 'basis/variable',
|
||||
'public.tbl_vorlage' => 'system/vorlage',
|
||||
'public.tbl_vorlagedokument' => 'system/vorlagestudiengang',
|
||||
'public.tbl_vorlagestudiengang' => 'system/vorlagestudiengang',
|
||||
'public.tbl_rt_person' => 'basis/person',
|
||||
'public.vw_studiensemester' => 'basis/studiensemester',
|
||||
'system.tbl_app' => 'system/app',
|
||||
'system.tbl_appdaten' => 'system/appdaten',
|
||||
'system.tbl_benutzerrolle' => 'basis/benutzerrolle',
|
||||
'system.tbl_berechtigung' => 'basis/berechtigung',
|
||||
'system.tbl_cronjob' => 'basis/cronjob',
|
||||
'system.tbl_phrase' => 'system/phrase',
|
||||
'system.tbl_phrasentext' => 'system/phrase',
|
||||
'system.tbl_rolle' => 'basis/rolle',
|
||||
'system.tbl_rolleberechtigung' => 'basis/rolleberechtigung',
|
||||
'system.tbl_server' => 'basis/server',
|
||||
'system.tbl_webservicelog' => 'basis/webservicelog',
|
||||
'system.tbl_webservicerecht' => 'basis/webservicerecht',
|
||||
'system.tbl_webservicetyp' => 'basis/webservicetyp',
|
||||
'testtool.tbl_ablauf' => 'basis/ablauf',
|
||||
'testtool.tbl_antwort' => 'basis/antwort',
|
||||
'testtool.tbl_frage' => 'basis/frage',
|
||||
'testtool.tbl_gebiet' => 'basis/gebiet',
|
||||
'testtool.tbl_kategorie' => 'basis/kategorie',
|
||||
'testtool.tbl_kriterien' => 'basis/kriterien',
|
||||
'testtool.tbl_pruefling' => 'basis/pruefling',
|
||||
'testtool.tbl_vorschlag' => 'basis/vorschlag',
|
||||
'wawi.tbl_aufteilung' => 'basis/aufteilung',
|
||||
'wawi.tbl_bestelldetail' => 'basis/bestelldetail',
|
||||
'wawi.tbl_bestelldetailtag' => 'basis/bestelldetailtag',
|
||||
'wawi.tbl_bestellstatus' => 'basis/bestellstatus',
|
||||
'wawi.tbl_bestellung' => 'basis/bestellung',
|
||||
'wawi.tbl_bestellungtag' => 'basis/bestellungtag',
|
||||
'wawi.tbl_betriebsmittel' => 'basis/betriebsmittel',
|
||||
'wawi.tbl_betriebsmittelperson' => 'basis/betriebsmittelperson',
|
||||
'wawi.tbl_betriebsmittelstatus' => 'basis/betriebsmittelstatus',
|
||||
'wawi.tbl_betriebsmitteltyp' => 'basis/betriebsmitteltyp',
|
||||
'wawi.tbl_buchung' => 'basis/buchung',
|
||||
'wawi.tbl_buchungstyp' => 'basis/buchungstyp',
|
||||
'wawi.tbl_budget' => 'basis/budget',
|
||||
'wawi.tbl_konto' => 'basis/konto',
|
||||
'wawi.tbl_kostenstelle' => 'basis/kostenstelle',
|
||||
'wawi.tbl_rechnung' => 'basis/rechnung',
|
||||
'wawi.tbl_rechnungsbetrag' => 'basis/rechnungsbetrag',
|
||||
'wawi.tbl_rechnungstyp' => 'basis/rechnungstyp',
|
||||
'wawi.tbl_zahlungstyp' => 'basis/zahlungstyp',
|
||||
|
||||
DMS_PATH => 'fs/dms',
|
||||
|
||||
'public.tbl_sprache' => 'admin',
|
||||
|
||||
'PhrasesLib.getPhrase' => 'system/PhrasesLib'
|
||||
);
|
||||
|
||||
$config['addons_aufnahme_url'] = 'http://debian.dev/build/addons/aufnahme/cis/index.php';
|
||||
Executable
+103
@@ -0,0 +1,103 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| Foreign Characters
|
||||
| -------------------------------------------------------------------
|
||||
| This file contains an array of foreign characters for transliteration
|
||||
| conversion used by the Text helper
|
||||
|
|
||||
*/
|
||||
$foreign_characters = array(
|
||||
'/ä|æ|ǽ/' => 'ae',
|
||||
'/ö|œ/' => 'oe',
|
||||
'/ü/' => 'ue',
|
||||
'/Ä/' => 'Ae',
|
||||
'/Ü/' => 'Ue',
|
||||
'/Ö/' => 'Oe',
|
||||
'/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A',
|
||||
'/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a',
|
||||
'/Б/' => 'B',
|
||||
'/б/' => 'b',
|
||||
'/Ç|Ć|Ĉ|Ċ|Č/' => 'C',
|
||||
'/ç|ć|ĉ|ċ|č/' => 'c',
|
||||
'/Д/' => 'D',
|
||||
'/д/' => 'd',
|
||||
'/Ð|Ď|Đ|Δ/' => 'Dj',
|
||||
'/ð|ď|đ|δ/' => 'dj',
|
||||
'/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E',
|
||||
'/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e',
|
||||
'/Ф/' => 'F',
|
||||
'/ф/' => 'f',
|
||||
'/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G',
|
||||
'/ĝ|ğ|ġ|ģ|γ|г|ґ/' => 'g',
|
||||
'/Ĥ|Ħ/' => 'H',
|
||||
'/ĥ|ħ/' => 'h',
|
||||
'/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Ы/' => 'I',
|
||||
'/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|ы|ї/' => 'i',
|
||||
'/Ĵ/' => 'J',
|
||||
'/ĵ/' => 'j',
|
||||
'/Ķ|Κ|К/' => 'K',
|
||||
'/ķ|κ|к/' => 'k',
|
||||
'/Ĺ|Ļ|Ľ|Ŀ|Ł|Λ|Л/' => 'L',
|
||||
'/ĺ|ļ|ľ|ŀ|ł|λ|л/' => 'l',
|
||||
'/М/' => 'M',
|
||||
'/м/' => 'm',
|
||||
'/Ñ|Ń|Ņ|Ň|Ν|Н/' => 'N',
|
||||
'/ñ|ń|ņ|ň|ʼn|ν|н/' => 'n',
|
||||
'/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ|Ο|Ό|Ω|Ώ|Ỏ|Ọ|Ồ|Ố|Ỗ|Ổ|Ộ|Ờ|Ớ|Ỡ|Ở|Ợ|О/' => 'O',
|
||||
'/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º|ο|ό|ω|ώ|ỏ|ọ|ồ|ố|ỗ|ổ|ộ|ờ|ớ|ỡ|ở|ợ|о/' => 'o',
|
||||
'/П/' => 'P',
|
||||
'/п/' => 'p',
|
||||
'/Ŕ|Ŗ|Ř|Ρ|Р/' => 'R',
|
||||
'/ŕ|ŗ|ř|ρ|р/' => 'r',
|
||||
'/Ś|Ŝ|Ş|Ș|Š|Σ|С/' => 'S',
|
||||
'/ś|ŝ|ş|ș|š|ſ|σ|ς|с/' => 's',
|
||||
'/Ț|Ţ|Ť|Ŧ|τ|Т/' => 'T',
|
||||
'/ț|ţ|ť|ŧ|т/' => 't',
|
||||
'/Þ|þ/' => 'th',
|
||||
'/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U',
|
||||
'/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u',
|
||||
'/Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y',
|
||||
'/ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y',
|
||||
'/В/' => 'V',
|
||||
'/в/' => 'v',
|
||||
'/Ŵ/' => 'W',
|
||||
'/ŵ/' => 'w',
|
||||
'/Ź|Ż|Ž|Ζ|З/' => 'Z',
|
||||
'/ź|ż|ž|ζ|з/' => 'z',
|
||||
'/Æ|Ǽ/' => 'AE',
|
||||
'/ß/' => 'ss',
|
||||
'/IJ/' => 'IJ',
|
||||
'/ij/' => 'ij',
|
||||
'/Œ/' => 'OE',
|
||||
'/ƒ/' => 'f',
|
||||
'/ξ/' => 'ks',
|
||||
'/π/' => 'p',
|
||||
'/β/' => 'v',
|
||||
'/μ/' => 'm',
|
||||
'/ψ/' => 'ps',
|
||||
'/Ё/' => 'Yo',
|
||||
'/ё/' => 'yo',
|
||||
'/Є/' => 'Ye',
|
||||
'/є/' => 'ye',
|
||||
'/Ї/' => 'Yi',
|
||||
'/Ж/' => 'Zh',
|
||||
'/ж/' => 'zh',
|
||||
'/Х/' => 'Kh',
|
||||
'/х/' => 'kh',
|
||||
'/Ц/' => 'Ts',
|
||||
'/ц/' => 'ts',
|
||||
'/Ч/' => 'Ch',
|
||||
'/ч/' => 'ch',
|
||||
'/Ш/' => 'Sh',
|
||||
'/ш/' => 'sh',
|
||||
'/Щ/' => 'Shch',
|
||||
'/щ/' => 'shch',
|
||||
'/Ъ|ъ|Ь|ь/' => '',
|
||||
'/Ю/' => 'Yu',
|
||||
'/ю/' => 'yu',
|
||||
'/Я/' => 'Ya',
|
||||
'/я/' => 'ya'
|
||||
);
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
//For view all the languages go to the folder assets/grocery_crud/languages/
|
||||
$config['grocery_crud_default_language'] = 'english';
|
||||
|
||||
// There are only three choices: "uk-date" (dd/mm/yyyy), "us-date" (mm/dd/yyyy) or "sql-date" (yyyy-mm-dd)
|
||||
$config['grocery_crud_date_format'] = 'uk-date';
|
||||
|
||||
// The default per page when a user firstly see a list page
|
||||
$config['grocery_crud_default_per_page'] = 10;
|
||||
|
||||
$config['grocery_crud_file_upload_allow_file_types'] = 'gif|jpeg|jpg|png|tiff|doc|docx|txt|odt|xls|xlsx|pdf|ppt|pptx|pps|ppsx|mp3|m4a|ogg|wav|mp4|m4v|mov|wmv|flv|avi|mpg|ogv|3gp|3g2';
|
||||
$config['grocery_crud_file_upload_max_file_size'] = '20MB'; //ex. '10MB' (Mega Bytes), '1067KB' (Kilo Bytes), '5000B' (Bytes)
|
||||
|
||||
//You can choose 'ckeditor','tinymce' or 'markitup'
|
||||
$config['grocery_crud_default_text_editor'] = 'ckeditor';
|
||||
//You can choose 'minimal' or 'full'
|
||||
$config['grocery_crud_text_editor_type'] = 'full';
|
||||
|
||||
//The character limiter at the list page, zero(0) value if you don't want character limiter at your list page
|
||||
$config['grocery_crud_character_limiter'] = 30;
|
||||
|
||||
//All the forms are opening with dialog forms without refreshing the page once again.
|
||||
//IMPORTANT: PLease be aware that this functionality is still in BETA phase and it is
|
||||
//not suggested to use this in production mode
|
||||
$config['grocery_crud_dialog_forms'] = false;
|
||||
|
||||
//Having some options at the list paging. This is the default one that all the websites are using.
|
||||
//Make sure that the number of grocery_crud_default_per_page variable is included to this array.
|
||||
$config['grocery_crud_paging_options'] = array('10','25','50','100');
|
||||
|
||||
//Default theme for grocery CRUD
|
||||
$config['grocery_crud_default_theme'] = 'flexigrid';
|
||||
|
||||
//The environment is important so we can have specific configurations for specific environments
|
||||
$config['grocery_crud_environment'] = 'production';
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
| Hooks
|
||||
| -------------------------------------------------------------------------
|
||||
| This file lets you define "hooks" to extend CI without hacking the core
|
||||
| files. Please see the user guide for info:
|
||||
|
|
||||
| http://codeigniter.com/user_guide/general/hooks.html
|
||||
|
|
||||
*/
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
// Define constants
|
||||
define('EMAIL_CONFIG_INDEX', 'mail');
|
||||
|
||||
// Define configuration parameters
|
||||
$config['email_number_to_sent'] = 1000; // Number of emails to sent each time sendAll is called
|
||||
$config['email_number_per_time_range'] = 1; // Number of emails to sent before pause
|
||||
$config['email_time_range'] = 1; // Length of the pause in seconds
|
||||
$config['email_from_system'] = '[email protected]';
|
||||
|
||||
// Smtp: if the CI email library has to connect to a smtp server
|
||||
// Mail: if the system is setup to send emails with the standard php mail function
|
||||
// Sendmail: if the system is setup to send email via Sendmail (or similar)
|
||||
$config['protocol'] = ''; // mail, sendmail, or smtp
|
||||
|
||||
// If protocol is set to sendmail
|
||||
$config['mailpath'] = ''; // SThe server path to Sendmail (or similar)
|
||||
|
||||
// If protocol is set to smtp
|
||||
$config['smtp_host'] = 'localhost'; // SMTP Server Address
|
||||
$config['smtp_port'] = 25;
|
||||
$config['smtp_timeout'] = 5; // in seconds
|
||||
$config['smtp_keepalive'] = false; // Enable persistent SMTP connections
|
||||
$config['smtp_user'] = '';
|
||||
$config['smtp_pass'] = '';
|
||||
$config['wordwrap'] = true; // {unwrap}http://example.com/a_long_link_that_should_not_be_wrapped.html{/unwrap}
|
||||
$config['wrapchars'] = 76; // Character count to wrap at.
|
||||
$config['mailtype'] = 'html'; // html or text
|
||||
$config['priority'] = 3; // Email Priority. 1 = highest. 5 = lowest. 3 = normal
|
||||
$config['validate'] = false; // If true then the email address will be validated
|
||||
Executable
+19
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
| Memcached settings
|
||||
| -------------------------------------------------------------------------
|
||||
| Your Memcached servers can be specified below.
|
||||
|
|
||||
| See: http://codeigniter.com/user_guide/libraries/caching.html#memcached
|
||||
|
|
||||
*/
|
||||
$config = array(
|
||||
'default' => array(
|
||||
'hostname' => '127.0.0.1',
|
||||
'port' => '11211',
|
||||
'weight' => '1',
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$config['msg_delivery'] = true; // Default true
|
||||
$config['send_immediately'] = false; // If the message should be sent immediately. Default false
|
||||
$config['system_person_id'] = 1; // Dummy sender, used for sending messages from the system
|
||||
$config['redirect_view_message_url'] = 'index.ci.php/Redirect/redirectByToken/'; //
|
||||
$config['message_html_view_url'] = 'index.ci.php/ViewMessage/toHTML/';
|
||||
$config['assistent_function'] = 'ass';
|
||||
|
||||
define('EMAIL_KONTAKT_TYPE', 'email'); // Email kontakt type
|
||||
define('SENT_INFO_NEWLINE', '\n'); // tbl_msg_recipient->sentInfo separator
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Constants for Messaging System
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Statuses
|
||||
| Priority
|
||||
| Return Codes
|
||||
|
|
||||
*/
|
||||
// Message statuses
|
||||
define('MSG_STATUS_UNREAD', 0);
|
||||
define('MSG_STATUS_READ', 1);
|
||||
define('MSG_STATUS_ARCHIVED', 2);
|
||||
define('MSG_STATUS_DELETED', 3);
|
||||
|
||||
// Priority
|
||||
define('PRIORITY_LOW', 1);
|
||||
define('PRIORITY_NORMAL', 2);
|
||||
define('PRIORITY_HIGH', 3);
|
||||
define('PRIORITY_URGENT', 4);
|
||||
|
||||
// Status return message codes
|
||||
define('MSG_SUCCESS', 0);
|
||||
define('MSG_ERROR', 1);
|
||||
|
||||
define('MSG_MESSAGE_SENT', 10);
|
||||
define('MSG_STATUS_UPDATE', 11);
|
||||
|
||||
define('MSG_PARTICIPANT_ADDED', 30);
|
||||
define('MSG_ERR_PARTICIPANT_EXISTS', 31);
|
||||
define('MSG_ERR_PARTICIPANT_NONSYSTEM', 32);
|
||||
define('MSG_PARTICIPANT_REMOVED', 33);
|
||||
|
||||
define('MSG_ERR_SUBJECT_EMPTY', 40);
|
||||
define('MSG_ERR_BODY_EMPTY', 41);
|
||||
define('MSG_ERR_TEMPLATE_NOT_FOUND', 42);
|
||||
define('MSG_ERR_DELIVERY_MESSAGE', 43);
|
||||
define('MSG_ERR_CONTACT_NOT_FOUND', 44);
|
||||
define('MSG_ERR_OU_CONTACTS_NOT_FOUND', 45);
|
||||
|
||||
define('MSG_ERR_INVALID_USER_ID', 100);
|
||||
define('MSG_ERR_INVALID_MSG_ID', 101);
|
||||
define('MSG_ERR_INVALID_THREAD_ID', 102);
|
||||
define('MSG_ERR_INVALID_STATUS_ID', 103);
|
||||
define('MSG_ERR_INVALID_SENDER_ID', 104);
|
||||
define('MSG_ERR_INVALID_RECIPIENTS', 105);
|
||||
define('MSG_ERR_INVALID_RECEIVER_ID', 106);
|
||||
define('MSG_ERR_INVALID_OU', 107);
|
||||
define('MSG_ERR_INVALID_TEMPLATE', 108);
|
||||
define('MSG_ERR_INVALID_TOKEN', 109);
|
||||
Executable
+85
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Enable/Disable Migrations
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Migrations are disabled by default for security reasons.
|
||||
| You should enable migrations whenever you intend to do a schema migration
|
||||
| and disable it back when you're done.
|
||||
|
|
||||
*/
|
||||
$config['migration_enabled'] = TRUE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Migrations version
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This is used to set migration version that the file system should be on.
|
||||
| If you run $this->migration->current() this is the version that schema will
|
||||
| be upgraded / downgraded to.
|
||||
|
|
||||
*/
|
||||
$config['migration_version'] = '014';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Migration Type
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Migration file names may be based on a sequential identifier or on
|
||||
| a timestamp. Options are:
|
||||
|
|
||||
| 'sequential' = Sequential migration naming (001_add_blog.php)
|
||||
| 'timestamp' = Timestamp migration naming (20121031104401_add_blog.php)
|
||||
| Use timestamp format YYYYMMDDHHIISS.
|
||||
|
|
||||
| Note: If this configuration value is missing the Migration library
|
||||
| defaults to 'sequential' for backward compatibility with CI2.
|
||||
|
|
||||
*/
|
||||
$config['migration_type'] = 'sequential';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Migrations table
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This is the name of the table that will store the current migrations state.
|
||||
| When migrations runs it will store in a database table which migration
|
||||
| level the system is at. It then compares the migration level in this
|
||||
| table to the $config['migration_version'] if they are not the same it
|
||||
| will migrate up. This must be set.
|
||||
|
|
||||
*/
|
||||
//$config['migration_table'] = 'system.ci_migrations'; // A missing feature or a bug cannot use another schema than public. Bug: tableExists only looks in the public schema.
|
||||
$config['migration_table'] = 'ci_migrations';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Auto Migrate To Latest
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If this is set to TRUE when you load the migrations class and have
|
||||
| $config['migration_enabled'] set to TRUE the system will auto migrate
|
||||
| to your latest migration (whatever $config['migration_version'] is
|
||||
| set to). This way you do not have to call migrations anywhere else
|
||||
| in your code to have the latest migration.
|
||||
|
|
||||
*/
|
||||
$config['migration_auto_latest'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Migrations Path
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Path to your migrations folder.
|
||||
| Typically, it will be within your application path.
|
||||
| Also, writing permission is required within the migrations path.
|
||||
|
|
||||
*/
|
||||
$config['migration_path'] = APPPATH.'migrations/';
|
||||
Executable
+158
@@ -0,0 +1,158 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| MIME TYPES
|
||||
| -------------------------------------------------------------------
|
||||
| This file contains an array of mime types. It is used by the
|
||||
| Upload class to help identify allowed file types.
|
||||
|
|
||||
*/
|
||||
return array(
|
||||
'hqx' => array('application/mac-binhex40', 'application/mac-binhex', 'application/x-binhex40', 'application/x-mac-binhex40'),
|
||||
'cpt' => 'application/mac-compactpro',
|
||||
'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'application/x-csv', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel', 'text/plain'),
|
||||
'bin' => array('application/macbinary', 'application/mac-binary', 'application/octet-stream', 'application/x-binary', 'application/x-macbinary'),
|
||||
'dms' => 'application/octet-stream',
|
||||
'lha' => 'application/octet-stream',
|
||||
'lzh' => 'application/octet-stream',
|
||||
'exe' => array('application/octet-stream', 'application/x-msdownload'),
|
||||
'class' => 'application/octet-stream',
|
||||
'psd' => array('application/x-photoshop', 'image/vnd.adobe.photoshop'),
|
||||
'so' => 'application/octet-stream',
|
||||
'sea' => 'application/octet-stream',
|
||||
'dll' => 'application/octet-stream',
|
||||
'oda' => 'application/oda',
|
||||
'pdf' => array('application/pdf', 'application/force-download', 'application/x-download', 'binary/octet-stream'),
|
||||
'ai' => array('application/pdf', 'application/postscript'),
|
||||
'eps' => 'application/postscript',
|
||||
'ps' => 'application/postscript',
|
||||
'smi' => 'application/smil',
|
||||
'smil' => 'application/smil',
|
||||
'mif' => 'application/vnd.mif',
|
||||
'xls' => array('application/vnd.ms-excel', 'application/msexcel', 'application/x-msexcel', 'application/x-ms-excel', 'application/x-excel', 'application/x-dos_ms_excel', 'application/xls', 'application/x-xls', 'application/excel', 'application/download', 'application/vnd.ms-office', 'application/msword'),
|
||||
'ppt' => array('application/powerpoint', 'application/vnd.ms-powerpoint', 'application/vnd.ms-office', 'application/msword'),
|
||||
'pptx' => array('application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/x-zip', 'application/zip'),
|
||||
'wbxml' => 'application/wbxml',
|
||||
'wmlc' => 'application/wmlc',
|
||||
'dcr' => 'application/x-director',
|
||||
'dir' => 'application/x-director',
|
||||
'dxr' => 'application/x-director',
|
||||
'dvi' => 'application/x-dvi',
|
||||
'gtar' => 'application/x-gtar',
|
||||
'gz' => 'application/x-gzip',
|
||||
'gzip' => 'application/x-gzip',
|
||||
'php' => array('application/x-httpd-php', 'application/php', 'application/x-php', 'text/php', 'text/x-php', 'application/x-httpd-php-source'),
|
||||
'php4' => 'application/x-httpd-php',
|
||||
'php3' => 'application/x-httpd-php',
|
||||
'phtml' => 'application/x-httpd-php',
|
||||
'phps' => 'application/x-httpd-php-source',
|
||||
'js' => array('application/x-javascript', 'text/plain'),
|
||||
'swf' => 'application/x-shockwave-flash',
|
||||
'sit' => 'application/x-stuffit',
|
||||
'tar' => 'application/x-tar',
|
||||
'tgz' => array('application/x-tar', 'application/x-gzip-compressed'),
|
||||
'z' => 'application/x-compress',
|
||||
'xhtml' => 'application/xhtml+xml',
|
||||
'xht' => 'application/xhtml+xml',
|
||||
'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed', 'application/s-compressed', 'multipart/x-zip'),
|
||||
'rar' => array('application/x-rar', 'application/rar', 'application/x-rar-compressed'),
|
||||
'mid' => 'audio/midi',
|
||||
'midi' => 'audio/midi',
|
||||
'mpga' => 'audio/mpeg',
|
||||
'mp2' => 'audio/mpeg',
|
||||
'mp3' => array('audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'),
|
||||
'aif' => array('audio/x-aiff', 'audio/aiff'),
|
||||
'aiff' => array('audio/x-aiff', 'audio/aiff'),
|
||||
'aifc' => 'audio/x-aiff',
|
||||
'ram' => 'audio/x-pn-realaudio',
|
||||
'rm' => 'audio/x-pn-realaudio',
|
||||
'rpm' => 'audio/x-pn-realaudio-plugin',
|
||||
'ra' => 'audio/x-realaudio',
|
||||
'rv' => 'video/vnd.rn-realvideo',
|
||||
'wav' => array('audio/x-wav', 'audio/wave', 'audio/wav'),
|
||||
'bmp' => array('image/bmp', 'image/x-bmp', 'image/x-bitmap', 'image/x-xbitmap', 'image/x-win-bitmap', 'image/x-windows-bmp', 'image/ms-bmp', 'image/x-ms-bmp', 'application/bmp', 'application/x-bmp', 'application/x-win-bitmap'),
|
||||
'gif' => 'image/gif',
|
||||
'jpeg' => array('image/jpeg', 'image/pjpeg'),
|
||||
'jpg' => array('image/jpeg', 'image/pjpeg'),
|
||||
'jpe' => array('image/jpeg', 'image/pjpeg'),
|
||||
'png' => array('image/png', 'image/x-png'),
|
||||
'tiff' => 'image/tiff',
|
||||
'tif' => 'image/tiff',
|
||||
'css' => array('text/css', 'text/plain'),
|
||||
'html' => array('text/html', 'text/plain'),
|
||||
'htm' => array('text/html', 'text/plain'),
|
||||
'shtml' => array('text/html', 'text/plain'),
|
||||
'txt' => 'text/plain',
|
||||
'text' => 'text/plain',
|
||||
'log' => array('text/plain', 'text/x-log'),
|
||||
'rtx' => 'text/richtext',
|
||||
'rtf' => 'text/rtf',
|
||||
'xml' => array('application/xml', 'text/xml', 'text/plain'),
|
||||
'xsl' => array('application/xml', 'text/xsl', 'text/xml'),
|
||||
'mpeg' => 'video/mpeg',
|
||||
'mpg' => 'video/mpeg',
|
||||
'mpe' => 'video/mpeg',
|
||||
'qt' => 'video/quicktime',
|
||||
'mov' => 'video/quicktime',
|
||||
'avi' => array('video/x-msvideo', 'video/msvideo', 'video/avi', 'application/x-troff-msvideo'),
|
||||
'movie' => 'video/x-sgi-movie',
|
||||
'doc' => array('application/msword', 'application/vnd.ms-office'),
|
||||
'docx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword', 'application/x-zip'),
|
||||
'dot' => array('application/msword', 'application/vnd.ms-office'),
|
||||
'dotx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword'),
|
||||
'xlsx' => array('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/zip', 'application/vnd.ms-excel', 'application/msword', 'application/x-zip'),
|
||||
'word' => array('application/msword', 'application/octet-stream'),
|
||||
'xl' => 'application/excel',
|
||||
'eml' => 'message/rfc822',
|
||||
'json' => array('application/json', 'text/json'),
|
||||
'pem' => array('application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'),
|
||||
'p10' => array('application/x-pkcs10', 'application/pkcs10'),
|
||||
'p12' => 'application/x-pkcs12',
|
||||
'p7a' => 'application/x-pkcs7-signature',
|
||||
'p7c' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'),
|
||||
'p7m' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'),
|
||||
'p7r' => 'application/x-pkcs7-certreqresp',
|
||||
'p7s' => 'application/pkcs7-signature',
|
||||
'crt' => array('application/x-x509-ca-cert', 'application/x-x509-user-cert', 'application/pkix-cert'),
|
||||
'crl' => array('application/pkix-crl', 'application/pkcs-crl'),
|
||||
'der' => 'application/x-x509-ca-cert',
|
||||
'kdb' => 'application/octet-stream',
|
||||
'pgp' => 'application/pgp',
|
||||
'gpg' => 'application/gpg-keys',
|
||||
'sst' => 'application/octet-stream',
|
||||
'csr' => 'application/octet-stream',
|
||||
'rsa' => 'application/x-pkcs7',
|
||||
'cer' => array('application/pkix-cert', 'application/x-x509-ca-cert'),
|
||||
'3g2' => 'video/3gpp2',
|
||||
'3gp' => array('video/3gp', 'video/3gpp'),
|
||||
'mp4' => 'video/mp4',
|
||||
'm4a' => 'audio/x-m4a',
|
||||
'f4v' => 'video/mp4',
|
||||
'webm' => 'video/webm',
|
||||
'aac' => 'audio/x-acc',
|
||||
'm4u' => 'application/vnd.mpegurl',
|
||||
'm3u' => 'text/plain',
|
||||
'xspf' => 'application/xspf+xml',
|
||||
'vlc' => 'application/videolan',
|
||||
'wmv' => array('video/x-ms-wmv', 'video/x-ms-asf'),
|
||||
'au' => 'audio/x-au',
|
||||
'ac3' => 'audio/ac3',
|
||||
'flac' => 'audio/x-flac',
|
||||
'ogg' => 'audio/ogg',
|
||||
'kmz' => array('application/vnd.google-earth.kmz', 'application/zip', 'application/x-zip'),
|
||||
'kml' => array('application/vnd.google-earth.kml+xml', 'application/xml', 'text/xml'),
|
||||
'ics' => 'text/calendar',
|
||||
'ical' => 'text/calendar',
|
||||
'zsh' => 'text/x-scriptzsh',
|
||||
'7zip' => array('application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'),
|
||||
'cdr' => array('application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'),
|
||||
'wma' => array('audio/x-ms-wma', 'video/x-ms-asf'),
|
||||
'jar' => array('application/java-archive', 'application/x-java-application', 'application/x-jar', 'application/x-compressed'),
|
||||
'svg' => array('image/svg+xml', 'application/xml', 'text/xml'),
|
||||
'vcf' => 'text/x-vcard',
|
||||
'srt' => array('text/srt', 'text/plain'),
|
||||
'vtt' => array('text/vtt', 'text/plain'),
|
||||
'ico' => array('image/x-icon', 'image/x-ico', 'image/vnd.microsoft.icon')
|
||||
);
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
* Pagination Config Bootstrap 3 CSS Style
|
||||
* harviacode.com
|
||||
*/
|
||||
|
||||
$config['query_string_segment'] = 'start';
|
||||
|
||||
$config['full_tag_open'] = '<nav><ul class="pagination" style="margin-top:0px">';
|
||||
$config['full_tag_close'] = '</ul></nav>';
|
||||
|
||||
$config['first_link'] = 'First';
|
||||
$config['first_tag_open'] = '<li>';
|
||||
$config['first_tag_close'] = '</li>';
|
||||
|
||||
$config['last_link'] = 'Last';
|
||||
$config['last_tag_open'] = '<li>';
|
||||
$config['last_tag_close'] = '</li>';
|
||||
|
||||
$config['next_link'] = 'Next';
|
||||
$config['next_tag_open'] = '<li>';
|
||||
$config['next_tag_close'] = '</li>';
|
||||
|
||||
$config['prev_link'] = 'Prev';
|
||||
$config['prev_tag_open'] = '<li>';
|
||||
$config['prev_tag_close'] = '</li>';
|
||||
|
||||
$config['cur_tag_open'] = '<li class="active"><a>';
|
||||
$config['cur_tag_close'] = '</a></li>';
|
||||
|
||||
$config['num_tag_open'] = '<li>';
|
||||
$config['num_tag_close'] = '</li>';
|
||||
|
||||
|
||||
/* End of file pagination.php */
|
||||
/* Location: ./application/config/pagination.php */
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
| Profiler Sections
|
||||
| -------------------------------------------------------------------------
|
||||
| This file lets you determine whether or not various sections of Profiler
|
||||
| data are displayed when the Profiler is enabled.
|
||||
| Please see the user guide for info:
|
||||
|
|
||||
| http://codeigniter.com/user_guide/general/profiling.html
|
||||
|
|
||||
*/
|
||||
@@ -0,0 +1,519 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| HTTP protocol
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Set to force the use of HTTPS for REST API calls
|
||||
|
|
||||
*/
|
||||
$config['force_https'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Output Format
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The default format of the response
|
||||
|
|
||||
| 'array': Array data structure
|
||||
| 'csv': Comma separated file
|
||||
| 'json': Uses json_encode(). Note: If a GET query string
|
||||
| called 'callback' is passed, then jsonp will be returned
|
||||
| 'html' HTML using the table library in CodeIgniter
|
||||
| 'php': Uses var_export()
|
||||
| 'serialized': Uses serialize()
|
||||
| 'xml': Uses simplexml_load_string()
|
||||
|
|
||||
*/
|
||||
$config['rest_default_format'] = 'json';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Supported Output Formats
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following setting contains a list of the supported/allowed formats.
|
||||
| You may remove those formats that you don't want to use.
|
||||
| If the default format $config['rest_default_format'] is missing within
|
||||
| $config['rest_supported_formats'], it will be added silently during
|
||||
| REST_Controller initialization.
|
||||
|
|
||||
*/
|
||||
$config['rest_supported_formats'] = [
|
||||
'json',
|
||||
'array',
|
||||
'csv',
|
||||
'html',
|
||||
'jsonp',
|
||||
'php',
|
||||
'serialized',
|
||||
'xml',
|
||||
];
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Status Field Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The field name for the status inside the response
|
||||
|
|
||||
*/
|
||||
$config['rest_status_field_name'] = 'status';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Message Field Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The field name for the message inside the response
|
||||
|
|
||||
*/
|
||||
$config['rest_message_field_name'] = 'error';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Enable Emulate Request
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Should we enable emulation of the request (e.g. used in Mootools request)
|
||||
|
|
||||
*/
|
||||
$config['enable_emulate_request'] = TRUE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Realm
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Name of the password protected REST API displayed on login dialogs
|
||||
|
|
||||
| e.g: My Secret REST API
|
||||
|
|
||||
*/
|
||||
$config['rest_realm'] = 'FHC REST API';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Login
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Set to specify the REST API requires to be logged in
|
||||
|
|
||||
| FALSE No login required
|
||||
| 'basic' Unsecure login
|
||||
| 'digest' More secure login
|
||||
| 'session' Check for a PHP session variable. See 'auth_source' to set the
|
||||
| authorization key
|
||||
|
|
||||
*/
|
||||
$config['rest_auth'] = 'basic';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Login Source
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Is login required and if so, the user store to use
|
||||
|
|
||||
| '' Use config based users or wildcard testing, only for testing purpose
|
||||
| it would be very unsecure to let unset in a production environment
|
||||
| 'ldap' Use LDAP authentication
|
||||
| 'library' Use a authentication library
|
||||
|
|
||||
| Note: If 'rest_auth' is set to 'session' then change 'auth_source' to the name of the session variable
|
||||
|
|
||||
*/
|
||||
$config['auth_source'] = 'library';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Login Class and Function
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If library authentication is used define the class and function name
|
||||
|
|
||||
| The function should accept two parameters: class->function($username, $password)
|
||||
| In other cases override the function _perform_library_auth in your controller
|
||||
|
|
||||
| For digest authentication the library function should return already a stored
|
||||
| password for that username, even if it is hashed
|
||||
|
|
||||
*/
|
||||
$config['auth_library_class'] = 'FHC_Auth';
|
||||
|
||||
// rest_auth is basic
|
||||
$config['auth_library_function'] = 'basicAuthentication';
|
||||
|
||||
// rest_auth is digest
|
||||
//$config['auth_library_function'] = 'digestAuthentication';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Override auth types for specific class/method
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Set specific authentication types for methods within a class (controller)
|
||||
|
|
||||
| Set as many config entries as needed. Any methods not set will use the default 'rest_auth' config value.
|
||||
|
|
||||
| e.g:
|
||||
|
|
||||
| $config['auth_override_class_method']['deals']['view'] = 'none';
|
||||
| $config['auth_override_class_method']['deals']['insert'] = 'digest';
|
||||
| $config['auth_override_class_method']['accounts']['user'] = 'basic';
|
||||
| $config['auth_override_class_method']['dashboard']['*'] = 'none|digest|basic';
|
||||
|
|
||||
| Here 'deals', 'accounts' and 'dashboard' are controller names, 'view', 'insert' and 'user' are methods within.
|
||||
* An asterisk may also be used to specify an authentication method for an entire classes methods.
|
||||
* Ex: $config['auth_override_class_method']['dashboard']['*'] = 'basic'; (NOTE: leave off the '_get' or '_post' from the end
|
||||
* of the method name)
|
||||
| Acceptable values are; 'none', 'digest' and 'basic'.
|
||||
|
|
||||
*/
|
||||
// $config['auth_override_class_method']['deals']['view'] = 'none';
|
||||
// $config['auth_override_class_method']['deals']['insert'] = 'digest';
|
||||
// $config['auth_override_class_method']['accounts']['user'] = 'basic';
|
||||
// $config['auth_override_class_method']['dashboard']['*'] = 'basic';
|
||||
|
||||
|
||||
// ---Uncomment list line for the wildard unit test
|
||||
// $config['auth_override_class_method']['wildcard_test_cases']['*'] = 'basic';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Override auth types for specfic 'class/method/HTTP method'
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| example:
|
||||
|
|
||||
| $config['auth_override_class_method_http']['deals']['view']['get'] = 'none';
|
||||
| $config['auth_override_class_method_http']['deals']['insert']['post'] = 'none';
|
||||
| $config['auth_override_class_method_http']['deals']['*']['options'] = 'none';
|
||||
*/
|
||||
|
||||
// ---Uncomment list line for the wildard unit test
|
||||
// $config['auth_override_class_method_http']['wildcard_test_cases']['*']['options'] = 'basic';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Login Usernames
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Array of usernames and passwords for login, if ldap (even library) is configured this is ignored
|
||||
|
|
||||
*/
|
||||
//$config['rest_valid_logins'] = ['admin' => '1234', 'test' => 'test'];
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Global IP Whitelisting
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Limit connections to your REST server to whitelisted IP addresses
|
||||
|
|
||||
| Usage:
|
||||
| 1. Set to TRUE and select an auth option for extreme security (client's IP
|
||||
| address must be in whitelist and they must also log in)
|
||||
| 2. Set to TRUE with auth set to FALSE to allow whitelisted IPs access with no login
|
||||
| 3. Set to FALSE but set 'auth_override_class_method' to 'whitelist' to
|
||||
| restrict certain methods to IPs in your whitelist
|
||||
|
|
||||
*/
|
||||
$config['rest_ip_whitelist_enabled'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST IP Whitelist
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Limit connections to your REST server with a comma separated
|
||||
| list of IP addresses
|
||||
|
|
||||
| e.g: '123.456.789.0, 987.654.32.1'
|
||||
|
|
||||
| 127.0.0.1 and 0.0.0.0 are allowed by default
|
||||
|
|
||||
*/
|
||||
$config['rest_ip_whitelist'] = '';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Global IP Blacklisting
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Prevent connections to the REST server from blacklisted IP addresses
|
||||
|
|
||||
| Usage:
|
||||
| 1. Set to TRUE and add any IP address to 'rest_ip_blacklist'
|
||||
|
|
||||
*/
|
||||
$config['rest_ip_blacklist_enabled'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST IP Blacklist
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Prevent connections from the following IP addresses
|
||||
|
|
||||
| e.g: '123.456.789.0, 987.654.32.1'
|
||||
|
|
||||
*/
|
||||
$config['rest_ip_blacklist'] = '';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Database Group
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Connect to a database group for keys, logging, etc. It will only connect
|
||||
| if you have any of these features enabled
|
||||
|
|
||||
*/
|
||||
$config['rest_database_group'] = 'default';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST API Keys Table Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The table name in your database that stores API keys
|
||||
|
|
||||
*/
|
||||
$config['rest_keys_table'] = 'ci_apikey';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Enable Keys
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When set to TRUE, the REST API will look for a column name called 'key'.
|
||||
| If no key is provided, the request will result in an error. To override the
|
||||
| column name see 'rest_key_column'
|
||||
|
|
||||
| Default table schema:
|
||||
| CREATE TABLE `keys` (
|
||||
| `id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
| `key` VARCHAR(40) NOT NULL,
|
||||
| `level` INT(2) NOT NULL,
|
||||
| `ignore_limits` TINYINT(1) NOT NULL DEFAULT '0',
|
||||
| `is_private_key` TINYINT(1) NOT NULL DEFAULT '0',
|
||||
| `ip_addresses` TEXT NULL DEFAULT NULL,
|
||||
| `date_created` INT(11) NOT NULL,
|
||||
| PRIMARY KEY (`id`)
|
||||
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
|
||||
*/
|
||||
$config['rest_enable_keys'] = TRUE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Table Key Column Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If not using the default table schema in 'rest_enable_keys', specify the
|
||||
| column name to match e.g. my_key
|
||||
|
|
||||
*/
|
||||
$config['rest_key_column'] = 'key';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST API Limits method
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Specify the method used to limit the API calls
|
||||
|
|
||||
| Available methods are :
|
||||
| $config['rest_limits_method'] = 'API_KEY'; // Put a limit per api key
|
||||
| $config['rest_limits_method'] = 'METHOD_NAME'; // Put a limit on method calls
|
||||
| $config['rest_limits_method'] = 'ROUTED_URL'; // Put a limit on the routed URL
|
||||
|
|
||||
*/
|
||||
$config['rest_limits_method'] = 'ROUTED_URL';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Key Length
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Length of the created keys. Check your default database schema on the
|
||||
| maximum length allowed
|
||||
|
|
||||
| Note: The maximum length is 40
|
||||
|
|
||||
*/
|
||||
$config['rest_key_length'] = 40;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST API Key Variable
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Custom header to specify the API key
|
||||
|
||||
| Note: Custom headers with the X- prefix are deprecated as of
|
||||
| 2012/06/12. See RFC 6648 specification for more details
|
||||
|
|
||||
*/
|
||||
$config['rest_key_name'] = 'FHC-API-KEY';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Enable Logging
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When set to TRUE, the REST API will log actions based on the column names 'key', 'date',
|
||||
| 'time' and 'ip_address'. This is a general rule that can be overridden in the
|
||||
| $this->method array for each controller
|
||||
|
|
||||
| Default table schema:
|
||||
| CREATE TABLE `logs` (
|
||||
| `id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
| `uri` VARCHAR(255) NOT NULL,
|
||||
| `method` VARCHAR(6) NOT NULL,
|
||||
| `params` TEXT DEFAULT NULL,
|
||||
| `api_key` VARCHAR(40) NOT NULL,
|
||||
| `ip_address` VARCHAR(45) NOT NULL,
|
||||
| `time` INT(11) NOT NULL,
|
||||
| `rtime` FLOAT DEFAULT NULL,
|
||||
| `authorized` VARCHAR(1) NOT NULL,
|
||||
| `response_code` smallint(3) DEFAULT '0',
|
||||
| PRIMARY KEY (`id`)
|
||||
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
|
||||
*/
|
||||
$config['rest_enable_logging'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST API Logs Table Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If not using the default table schema in 'rest_enable_logging', specify the
|
||||
| table name to match e.g. my_logs
|
||||
|
|
||||
*/
|
||||
$config['rest_logs_table'] = 'logs';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Method Access Control
|
||||
|--------------------------------------------------------------------------
|
||||
| When set to TRUE, the REST API will check the access table to see if
|
||||
| the API key can access that controller. 'rest_enable_keys' must be enabled
|
||||
| to use this
|
||||
|
|
||||
| Default table schema:
|
||||
| CREATE TABLE `access` (
|
||||
| `id` INT(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
| `key` VARCHAR(40) NOT NULL DEFAULT '',
|
||||
| `controller` VARCHAR(50) NOT NULL DEFAULT '',
|
||||
| `date_created` DATETIME DEFAULT NULL,
|
||||
| `date_modified` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
| PRIMARY KEY (`id`)
|
||||
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
|
||||
*/
|
||||
$config['rest_enable_access'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST API Access Table Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If not using the default table schema in 'rest_enable_access', specify the
|
||||
| table name to match e.g. my_access
|
||||
|
|
||||
*/
|
||||
$config['rest_access_table'] = 'access';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST API Param Log Format
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When set to TRUE, the REST API log parameters will be stored in the database as JSON
|
||||
| Set to FALSE to log as serialized PHP
|
||||
|
|
||||
*/
|
||||
$config['rest_logs_json_params'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Enable Limits
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When set to TRUE, the REST API will count the number of uses of each method
|
||||
| by an API key each hour. This is a general rule that can be overridden in the
|
||||
| $this->method array in each controller
|
||||
|
|
||||
| Default table schema:
|
||||
| CREATE TABLE `limits` (
|
||||
| `id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
| `uri` VARCHAR(255) NOT NULL,
|
||||
| `count` INT(10) NOT NULL,
|
||||
| `hour_started` INT(11) NOT NULL,
|
||||
| `api_key` VARCHAR(40) NOT NULL,
|
||||
| PRIMARY KEY (`id`)
|
||||
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
|
||||
| To specify the limits within the controller's __construct() method, add per-method
|
||||
| limits with:
|
||||
|
|
||||
| $this->method['METHOD_NAME']['limit'] = [NUM_REQUESTS_PER_HOUR];
|
||||
|
|
||||
| See application/controllers/api/example.php for examples
|
||||
*/
|
||||
$config['rest_enable_limits'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST API Limits Table Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If not using the default table schema in 'rest_enable_limits', specify the
|
||||
| table name to match e.g. my_limits
|
||||
|
|
||||
*/
|
||||
$config['rest_limits_table'] = 'limits';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Ignore HTTP Accept
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Set to TRUE to ignore the HTTP Accept and speed up each request a little.
|
||||
| Only do this if you are using the $this->rest_format or /format/xml in URLs
|
||||
|
|
||||
*/
|
||||
$config['rest_ignore_http_accept'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST AJAX Only
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Set to TRUE to allow AJAX requests only. Set to FALSE to accept HTTP requests
|
||||
|
|
||||
| Note: If set to TRUE and the request is not AJAX, a 505 response with the
|
||||
| error message 'Only AJAX requests are accepted.' will be returned.
|
||||
|
|
||||
| Hint: This is good for production environments
|
||||
|
|
||||
*/
|
||||
$config['rest_ajax_only'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| REST Language File
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Language file to load from the language directory
|
||||
|
|
||||
*/
|
||||
$config['rest_language'] = 'en-US';
|
||||
Executable
+51
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH'))
|
||||
exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
| Standard ROLES in FH-Complete and their persmissions
|
||||
| -------------------------------------------------------------------------
|
||||
|
|
||||
*/
|
||||
$config['roles'] = array
|
||||
(
|
||||
array
|
||||
(
|
||||
'rolle_kurzbz' => 'admin',
|
||||
'berechtigung' => array
|
||||
(
|
||||
'admin', 'assistenz', 'basis/addon', 'basis/ampel', 'basis/ampeluebersicht',
|
||||
'basis/benutzer', 'basis/berechtigung', 'basis/betriebsmittel', 'basis/cms',
|
||||
'basis/cms_review', 'basis/cms_sperrfreigabe', 'basis/cronjob', 'basis/dms',
|
||||
'basis/fas', 'basis/ferien', 'basis/fhausweis','basis/firma',
|
||||
'basis/infoscreen', 'basis/moodle', 'basis/moodle','basis/news', 'basis/notiz',
|
||||
'basis/organisationseinheit', 'basis/ort', 'basis/person', 'basis/planner',
|
||||
'basis/service', 'basis/statistik', 'basis/studiengang', 'basis/studiensemester', 'basis/tempus',
|
||||
'basis/testtool', 'basis/variable', 'basis/vilesci', 'buchung/typen',
|
||||
'buchung/mitarbeiter', 'inout/incoming', 'inout/outgoing', 'inout/uebersicht',
|
||||
'lehre', 'lehre/abgabetool', 'lehre/freifach', 'lehre/lehrfach',
|
||||
'lehre/lehrveranstaltung', 'lehre/lvplan', 'lehre/lvinfo',
|
||||
'lehre/pruefungsanmeldungAdmin', 'lehre/pruefungsbeurteilung',
|
||||
'lehre/pruefungsbeurteilungAdmin', 'lehre/pruefungsterminAdmin',
|
||||
'lehre/pruefungsfenster', 'lehre/reihungstest', 'lehre/reservierung',
|
||||
'lehre/studienordnung', 'lehre/studienordnungInaktiv', 'lehre/studienplan',
|
||||
'lehre/vorrueckung', 'lv-plan', 'lv-plan/gruppenentfernen',
|
||||
'lv-plan/lektorentfernen', 'mitarbeiter', 'mitarbeiter/bankdaten',
|
||||
'mitarbeiter/personalnummer', 'mitarbeiter/stammdaten', 'mitarbeiter/urlaube',
|
||||
'mitarbeiter/zeitsperre', 'news', 'planner', 'preinteressent', 'raumres',
|
||||
'reihungstest', 'sdTools', 'soap/lv', 'soap/lvplan', 'soap/mitarbeiter',
|
||||
'soap/ort', 'soap/pruefungsfenster', 'soap/student', 'soap/studienordnung',
|
||||
'soap/benutzer', 'soap/buchungen', 'student/bankdaten', 'student/anrechnung',
|
||||
'student/anwesenheit', 'student/dokumente', 'student/noten', 'system/phrase',
|
||||
'system/vorlage', 'system/vorlagestudiengang', 'student/stammdaten',
|
||||
'student/vorrueckung', 'system/developer', 'system/loginasuser',
|
||||
'user', 'veranstaltung', 'vertrag/mitarbeiter', 'vertrag/typen',
|
||||
'wawi/berichte', 'wawi/bestellung', 'wawi/bestellung_advanced', 'wawi/budget',
|
||||
'wawi/delete_advanced', 'wawi/firma', 'wawi/freigabe',
|
||||
'wawi/freigabe_advanced', 'wawi/inventar', 'wawi/konto', 'wawi/kostenstelle',
|
||||
'wawi/rechnung', 'wawi/rechnung_freigeben', 'wawi/rechnung_transfer',
|
||||
'wawi/storno'
|
||||
)
|
||||
)
|
||||
);
|
||||
Executable
+62
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
| URI ROUTING
|
||||
| -------------------------------------------------------------------------
|
||||
| This file lets you re-map URI requests to specific controller functions.
|
||||
|
|
||||
| Typically there is a one-to-one relationship between a URL string
|
||||
| and its corresponding controller class/method. The segments in a
|
||||
| URL normally follow this pattern:
|
||||
|
|
||||
| example.com/class/method/id/
|
||||
|
|
||||
| In some instances, however, you may want to remap this relationship
|
||||
| so that a different class/function is called than the one
|
||||
| corresponding to the URL.
|
||||
|
|
||||
| Please see the user guide for complete details:
|
||||
|
|
||||
| http://codeigniter.com/user_guide/general/routing.html
|
||||
|
|
||||
| -------------------------------------------------------------------------
|
||||
| RESERVED ROUTES
|
||||
| -------------------------------------------------------------------------
|
||||
|
|
||||
| There are three reserved routes:
|
||||
|
|
||||
| $route['default_controller'] = 'welcome';
|
||||
|
|
||||
| This route indicates which controller class should be loaded if the
|
||||
| URI contains no data. In the above example, the "welcome" class
|
||||
| would be loaded.
|
||||
|
|
||||
| $route['404_override'] = 'errors/page_missing';
|
||||
|
|
||||
| This route will tell the Router which controller/method to use if those
|
||||
| provided in the URL cannot be matched to a valid route.
|
||||
|
|
||||
| $route['translate_uri_dashes'] = FALSE;
|
||||
|
|
||||
| This is not exactly a route, but allows you to automatically route
|
||||
| controller and method names that contain dashes. '-' isn't a valid
|
||||
| class or method name character, so it requires translation.
|
||||
| When you set this option to TRUE, it will replace ALL dashes in the
|
||||
| controller and method URI segments.
|
||||
|
|
||||
| Examples: my-controller/index -> my_controller/index
|
||||
| my-controller/my-method -> my_controller/my_method
|
||||
*/
|
||||
$route['default_controller'] = 'Vilesci';
|
||||
$route['404_override'] = '';
|
||||
$route['translate_uri_dashes'] = FALSE;
|
||||
|
||||
// Class name conflicts
|
||||
$route['api/v1/organisation/[S|s]tudiengang/(:any)'] = 'api/v1/organisation/studiengang2/$1';
|
||||
$route['api/v1/organisation/[F|f]achbereich/(:any)'] = 'api/v1/organisation/fachbereich2/$1';
|
||||
$route['api/v1/organisation/[G|g]eschaeftsjahr/(:any)'] = 'api/v1/organisation/geschaeftsjahr2/$1';
|
||||
$route['api/v1/organisation/[O|o]rganisationseinheit/(:any)'] = 'api/v1/organisation/organisationseinheit2/$1';
|
||||
$route['api/v1/ressource/[B|b]etriebsmittelperson/(:any)'] = 'api/v1/ressource/betriebsmittelperson2/$1';
|
||||
$route['api/v1/system/[S|s]prache/(:any)'] = 'api/v1/system/sprache2/$1';
|
||||
Executable
+64
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| SMILEYS
|
||||
| -------------------------------------------------------------------
|
||||
| This file contains an array of smileys for use with the emoticon helper.
|
||||
| Individual images can be used to replace multiple smileys. For example:
|
||||
| :-) and :) use the same image replacement.
|
||||
|
|
||||
| Please see user guide for more info:
|
||||
| http://codeigniter.com/user_guide/helpers/smiley_helper.html
|
||||
|
|
||||
*/
|
||||
$smileys = array(
|
||||
|
||||
// smiley image name width height alt
|
||||
|
||||
':-)' => array('grin.gif', '19', '19', 'grin'),
|
||||
':lol:' => array('lol.gif', '19', '19', 'LOL'),
|
||||
':cheese:' => array('cheese.gif', '19', '19', 'cheese'),
|
||||
':)' => array('smile.gif', '19', '19', 'smile'),
|
||||
';-)' => array('wink.gif', '19', '19', 'wink'),
|
||||
';)' => array('wink.gif', '19', '19', 'wink'),
|
||||
':smirk:' => array('smirk.gif', '19', '19', 'smirk'),
|
||||
':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'),
|
||||
':-S' => array('confused.gif', '19', '19', 'confused'),
|
||||
':wow:' => array('surprise.gif', '19', '19', 'surprised'),
|
||||
':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'),
|
||||
':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'),
|
||||
'%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'),
|
||||
';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'),
|
||||
':P' => array('raspberry.gif', '19', '19', 'raspberry'),
|
||||
':blank:' => array('blank.gif', '19', '19', 'blank stare'),
|
||||
':long:' => array('longface.gif', '19', '19', 'long face'),
|
||||
':ohh:' => array('ohh.gif', '19', '19', 'ohh'),
|
||||
':grrr:' => array('grrr.gif', '19', '19', 'grrr'),
|
||||
':gulp:' => array('gulp.gif', '19', '19', 'gulp'),
|
||||
'8-/' => array('ohoh.gif', '19', '19', 'oh oh'),
|
||||
':down:' => array('downer.gif', '19', '19', 'downer'),
|
||||
':red:' => array('embarrassed.gif', '19', '19', 'red face'),
|
||||
':sick:' => array('sick.gif', '19', '19', 'sick'),
|
||||
':shut:' => array('shuteye.gif', '19', '19', 'shut eye'),
|
||||
':-/' => array('hmm.gif', '19', '19', 'hmmm'),
|
||||
'>:(' => array('mad.gif', '19', '19', 'mad'),
|
||||
':mad:' => array('mad.gif', '19', '19', 'mad'),
|
||||
'>:-(' => array('angry.gif', '19', '19', 'angry'),
|
||||
':angry:' => array('angry.gif', '19', '19', 'angry'),
|
||||
':zip:' => array('zip.gif', '19', '19', 'zipper'),
|
||||
':kiss:' => array('kiss.gif', '19', '19', 'kiss'),
|
||||
':ahhh:' => array('shock.gif', '19', '19', 'shock'),
|
||||
':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'),
|
||||
':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'),
|
||||
':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'),
|
||||
':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'),
|
||||
':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'),
|
||||
':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'),
|
||||
':vampire:' => array('vampire.gif', '19', '19', 'vampire'),
|
||||
':snake:' => array('snake.gif', '19', '19', 'snake'),
|
||||
':exclaim:' => array('exclaim.gif', '19', '19', 'exclaim'),
|
||||
':question:' => array('question.gif', '19', '19', 'question')
|
||||
|
||||
);
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Template configuration
|
||||
|--------------------------------------------------------------------------
|
||||
| This file will contain the settings for the template library.
|
||||
|
|
||||
| 'parser' = if you want your main template file to be parsed, set to TRUE
|
||||
| 'template' = the filename of the default template file
|
||||
| 'cache_ttl' = the time all partials should be cache in seconds, 0 means no global caching
|
||||
*/
|
||||
|
||||
$config['parser'] = TRUE;
|
||||
$config['template'] = 'templates/vilesci';
|
||||
$config['cache_ttl'] = 0;
|
||||
Executable
+211
@@ -0,0 +1,211 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| USER AGENT TYPES
|
||||
| -------------------------------------------------------------------
|
||||
| This file contains four arrays of user agent data. It is used by the
|
||||
| User Agent Class to help identify browser, platform, robot, and
|
||||
| mobile device data. The array keys are used to identify the device
|
||||
| and the array values are used to set the actual name of the item.
|
||||
*/
|
||||
$platforms = array(
|
||||
'windows nt 10.0' => 'Windows 10',
|
||||
'windows nt 6.3' => 'Windows 8.1',
|
||||
'windows nt 6.2' => 'Windows 8',
|
||||
'windows nt 6.1' => 'Windows 7',
|
||||
'windows nt 6.0' => 'Windows Vista',
|
||||
'windows nt 5.2' => 'Windows 2003',
|
||||
'windows nt 5.1' => 'Windows XP',
|
||||
'windows nt 5.0' => 'Windows 2000',
|
||||
'windows nt 4.0' => 'Windows NT 4.0',
|
||||
'winnt4.0' => 'Windows NT 4.0',
|
||||
'winnt 4.0' => 'Windows NT',
|
||||
'winnt' => 'Windows NT',
|
||||
'windows 98' => 'Windows 98',
|
||||
'win98' => 'Windows 98',
|
||||
'windows 95' => 'Windows 95',
|
||||
'win95' => 'Windows 95',
|
||||
'windows phone' => 'Windows Phone',
|
||||
'windows' => 'Unknown Windows OS',
|
||||
'android' => 'Android',
|
||||
'blackberry' => 'BlackBerry',
|
||||
'iphone' => 'iOS',
|
||||
'ipad' => 'iOS',
|
||||
'ipod' => 'iOS',
|
||||
'os x' => 'Mac OS X',
|
||||
'ppc mac' => 'Power PC Mac',
|
||||
'freebsd' => 'FreeBSD',
|
||||
'ppc' => 'Macintosh',
|
||||
'linux' => 'Linux',
|
||||
'debian' => 'Debian',
|
||||
'sunos' => 'Sun Solaris',
|
||||
'beos' => 'BeOS',
|
||||
'apachebench' => 'ApacheBench',
|
||||
'aix' => 'AIX',
|
||||
'irix' => 'Irix',
|
||||
'osf' => 'DEC OSF',
|
||||
'hp-ux' => 'HP-UX',
|
||||
'netbsd' => 'NetBSD',
|
||||
'bsdi' => 'BSDi',
|
||||
'openbsd' => 'OpenBSD',
|
||||
'gnu' => 'GNU/Linux',
|
||||
'unix' => 'Unknown Unix OS',
|
||||
'symbian' => 'Symbian OS'
|
||||
);
|
||||
|
||||
|
||||
// The order of this array should NOT be changed. Many browsers return
|
||||
// multiple browser types so we want to identify the sub-type first.
|
||||
$browsers = array(
|
||||
'OPR' => 'Opera',
|
||||
'Flock' => 'Flock',
|
||||
'Edge' => 'Spartan',
|
||||
'Chrome' => 'Chrome',
|
||||
// Opera 10+ always reports Opera/9.80 and appends Version/<real version> to the user agent string
|
||||
'Opera.*?Version' => 'Opera',
|
||||
'Opera' => 'Opera',
|
||||
'MSIE' => 'Internet Explorer',
|
||||
'Internet Explorer' => 'Internet Explorer',
|
||||
'Trident.* rv' => 'Internet Explorer',
|
||||
'Shiira' => 'Shiira',
|
||||
'Firefox' => 'Firefox',
|
||||
'Chimera' => 'Chimera',
|
||||
'Phoenix' => 'Phoenix',
|
||||
'Firebird' => 'Firebird',
|
||||
'Camino' => 'Camino',
|
||||
'Netscape' => 'Netscape',
|
||||
'OmniWeb' => 'OmniWeb',
|
||||
'Safari' => 'Safari',
|
||||
'Mozilla' => 'Mozilla',
|
||||
'Konqueror' => 'Konqueror',
|
||||
'icab' => 'iCab',
|
||||
'Lynx' => 'Lynx',
|
||||
'Links' => 'Links',
|
||||
'hotjava' => 'HotJava',
|
||||
'amaya' => 'Amaya',
|
||||
'IBrowse' => 'IBrowse',
|
||||
'Maxthon' => 'Maxthon',
|
||||
'Ubuntu' => 'Ubuntu Web Browser'
|
||||
);
|
||||
|
||||
$mobiles = array(
|
||||
// legacy array, old values commented out
|
||||
'mobileexplorer' => 'Mobile Explorer',
|
||||
// 'openwave' => 'Open Wave',
|
||||
// 'opera mini' => 'Opera Mini',
|
||||
// 'operamini' => 'Opera Mini',
|
||||
// 'elaine' => 'Palm',
|
||||
'palmsource' => 'Palm',
|
||||
// 'digital paths' => 'Palm',
|
||||
// 'avantgo' => 'Avantgo',
|
||||
// 'xiino' => 'Xiino',
|
||||
'palmscape' => 'Palmscape',
|
||||
// 'nokia' => 'Nokia',
|
||||
// 'ericsson' => 'Ericsson',
|
||||
// 'blackberry' => 'BlackBerry',
|
||||
// 'motorola' => 'Motorola'
|
||||
|
||||
// Phones and Manufacturers
|
||||
'motorola' => 'Motorola',
|
||||
'nokia' => 'Nokia',
|
||||
'palm' => 'Palm',
|
||||
'iphone' => 'Apple iPhone',
|
||||
'ipad' => 'iPad',
|
||||
'ipod' => 'Apple iPod Touch',
|
||||
'sony' => 'Sony Ericsson',
|
||||
'ericsson' => 'Sony Ericsson',
|
||||
'blackberry' => 'BlackBerry',
|
||||
'cocoon' => 'O2 Cocoon',
|
||||
'blazer' => 'Treo',
|
||||
'lg' => 'LG',
|
||||
'amoi' => 'Amoi',
|
||||
'xda' => 'XDA',
|
||||
'mda' => 'MDA',
|
||||
'vario' => 'Vario',
|
||||
'htc' => 'HTC',
|
||||
'samsung' => 'Samsung',
|
||||
'sharp' => 'Sharp',
|
||||
'sie-' => 'Siemens',
|
||||
'alcatel' => 'Alcatel',
|
||||
'benq' => 'BenQ',
|
||||
'ipaq' => 'HP iPaq',
|
||||
'mot-' => 'Motorola',
|
||||
'playstation portable' => 'PlayStation Portable',
|
||||
'playstation 3' => 'PlayStation 3',
|
||||
'playstation vita' => 'PlayStation Vita',
|
||||
'hiptop' => 'Danger Hiptop',
|
||||
'nec-' => 'NEC',
|
||||
'panasonic' => 'Panasonic',
|
||||
'philips' => 'Philips',
|
||||
'sagem' => 'Sagem',
|
||||
'sanyo' => 'Sanyo',
|
||||
'spv' => 'SPV',
|
||||
'zte' => 'ZTE',
|
||||
'sendo' => 'Sendo',
|
||||
'nintendo dsi' => 'Nintendo DSi',
|
||||
'nintendo ds' => 'Nintendo DS',
|
||||
'nintendo 3ds' => 'Nintendo 3DS',
|
||||
'wii' => 'Nintendo Wii',
|
||||
'open web' => 'Open Web',
|
||||
'openweb' => 'OpenWeb',
|
||||
|
||||
// Operating Systems
|
||||
'android' => 'Android',
|
||||
'symbian' => 'Symbian',
|
||||
'SymbianOS' => 'SymbianOS',
|
||||
'elaine' => 'Palm',
|
||||
'series60' => 'Symbian S60',
|
||||
'windows ce' => 'Windows CE',
|
||||
|
||||
// Browsers
|
||||
'obigo' => 'Obigo',
|
||||
'netfront' => 'Netfront Browser',
|
||||
'openwave' => 'Openwave Browser',
|
||||
'mobilexplorer' => 'Mobile Explorer',
|
||||
'operamini' => 'Opera Mini',
|
||||
'opera mini' => 'Opera Mini',
|
||||
'opera mobi' => 'Opera Mobile',
|
||||
'fennec' => 'Firefox Mobile',
|
||||
|
||||
// Other
|
||||
'digital paths' => 'Digital Paths',
|
||||
'avantgo' => 'AvantGo',
|
||||
'xiino' => 'Xiino',
|
||||
'novarra' => 'Novarra Transcoder',
|
||||
'vodafone' => 'Vodafone',
|
||||
'docomo' => 'NTT DoCoMo',
|
||||
'o2' => 'O2',
|
||||
|
||||
// Fallback
|
||||
'mobile' => 'Generic Mobile',
|
||||
'wireless' => 'Generic Mobile',
|
||||
'j2me' => 'Generic Mobile',
|
||||
'midp' => 'Generic Mobile',
|
||||
'cldc' => 'Generic Mobile',
|
||||
'up.link' => 'Generic Mobile',
|
||||
'up.browser' => 'Generic Mobile',
|
||||
'smartphone' => 'Generic Mobile',
|
||||
'cellphone' => 'Generic Mobile'
|
||||
);
|
||||
|
||||
// There are hundreds of bots but these are the most common.
|
||||
$robots = array(
|
||||
'googlebot' => 'Googlebot',
|
||||
'msnbot' => 'MSNBot',
|
||||
'baiduspider' => 'Baiduspider',
|
||||
'bingbot' => 'Bing',
|
||||
'slurp' => 'Inktomi Slurp',
|
||||
'yahoo' => 'Yahoo',
|
||||
'ask jeeves' => 'Ask Jeeves',
|
||||
'fastcrawler' => 'FastCrawler',
|
||||
'infoseek' => 'InfoSeek Robot 1.0',
|
||||
'lycos' => 'Lycos',
|
||||
'yandex' => 'YandexBot',
|
||||
'mediapartners-google' => 'MediaPartners Google',
|
||||
'CRAZYWEBCRAWLER' => 'Crazy Webcrawler',
|
||||
'adsbot-google' => 'AdsBot Google',
|
||||
'feedfetcher-google' => 'Feedfetcher Google',
|
||||
'curious george' => 'Curious George'
|
||||
);
|
||||
@@ -0,0 +1,571 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH'))
|
||||
exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Database Class
|
||||
*
|
||||
*/
|
||||
|
||||
class DBTools extends FHC_Controller
|
||||
{
|
||||
private $cli = false;
|
||||
/**
|
||||
* Path to seed classes
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $seed_path;
|
||||
|
||||
/**
|
||||
* Seed basename regex
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $seed_regex = '/^\d{3}_(\w+)$/';
|
||||
|
||||
/**
|
||||
* Initialize DB-Tools Class
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->seed_path = APPPATH.'seeds/';
|
||||
|
||||
if ($this->input->is_cli_request())
|
||||
{
|
||||
$cli = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
//$this->output->set_status_header(403, 'Migrations must be run from the CLI');
|
||||
//exit;
|
||||
}
|
||||
|
||||
// can only be run in the development environment
|
||||
if (ENVIRONMENT == 'production')
|
||||
exit('Wowsers! You don\'t want to do that!');
|
||||
$this->load->database('system'); //Use the system-Connection for DB-Manipulation
|
||||
$this->config->load('migration');
|
||||
$this->load->library('migration');
|
||||
|
||||
// If not set, set it
|
||||
$this->seed_path !== '' OR $this->seed_path = APPPATH.'seeds/';
|
||||
// Add trailing slash if not set
|
||||
$this->seed_path = rtrim($this->seed_path, '/').'/';
|
||||
|
||||
// Load seed language
|
||||
$this->lang->load('seed');
|
||||
|
||||
// initiate faker
|
||||
$this->faker = \Faker\Factory::create();
|
||||
|
||||
// load any required models
|
||||
//$this->load->model('person/Person_model');
|
||||
|
||||
log_message('info', 'DB-Tools Controller Initialized');
|
||||
}
|
||||
|
||||
/**
|
||||
* Main function index as help
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$result = "The following are the available command line interface commands\n\n";
|
||||
$result .= "php index.ci.php DBTools migrate [\"version_number\"] Run migrations. (latest/current) ";
|
||||
$result .= "The version number is optional.\n";
|
||||
$result .= "php index.ci.php DBTools seed [\"file_name\"] Run the specified seed (Name of Seed. expl: 'Organisation').\n";
|
||||
|
||||
echo $result.PHP_EOL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Migrate to latest or current version
|
||||
*
|
||||
* @param string $version [optional] One of either "latest" or "current"
|
||||
* @return void
|
||||
*/
|
||||
public function migrate($version = 'latest')
|
||||
{
|
||||
echo 'DB-Migration';
|
||||
if ($version != 'latest' && $version != 'current')
|
||||
{
|
||||
$this->__failed('Migration version must be either latest or current');
|
||||
}
|
||||
elseif ($this->cli && !$this->migration->$version())
|
||||
{
|
||||
show_error($this->migration->error_string());
|
||||
}
|
||||
elseif (!$this->migration->$version())
|
||||
{
|
||||
$this->__failed();
|
||||
}
|
||||
|
||||
$this->__succeeded();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Migrate to a specific version
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function version()
|
||||
{
|
||||
if ($version == 'latest' || $version == 'current')
|
||||
{
|
||||
$this->index($version);
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!$this->migrate->version($version))
|
||||
{
|
||||
$this->__failed();
|
||||
}
|
||||
|
||||
$this->__succeeded();
|
||||
}
|
||||
|
||||
/**
|
||||
* Roll-back to the last version before current
|
||||
*
|
||||
* @param int $version The migration to rollback to, defaults to previous
|
||||
* @return void
|
||||
*/
|
||||
public function rollback($version = null)
|
||||
{
|
||||
if (is_null($version))
|
||||
{
|
||||
$version = $this->__getVersion() ?: 1;
|
||||
$version--;
|
||||
}
|
||||
|
||||
// Check it's definitely false, we could be rolling back to v0
|
||||
if (false === $this->migration->version($version))
|
||||
{
|
||||
$this->__failed();
|
||||
}
|
||||
|
||||
$this->__succeeded('rolled back');
|
||||
}
|
||||
|
||||
/**
|
||||
* ROLLBACK ALL THE THINGS!
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function uninstall()
|
||||
{
|
||||
$this->rollback(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Seeds DB with Testdata
|
||||
*
|
||||
* @param string $name Name of the seed file.
|
||||
* @return bool
|
||||
*/
|
||||
public function seed($name = null)
|
||||
{
|
||||
$seeds = $this->findSeeds();
|
||||
|
||||
if (empty($seeds))
|
||||
{
|
||||
$this->_error_string = $this->lang->line('seed_none_found');
|
||||
return false;
|
||||
}
|
||||
|
||||
$method = 'seed';
|
||||
$pending = array();
|
||||
|
||||
|
||||
foreach ($seeds as $number => $file)
|
||||
{
|
||||
include_once($file);
|
||||
$class = 'Seed_'.ucfirst(strtolower($this->_getSeedName(basename($file, '.php'))));
|
||||
|
||||
// Validate the seed file structure
|
||||
if (! class_exists($class, false))
|
||||
{
|
||||
$this->_error_string = sprintf($this->lang->line('seed_class_doesnt_exist'), $class);
|
||||
return false;
|
||||
}
|
||||
// method_exists() returns true for non-public methods,
|
||||
// while is_callable() can't be used without instantiating.
|
||||
// Only get_class_methods() satisfies both conditions.
|
||||
elseif (! in_array($method, array_map('strtolower', get_class_methods($class))))
|
||||
{
|
||||
$this->_error_string = sprintf($this->lang->line('seed_missing_'.$method.'_method'), $class);
|
||||
return false;
|
||||
}
|
||||
|
||||
$pending[$number] = array($class, $method);
|
||||
}
|
||||
|
||||
// Now just run the necessary seeds
|
||||
foreach ($pending as $number => $seed)
|
||||
{
|
||||
if (is_null($name))
|
||||
{
|
||||
log_message('debug', 'Seeding '.$method);
|
||||
|
||||
$seed[0] = new $seed[0];
|
||||
call_user_func($seed);
|
||||
}
|
||||
elseif ($seed[0] == 'Seed_'.$name)
|
||||
{
|
||||
log_message('debug', 'Seeding '.$method);
|
||||
|
||||
$seed[0] = new $seed[0];
|
||||
call_user_func($seed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves list of available seed files
|
||||
*
|
||||
* @return array list of seed file paths sorted by version
|
||||
*/
|
||||
public function findSeeds()
|
||||
{
|
||||
$seeds = array();
|
||||
|
||||
// Load all *_*.php files in the seeds path
|
||||
foreach (glob($this->seed_path.'*_*.php') as $file)
|
||||
{
|
||||
$name = basename($file, '.php');
|
||||
|
||||
// Filter out non-seed files
|
||||
if (preg_match($this->seed_regex, $name))
|
||||
{
|
||||
$number = $this->_getSeedNumber($name);
|
||||
|
||||
// There cannot be duplicate seed numbers
|
||||
if (isset($seeds[$number]))
|
||||
{
|
||||
$this->_error_string = sprintf($this->lang->line('seed_multiple_version'), $number);
|
||||
show_error($this->_error_string);
|
||||
}
|
||||
|
||||
$seeds[$number] = $file;
|
||||
}
|
||||
}
|
||||
|
||||
ksort($seeds);
|
||||
return $seeds;
|
||||
}
|
||||
|
||||
/**
|
||||
* Truncate DB from Testdata
|
||||
*
|
||||
* @param string $name Name of the seed file.
|
||||
* @return bool
|
||||
*/
|
||||
public function truncate($name)
|
||||
{
|
||||
$seeds = $this->findSeeds();
|
||||
|
||||
if (empty($name))
|
||||
{
|
||||
$this->_error_string = $this->lang->line('seed_none_found');
|
||||
return false;
|
||||
}
|
||||
|
||||
$method = 'truncate';
|
||||
$pending = array();
|
||||
|
||||
|
||||
foreach ($seeds as $number => $file)
|
||||
{
|
||||
include_once($file);
|
||||
$class = 'Seed_'.ucfirst(strtolower($this->_getSeedName(basename($file, '.php'))));
|
||||
|
||||
// Validate the seed file structure
|
||||
if (! class_exists($class, false))
|
||||
{
|
||||
$this->_error_string = sprintf($this->lang->line('seed_class_doesnt_exist'), $class);
|
||||
return false;
|
||||
}
|
||||
// method_exists() returns true for non-public methods,
|
||||
// while is_callable() can't be used without instantiating.
|
||||
// Only get_class_methods() satisfies both conditions.
|
||||
elseif (! in_array($method, array_map('strtolower', get_class_methods($class))))
|
||||
{
|
||||
$this->_error_string = sprintf($this->lang->line('seed_missing_'.$method.'_method'), $class);
|
||||
return false;
|
||||
}
|
||||
|
||||
$pending[$number] = array($class, $method);
|
||||
}
|
||||
|
||||
// Now just run the necessary seeds
|
||||
foreach ($pending as $number => $seed)
|
||||
{
|
||||
if (is_null($name))
|
||||
{
|
||||
log_message('debug', 'Seeding '.$method);
|
||||
|
||||
$seed[0] = new $seed[0];
|
||||
call_user_func($seed);
|
||||
}
|
||||
elseif ($seed[0] == 'Seed_'.$name)
|
||||
{
|
||||
log_message('debug', 'Seeding '.$method);
|
||||
|
||||
$seed[0] = new $seed[0];
|
||||
call_user_func($seed);
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Extracts the seed number from a filename
|
||||
*
|
||||
* @param string $seed Filename of the seed.
|
||||
* @return string Numeric portion of a seed filename
|
||||
*/
|
||||
protected function _getSeedNumber($seed)
|
||||
{
|
||||
return sscanf($seed, '%[0-9]+', $number)
|
||||
? $number : '0';
|
||||
}
|
||||
/**
|
||||
* Extracts the seed class name from a filename
|
||||
*
|
||||
* @param string $seed Filename of the seed.
|
||||
* @return string text portion of a migration filename
|
||||
*/
|
||||
protected function _getSeedName($seed)
|
||||
{
|
||||
$parts = explode('_', $seed);
|
||||
array_shift($parts);
|
||||
return implode('_', $parts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Yay, it worked! Tell the user.
|
||||
*
|
||||
* @param string $task What did we just do? We...
|
||||
* @return void
|
||||
*/
|
||||
private function __succeeded($task = 'migrated')
|
||||
{
|
||||
$version = $this->__getVersion();
|
||||
exit('Successfully '.$task.' to version '.$version);
|
||||
}
|
||||
|
||||
/**
|
||||
* Output an error message when it all goes tits up
|
||||
*
|
||||
* @param string $message Error to output (default to CI's migration error)
|
||||
* @return void
|
||||
*/
|
||||
private function __failed($message = null)
|
||||
{
|
||||
$message = $message ?: $this->migration->error_string();
|
||||
show_error($message);
|
||||
}
|
||||
|
||||
/**
|
||||
* Carbon copy of parent::__getVersion, but that's protected.
|
||||
*
|
||||
* @return int Currently installed migration number
|
||||
*/
|
||||
private function __getVersion()
|
||||
{
|
||||
$row = $this->db->get($this->config->item('migration_table'))->row();
|
||||
return $row ? $row->version : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check DB for different things like permissions or roles
|
||||
*
|
||||
* @param string $action What to check.
|
||||
* @return void
|
||||
*/
|
||||
public function check($action = 'schema')
|
||||
{
|
||||
echo 'DB-Check';
|
||||
switch ($action)
|
||||
{
|
||||
// **** Permission ****
|
||||
// ToDo: Check Persmissions in the bottom of this file
|
||||
case 'permissions':
|
||||
//var_dump($this->config->item('fhc_acl'));
|
||||
echo ' Permissions!';
|
||||
//$this->config->load('roles');
|
||||
foreach ($this->config->item('fhc_acl') as $b)
|
||||
{
|
||||
$qry = "SELECT * FROM system.tbl_berechtigung
|
||||
WHERE berechtigung_kurzbz='".$b."';";
|
||||
|
||||
if($result = $this->db->query($qry))
|
||||
{
|
||||
if($result->num_rows($result)==0)
|
||||
{
|
||||
// Nicht vorhanden -> anlegen
|
||||
$qry_insert="INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz) VALUES('".$b."');";
|
||||
|
||||
if($this->db->query($qry_insert))
|
||||
{
|
||||
echo '<br>Recht '.$b.' <b>hinzugefügt</b>';
|
||||
$neue=true;
|
||||
}
|
||||
else
|
||||
echo '<br><span class="error">Fehler: Recht '.$b.' hinzufügen nicht möglich</span>';
|
||||
}
|
||||
else
|
||||
echo "- $b -";
|
||||
}
|
||||
}
|
||||
break;
|
||||
// **** Roles ****
|
||||
case 'roles':
|
||||
echo ' Roles!';
|
||||
$this->config->load('roles');
|
||||
foreach ($this->config->item('roles') as $role)
|
||||
foreach ($role['berechtigung'] as $b)
|
||||
{
|
||||
$qry = "SELECT * FROM system.tbl_rolleberechtigung
|
||||
WHERE rolle_kurzbz='".$role['rolle_kurzbz']."'
|
||||
AND berechtigung_kurzbz='".$b."';";
|
||||
|
||||
if($result = $this->db->query($qry))
|
||||
{
|
||||
if($result->num_rows($result)==0)
|
||||
{
|
||||
// Nicht vorhanden -> anlegen
|
||||
$qry_insert="INSERT INTO system.tbl_rolleberechtigung (rolle_kurzbz, berechtigung_kurzbz, art) VALUES ('".$role['rolle_kurzbz']."','".$b."', 'suid');";
|
||||
|
||||
if($this->db->query($qry_insert))
|
||||
{
|
||||
echo '<br>'.$role['rolle_kurzbz'].' -> '.$b.' <b>hinzugefügt</b>';
|
||||
$neue=true;
|
||||
}
|
||||
else
|
||||
echo '<br><span class="error">Fehler: '.$role['rolle_kurzbz'].' -> '.$b.' hinzufügen nicht möglich</span>';
|
||||
}
|
||||
else
|
||||
echo "- $b -";
|
||||
}
|
||||
}
|
||||
break;
|
||||
// **** Default ****
|
||||
default: echo ' what? roles or permisssions?';
|
||||
exit();
|
||||
}
|
||||
|
||||
exit('Succesfully checked!');
|
||||
}
|
||||
|
||||
/**
|
||||
* Create User in DB
|
||||
*
|
||||
* @param string $action What to check.
|
||||
* @return void
|
||||
*/
|
||||
public function createadminuser($uid, $person_id = 1)
|
||||
{
|
||||
echo 'Create User!';
|
||||
$qry = "SELECT * FROM public.tbl_benutzer
|
||||
WHERE uid='".$uid."';";
|
||||
if ($result = $this->db->query($qry))
|
||||
{
|
||||
if ($result->num_rows($result)==0)
|
||||
{
|
||||
// Nicht vorhanden -> anlegen
|
||||
$qry_insert="INSERT INTO public.tbl_benutzer (uid, person_id) VALUES('".$uid."', ".$person_id.");";
|
||||
if($this->db->query($qry_insert))
|
||||
echo '<br>User '.$uid.' <b>angelegt</b>';
|
||||
else
|
||||
echo '<br><span class="error">Fehler: User '.$uid.' anlegen nicht möglich!</span>';
|
||||
// Join Role Admin
|
||||
$qry_insert="INSERT INTO system.tbl_benutzerrolle (rolle_kurzbz, uid) VALUES('admin','".$uid."');";
|
||||
if($this->db->query($qry_insert))
|
||||
echo '<br>Rolle Admin für User '.$uid.' <b>hinzugefügt</b>';
|
||||
else
|
||||
echo '<br><span class="error">Rolle Admin hinzufügen für User '.$b.' hinzufügen nicht möglich</span>';
|
||||
}
|
||||
}
|
||||
|
||||
exit('Succesfully created User!');
|
||||
}
|
||||
}
|
||||
|
||||
/* Check also this permissions:
|
||||
basis/fhausweis -> Verwaltungstools für FH Ausweis – Kartentausch, Bildpruefung, Druck hinzugefügt
|
||||
buchung/typen -> Verwaltung von Buchungstypen hinzugefügt
|
||||
buchung/mitarbeiter -> Verwaltung von Buchungen fuer Mitarbeiter hinzugefügt
|
||||
inout/incoming -> Incomingverwaltung hinzugefügt
|
||||
inout/outgoing -> Outgoingverwaltung hinzugefügt
|
||||
inout/uebersicht -> Verbandsanzeige fuer Incoming/Outgoing im FAS hinzugefügt
|
||||
lehre/lehrfach:begrenzt -> Lehrfachverwaltung - nur aktiv aenderbar, nur aktive LF werden angezeigt hinzugefügt
|
||||
lehre/pruefungsanmeldungAdmin -> Erlaubt die Verwaltung der Prüfungsanmeldungen. hinzugefügt
|
||||
lehre/pruefungsbeurteilung -> Erlaubt dem Benutzer Beurteilungen zu Prüfungen einzutragen. hinzugefügt
|
||||
lehre/pruefungsbeurteilungAdmin -> Erlaubt dem Benutzer für alle Prüfungen Beurteilungen einzutragen. hinzugefügt
|
||||
lehre/pruefungsterminAdmin -> Recht für jeden Lektor eine Prüfung anzulegen hinzugefügt
|
||||
lehre/pruefungsfenster -> Erlaubt dem Benutzer Prüfungsfenster anzulegen. hinzugefügt
|
||||
lv-plan/gruppenentfernen -> Erlaut das Entfernen von Gruppen aus LVPlan vom FAS aus hinzugefügt
|
||||
lv-plan/lektorentfernen -> Erlaut das Entfernen von Lektoren aus LVPlan vom FAS aus hinzugefügt
|
||||
mitarbeiter/bankdaten -> Bankdaten für Mitarbeiter und Studierende anzeigen hinzugefügt
|
||||
mitarbeiter/personalnummer -> Editieren der Personalnummer im FAS hinzugefügt
|
||||
mitarbeiter/urlaube -> Mit diesem Recht werden im CIS die Urlaube von allen Mitarbeiter sichtbar hinzugefügt
|
||||
planner -> Planner Verwaltung hinzugefügt
|
||||
reihungstest -> Recht für Anzeige des Reihungstests im Vilesci hinzugefügt
|
||||
sdTools -> Recht für Anzeige der SD-Tools im Vilesci hinzugefügt
|
||||
soap/lv -> Recht für LV Webservice hinzugefügt
|
||||
soap/lvplan -> Recht für LV-Plan Webservice hinzugefügt
|
||||
soap/mitarbeiter -> Recht für Mitarbeiter-Webservice hinzugefügt
|
||||
soap/ort -> Recht für Ort Webservice hinzugefügt
|
||||
soap/pruefungsfenster -> Recht für Pruefungsfenster Webservice hinzugefügt
|
||||
soap/student -> Recht für Student Webservice hinzugefügt
|
||||
soap/studienordnung -> Recht für Studienordnung Webservice hinzugefügt
|
||||
soap/benutzer -> Berechtigung für Bentutzerabfrage Addon Kontoimport hinzugefügt
|
||||
soap/buchungen -> Berechtigung für Buchungsabfrage Addon Kontoimport hinzugefügt
|
||||
student/bankdaten -> Bankdaten des Studenten hinzugefügt
|
||||
student/anrechnung -> Anrechnungen des Studenten hinzugefügt
|
||||
student/anwesenheit -> Anwesenheiten im FAS hinzugefügt
|
||||
system/developer -> Anzeige zusätzlicher Developerinfos hinzugefügt
|
||||
system/loginasuser -> Berechtigung zum Einloggen als anderer User hinzugefügt
|
||||
vertrag/mitarbeiter -> Verwalten von Vertraegen hinzugefügt
|
||||
vertrag/typen -> Verwalten von Vertragstypen hinzugefügt
|
||||
wawi/berichte -> Alle Berichte anzeigen hinzugefügt
|
||||
wawi/delete_advanced -> Loeschen von freigegebenen Bestellungen hinzugefügt
|
||||
Webservice Berechtigungen pruefen
|
||||
|
||||
soap/studienordnung/load_lva_oe->lehrveranstaltung hinzugefügt
|
||||
soap/studienordnung/load->lehrveranstaltung hinzugefügt
|
||||
soap/studienordnung/deleteStudienplanLehrveranstaltung->studienplan hinzugefügt
|
||||
soap/studienordnung/containsLehrveranstaltung->studienplan hinzugefügt
|
||||
soap/studienordnung/loadStudienplanLehrveranstaltung->studienplan hinzugefügt
|
||||
soap/studienordnung/saveStudienplanLehrveranstaltung->studienplan hinzugefügt
|
||||
soap/studienordnung/loadStudienordnung->studienordnung hinzugefügt
|
||||
soap/studienordnung/delete->lvregel hinzugefügt
|
||||
soap/studienordnung/save->lvregel hinzugefügt
|
||||
soap/studienordnung/load->lvregel hinzugefügt
|
||||
soap/studienordnung/loadLVRegelTypen->lvregel hinzugefügt
|
||||
soap/studienordnung/load_lva->lehrveranstaltung hinzugefügt
|
||||
soap/studienordnung/getAll->lehrtyp hinzugefügt
|
||||
soap/studienordnung/getAll->organisationseinheit hinzugefügt
|
||||
soap/studienordnung/getLVRegelTree->lvregel hinzugefügt
|
||||
soap/studienordnung/save->studienplan hinzugefügt
|
||||
soap/studienordnung/save->studienordnung hinzugefügt
|
||||
soap/studienordnung/loadStudienplanSTO->studienplan hinzugefügt
|
||||
soap/studienordnung/loadStudienordnungSTG->studienordnung hinzugefügt
|
||||
soap/studienordnung/loadStudienordnungSTGInaktiv->studienordnung hinzugefügt
|
||||
soap/studienordnung/loadStudienplan->studienplan hinzugefügt
|
||||
soap/studienordnung/saveSemesterZuordnung->studienordnung hinzugefügt
|
||||
soap/studienordnung/deleteSemesterZuordnung->studienordnung hinzugefügt
|
||||
soap/studienordnung/getLVkompatibel->lehrveranstaltung hinzugefügt
|
||||
soap/studienordnung/getLvTree->lehrveranstaltung hinzugefügt
|
||||
soap/pruefungsfenster/getByStudiensemester->pruefungsfenster hinzugefügt
|
||||
soap/studienordnung/exists->lvregel hinzugefügt
|
||||
soap/studienordnung/saveSortierung->studienplan hinzugefügt
|
||||
soap/benutzer/search->benutzer hinzugefügt
|
||||
soap/buchungen/getBuchungen-> */
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined("BASEPATH")) exit("No direct script access allowed");
|
||||
|
||||
class MailJob extends FHC_Controller
|
||||
{
|
||||
/**
|
||||
* API constructor
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
// Loads MessageLib
|
||||
$this->load->library("MessageLib");
|
||||
}
|
||||
|
||||
public function sendMessages($numberToSent = null, $numberPerTimeRange = null, $email_time_range = null, $email_from_system = null)
|
||||
{
|
||||
$this->messagelib->sendAll($numberToSent, $numberPerTimeRange, $email_time_range, $email_from_system);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Redirect extends FHC_Controller
|
||||
{
|
||||
/**
|
||||
* API constructor
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
// Loads config file fhcomplete
|
||||
$this->config->load('fhcomplete');
|
||||
}
|
||||
|
||||
public function redirectByToken($token)
|
||||
{
|
||||
if (isset($token))
|
||||
{
|
||||
redirect($this->config->item('addons_aufnahme_url') . '?token=' . $token);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class ViewMessage extends CI_Controller
|
||||
{
|
||||
/**
|
||||
* API constructor
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
// Loading config file message
|
||||
$this->config->load('message');
|
||||
|
||||
// Load model MessageToken_model
|
||||
$this->load->model('system/MessageToken_model', 'MessageTokenModel');
|
||||
}
|
||||
|
||||
public function toHTML($token)
|
||||
{
|
||||
$msg = $this->MessageTokenModel->getMessageByToken($token);
|
||||
|
||||
if ($msg->error)
|
||||
{
|
||||
show_error($msg->retval);
|
||||
}
|
||||
|
||||
if (is_array($msg->retval) && count($msg->retval) > 0)
|
||||
{
|
||||
$data = array (
|
||||
'message' => $msg->retval[0],
|
||||
'href' => APP_ROOT . $this->config->item('redirect_view_message_url') . $token
|
||||
);
|
||||
|
||||
$this->load->view('system/messageHTML.php', $data);
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+29
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Vilesci extends FHC_Controller
|
||||
{
|
||||
|
||||
/**
|
||||
* Index Page for this controller.
|
||||
*
|
||||
* Maps to the following URL
|
||||
* http://example.com/index.php/welcome
|
||||
* - or -
|
||||
* http://example.com/index.php/welcome/index
|
||||
* - or -
|
||||
* Since this controller is set as the default controller in
|
||||
* config/routes.php, it's displayed at http://example.com/
|
||||
*
|
||||
* So any other public methods not prefixed with an underscore will
|
||||
* map to /index.php/welcome/<method_name>
|
||||
* @see http://codeigniter.com/user_guide/general/urls.html
|
||||
* @return void
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$this->load->view('templates/header');
|
||||
$this->load->view('vilesci_frameset');
|
||||
$this->load->view('templates/footer');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class CheckUserAuth extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Course API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->load->model('CheckUserAuth_model', 'CheckUserAuthModel');
|
||||
}
|
||||
|
||||
public function getCheckByUsernamePassword()
|
||||
{
|
||||
$username = $this->get("username");
|
||||
$password = $this->get("password");
|
||||
|
||||
if (isset($username) && isset($password))
|
||||
{
|
||||
$result = $this->CheckUserAuthModel->checkByUsernamePassword($username, $password);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
//require_once APPPATH . '/libraries/REST_Controller.php';
|
||||
|
||||
/**
|
||||
* Testing class for REST calls and authentication
|
||||
*/
|
||||
class Test extends APIv1_Controller
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test HTTP GET method
|
||||
* It responses whith the HTTP status 200 and prints this JSON string
|
||||
* {"success":true,"message":"API HTTP GET call test succeed"}
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function getTest()
|
||||
{
|
||||
$payload = [
|
||||
'success' => TRUE,
|
||||
'message' => 'API HTTP GET call test succeed',
|
||||
'error' => 0
|
||||
];
|
||||
$httpstatus = REST_Controller::HTTP_OK;
|
||||
$this->response($payload, $httpstatus);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test HTTP POST method
|
||||
* * It responses whith the HTTP status 200 and prints this JSON string
|
||||
* {"success":true,"message":"API HTTP POST call test succeed"}
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function postTest()
|
||||
{
|
||||
$payload = [
|
||||
'success' => TRUE,
|
||||
'message' => 'API HTTP POST call test succeed',
|
||||
'error' => 0
|
||||
];
|
||||
$httpstatus = REST_Controller::HTTP_OK;
|
||||
$this->response($payload, $httpstatus);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Aufteilung extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Aufteilung API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AufteilungModel
|
||||
$this->load->model('accounting/aufteilung_model', 'AufteilungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAufteilung()
|
||||
{
|
||||
$aufteilungID = $this->get('aufteilung_id');
|
||||
|
||||
if (isset($aufteilungID))
|
||||
{
|
||||
$result = $this->AufteilungModel->load($aufteilungID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postAufteilung()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['aufteilung_id']))
|
||||
{
|
||||
$result = $this->AufteilungModel->update($this->post()['aufteilung_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->AufteilungModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($aufteilung = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bestelldetail extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Bestelldetail API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BestelldetailModel
|
||||
$this->load->model('accounting/bestelldetail_model', 'BestelldetailModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBestelldetail()
|
||||
{
|
||||
$bestelldetailID = $this->get('bestelldetail_id');
|
||||
|
||||
if (isset($bestelldetailID))
|
||||
{
|
||||
$result = $this->BestelldetailModel->load($bestelldetailID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBestelldetail()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['bestelldetail_id']))
|
||||
{
|
||||
$result = $this->BestelldetailModel->update($this->post()['bestelldetail_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BestelldetailModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($bestelldetail = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bestelldetailtag extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Bestelldetailtag API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BestelldetailtagModel
|
||||
$this->load->model('accounting/bestelldetailtag_model', 'BestelldetailtagModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBestelldetailtag()
|
||||
{
|
||||
$bestelldetail_id = $this->get('bestelldetail_id');
|
||||
$tag = $this->get('tag');
|
||||
|
||||
if (isset($bestelldetail_id) && isset($tag))
|
||||
{
|
||||
$result = $this->BestelldetailtagModel->load(array($bestelldetail_id, $tag));
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBestelldetailtag()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['bestelldetailtag_id']))
|
||||
{
|
||||
$result = $this->BestelldetailtagModel->update($this->post()['bestelldetailtag_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BestelldetailtagModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($bestelldetailtag = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bestellstatus extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Bestellstatus API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BestellstatusModel
|
||||
$this->load->model('accounting/bestellstatus_model', 'BestellstatusModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBestellstatus()
|
||||
{
|
||||
$bestellstatus_kurzbz = $this->get('bestellstatus_kurzbz');
|
||||
|
||||
if (isset($bestellstatus_kurzbz))
|
||||
{
|
||||
$result = $this->BestellstatusModel->load($bestellstatus_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBestellstatus()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['bestellstatus_kurzbz']))
|
||||
{
|
||||
$result = $this->BestellstatusModel->update($this->post()['bestellstatus_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BestellstatusModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($bestellstatus = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bestellung extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Bestellung API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BestellungModel
|
||||
$this->load->model('accounting/bestellung_model', 'BestellungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBestellung()
|
||||
{
|
||||
$bestellungID = $this->get('bestellung_id');
|
||||
|
||||
if (isset($bestellungID))
|
||||
{
|
||||
$result = $this->BestellungModel->load($bestellungID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBestellung()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['bestellung_id']))
|
||||
{
|
||||
$result = $this->BestellungModel->update($this->post()['bestellung_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BestellungModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($bestellung = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bestellungtag extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Bestellungtag API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BestellungtagModel
|
||||
$this->load->model('accounting/bestellungtag_model', 'BestellungtagModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBestellungtag()
|
||||
{
|
||||
$bestellung_id = $this->get('bestellung_id');
|
||||
$tag = $this->get('tag');
|
||||
|
||||
if (isset($bestellung_id) && isset($tag))
|
||||
{
|
||||
$result = $this->BestellungtagModel->load(array($bestellung_id, $tag));
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBestellungtag()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['bestellungtag_id']))
|
||||
{
|
||||
$result = $this->BestellungtagModel->update($this->post()['bestellungtag_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BestellungtagModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($bestellungtag = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Buchung extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Buchung API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BuchungModel
|
||||
$this->load->model('accounting/buchung_model', 'BuchungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBuchung()
|
||||
{
|
||||
$buchungID = $this->get('buchung_id');
|
||||
|
||||
if (isset($buchungID))
|
||||
{
|
||||
$result = $this->BuchungModel->load($buchungID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBuchung()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['buchung_id']))
|
||||
{
|
||||
$result = $this->BuchungModel->update($this->post()['buchung_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BuchungModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($buchung = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Buchungstyp extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Buchungstyp API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BuchungstypModel
|
||||
$this->load->model('accounting/buchungstyp_model', 'BuchungstypModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBuchungstyp()
|
||||
{
|
||||
$buchungstyp_kurzbz = $this->get('buchungstyp_kurzbz');
|
||||
|
||||
if (isset($buchungstyp_kurzbz))
|
||||
{
|
||||
$result = $this->BuchungstypModel->load($buchungstyp_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBuchungstyp()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['buchungstyp_kurzbz']))
|
||||
{
|
||||
$result = $this->BuchungstypModel->update($this->post()['buchungstyp_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BuchungstypModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($buchungstyp = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Budget extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Budget API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BudgetModel
|
||||
$this->load->model('accounting/budget_model', 'BudgetModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBudget()
|
||||
{
|
||||
$kostenstelle_id = $this->get('kostenstelle_id');
|
||||
$geschaeftsjahr_kurzbz = $this->get('geschaeftsjahr_kurzbz');
|
||||
|
||||
if (isset($kostenstelle_id) && isset($geschaeftsjahr_kurzbz))
|
||||
{
|
||||
$result = $this->BudgetModel->load(array($kostenstelle_id, $geschaeftsjahr_kurzbz));
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBudget()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['budget_id']) && isset($this->post()['geschaeftsjahr_kurzbz']))
|
||||
{
|
||||
$result = $this->BudgetModel->update(array($this->post()['budget_id'], $this->post()['geschaeftsjahr_kurzbz']), $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BudgetModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($budget = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Konto extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Konto API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model KontoModel
|
||||
$this->load->model('accounting/konto_model', 'KontoModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getKonto()
|
||||
{
|
||||
$kontoID = $this->get('konto_id');
|
||||
|
||||
if (isset($kontoID))
|
||||
{
|
||||
$result = $this->KontoModel->load($kontoID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postKonto()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['konto_id']))
|
||||
{
|
||||
$result = $this->KontoModel->update($this->post()['konto_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->KontoModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($konto = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Kostenstelle extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Kostenstelle API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model KostenstelleModel
|
||||
$this->load->model('accounting/kostenstelle_model', 'KostenstelleModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getKostenstelle()
|
||||
{
|
||||
$kostenstelleID = $this->get('kostenstelle_id');
|
||||
|
||||
if (isset($kostenstelleID))
|
||||
{
|
||||
$result = $this->KostenstelleModel->load($kostenstelleID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postKostenstelle()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['kostenstelle_id']))
|
||||
{
|
||||
$result = $this->KostenstelleModel->update($this->post()['kostenstelle_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->KostenstelleModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($kostenstelle = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Rechnung extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Rechnung API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model RechnungModel
|
||||
$this->load->model('accounting/rechnung_model', 'RechnungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getRechnung()
|
||||
{
|
||||
$rechnungID = $this->get('rechnung_id');
|
||||
|
||||
if (isset($rechnungID))
|
||||
{
|
||||
$result = $this->RechnungModel->load($rechnungID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postRechnung()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['rechnung_id']))
|
||||
{
|
||||
$result = $this->RechnungModel->update($this->post()['rechnung_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->RechnungModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($rechnung = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Rechnungsbetrag extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Rechnungsbetrag API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model RechnungsbetragModel
|
||||
$this->load->model('accounting/rechnungsbetrag_model', 'RechnungsbetragModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getRechnungsbetrag()
|
||||
{
|
||||
$rechnungsbetragID = $this->get('rechnungsbetrag_id');
|
||||
|
||||
if (isset($rechnungsbetragID))
|
||||
{
|
||||
$result = $this->RechnungsbetragModel->load($rechnungsbetragID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postRechnungsbetrag()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['rechnungsbetrag_id']))
|
||||
{
|
||||
$result = $this->RechnungsbetragModel->update($this->post()['rechnungsbetrag_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->RechnungsbetragModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($rechnungsbetrag = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Rechnungstyp extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Rechnungstyp API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model RechnungstypModel
|
||||
$this->load->model('accounting/rechnungstyp_model', 'RechnungstypModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getRechnungstyp()
|
||||
{
|
||||
$rechnungstyp_kurzbz = $this->get('rechnungstyp_kurzbz');
|
||||
|
||||
if (isset($rechnungstyp_kurzbz))
|
||||
{
|
||||
$result = $this->RechnungstypModel->load($rechnungstyp_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postRechnungstyp()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['rechnungstyp_kurzbz']))
|
||||
{
|
||||
$result = $this->RechnungstypModel->update($this->post()['rechnungstyp_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->RechnungstypModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($rechnungstyp = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Vertrag extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Vertrag API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model VertragModel
|
||||
$this->load->model('accounting/vertrag_model', 'VertragModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getVertrag()
|
||||
{
|
||||
$vertragID = $this->get('vertrag_id');
|
||||
|
||||
if (isset($vertragID))
|
||||
{
|
||||
$result = $this->VertragModel->load($vertragID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postVertrag()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['vertrag_id']))
|
||||
{
|
||||
$result = $this->VertragModel->update($this->post()['vertrag_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->VertragModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($vertrag = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Vertragsstatus extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Vertragsstatus API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model VertragsstatusModel
|
||||
$this->load->model('accounting/vertragsstatus_model', 'VertragsstatusModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getVertragsstatus()
|
||||
{
|
||||
$vertragsstatus_kurzbz = $this->get('vertragsstatus_kurzbz');
|
||||
|
||||
if (isset($vertragsstatus_kurzbz))
|
||||
{
|
||||
$result = $this->VertragsstatusModel->load($vertragsstatus_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postVertragsstatus()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['vertragsstatus_kurzbz']))
|
||||
{
|
||||
$result = $this->VertragsstatusModel->update($this->post()['vertragsstatus_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->VertragsstatusModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($vertragsstatus = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Vertragstyp extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Vertragstyp API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model VertragstypModel
|
||||
$this->load->model('accounting/vertragstyp_model', 'VertragstypModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getVertragstyp()
|
||||
{
|
||||
$vertragstyp_kurzbz = $this->get('vertragstyp_kurzbz');
|
||||
|
||||
if (isset($vertragstyp_kurzbz))
|
||||
{
|
||||
$result = $this->VertragstypModel->load($vertragstyp_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postVertragstyp()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['vertragstyp_kurzbz']))
|
||||
{
|
||||
$result = $this->VertragstypModel->update($this->post()['vertragstyp_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->VertragstypModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($vertragstyp = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zahlungstyp extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Zahlungstyp API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ZahlungstypModel
|
||||
$this->load->model('accounting/zahlungstyp_model', 'ZahlungstypModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getZahlungstyp()
|
||||
{
|
||||
$zahlungstyp_kurzbz = $this->get('zahlungstyp_kurzbz');
|
||||
|
||||
if (isset($zahlungstyp_kurzbz))
|
||||
{
|
||||
$result = $this->ZahlungstypModel->load($zahlungstyp_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postZahlungstyp()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['zahlungstyp_kurzbz']))
|
||||
{
|
||||
$result = $this->ZahlungstypModel->update($this->post()['zahlungstyp_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ZahlungstypModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($zahlungstyp = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Akadgrad extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Akadgrad API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AkadgradModel
|
||||
$this->load->model('codex/akadgrad_model', 'AkadgradModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAkadgrad()
|
||||
{
|
||||
$akadgradID = $this->get('akadgrad_id');
|
||||
|
||||
if (isset($akadgradID))
|
||||
{
|
||||
$result = $this->AkadgradModel->load($akadgradID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postAkadgrad()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['akadgrad_id']))
|
||||
{
|
||||
$result = $this->AkadgradModel->update($this->post()['akadgrad_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->AkadgradModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($akadgrad = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Archiv extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Archiv API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ArchivModel
|
||||
$this->load->model('codex/archiv_model', 'ArchivModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getArchiv()
|
||||
{
|
||||
$archivID = $this->get('archiv_id');
|
||||
|
||||
if (isset($archivID))
|
||||
{
|
||||
$result = $this->ArchivModel->load($archivID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postArchiv()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['archiv_id']))
|
||||
{
|
||||
$result = $this->ArchivModel->update($this->post()['archiv_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ArchivModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($archiv = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Aufmerksamdurch extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Aufmerksamdurch API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AufmerksamdurchModel
|
||||
$this->load->model('codex/aufmerksamdurch_model', 'AufmerksamdurchModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAufmerksamdurch()
|
||||
{
|
||||
$aufmerksamdurch_kurzbz = $this->get('aufmerksamdurch_kurzbz');
|
||||
|
||||
if (isset($aufmerksamdurch_kurzbz))
|
||||
{
|
||||
$result = $this->AufmerksamdurchModel->load($aufmerksamdurch_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postAufmerksamdurch()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['aufmerksamdurch_kurzbz']))
|
||||
{
|
||||
$result = $this->AufmerksamdurchModel->update($this->post()['aufmerksamdurch_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->AufmerksamdurchModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($aufmerksamdurch = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Ausbildung extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Ausbildung API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AusbildungModel
|
||||
$this->load->model('codex/ausbildung_model', 'AusbildungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAusbildung()
|
||||
{
|
||||
$ausbildungcode = $this->get('ausbildungcode');
|
||||
|
||||
if (isset($ausbildungcode))
|
||||
{
|
||||
$result = $this->AusbildungModel->load($ausbildungcode);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postAusbildung()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['ausbildungcode']))
|
||||
{
|
||||
$result = $this->AusbildungModel->update($this->post()['ausbildungcode'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->AusbildungModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($ausbildung = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Berufstaetigkeit extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Berufstaetigkeit API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BerufstaetigkeitModel
|
||||
$this->load->model('codex/berufstaetigkeit_model', 'BerufstaetigkeitModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBerufstaetigkeit()
|
||||
{
|
||||
$berufstaetigkeit_code = $this->get('berufstaetigkeit_code');
|
||||
|
||||
if (isset($berufstaetigkeit_code))
|
||||
{
|
||||
$result = $this->BerufstaetigkeitModel->load($berufstaetigkeit_code);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBerufstaetigkeit()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['berufstaetigkeit_code']))
|
||||
{
|
||||
$result = $this->BerufstaetigkeitModel->update($this->post()['berufstaetigkeit_code'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BerufstaetigkeitModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($berufstaetigkeit = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Beschaeftigungsausmass extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Beschaeftigungsausmass API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BeschaeftigungsausmassModel
|
||||
$this->load->model('codex/beschaeftigungsausmass_model', 'BeschaeftigungsausmassModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBeschaeftigungsausmass()
|
||||
{
|
||||
$beschausmasscode = $this->get('beschausmasscode');
|
||||
|
||||
if (isset($beschausmasscode))
|
||||
{
|
||||
$result = $this->BeschaeftigungsausmassModel->load($beschausmasscode);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBeschaeftigungsausmass()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['beschausmasscode']))
|
||||
{
|
||||
$result = $this->BeschaeftigungsausmassModel->update($this->post()['beschausmasscode'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BeschaeftigungsausmassModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($beschaeftigungsausmass = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Besqual extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Besqual API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BesqualModel
|
||||
$this->load->model('codex/besqual_model', 'BesqualModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBesqual()
|
||||
{
|
||||
$besqualcode = $this->get('besqualcode');
|
||||
|
||||
if (isset($besqualcode))
|
||||
{
|
||||
$result = $this->BesqualModel->load($besqualcode);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBesqual()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['besqualcode']))
|
||||
{
|
||||
$result = $this->BesqualModel->update($this->post()['besqualcode'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BesqualModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($besqual = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bisfunktion extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Bisfunktion API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BisfunktionModel
|
||||
$this->load->model('codex/bisfunktion_model', 'BisfunktionModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBisfunktion()
|
||||
{
|
||||
$studiengang_kz = $this->get('studiengang_kz');
|
||||
$bisverwendung_id = $this->get('bisverwendung_id');
|
||||
|
||||
if (isset($studiengang_kz) && isset($bisverwendung_id))
|
||||
{
|
||||
$result = $this->BisfunktionModel->load(array($studiengang_kz, $bisverwendung_id));
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBisfunktion()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['studiengang_kz']) && isset($this->post()['bisverwendung_id']))
|
||||
{
|
||||
$result = $this->BisfunktionModel->update(array($this->post()['studiengang_kz'], $this->post()['bisverwendung_id']), $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BisfunktionModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($bisfunktion = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bisio extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Bisio API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BisioModel
|
||||
$this->load->model('codex/bisio_model', 'BisioModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBisio()
|
||||
{
|
||||
$bisioID = $this->get('bisio_id');
|
||||
|
||||
if (isset($bisioID))
|
||||
{
|
||||
$result = $this->BisioModel->load($bisioID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBisio()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['bisio_id']))
|
||||
{
|
||||
$result = $this->BisioModel->update($this->post()['bisio_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BisioModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($bisio = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bisorgform extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Bisorgform API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BisorgformModel
|
||||
$this->load->model('codex/bisorgform_model', 'BisorgformModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBisorgform()
|
||||
{
|
||||
$bisorgform_kurzbz = $this->get('bisorgform_kurzbz');
|
||||
|
||||
if (isset($bisorgform_kurzbz))
|
||||
{
|
||||
$result = $this->BisorgformModel->load($bisorgform_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBisorgform()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['bisorgform_kurzbz']))
|
||||
{
|
||||
$result = $this->BisorgformModel->update($this->post()['bisorgform_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BisorgformModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($bisorgform = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bisverwendung extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Bisverwendung API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BisverwendungModel
|
||||
$this->load->model('codex/bisverwendung_model', 'BisverwendungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBisverwendung()
|
||||
{
|
||||
$bisverwendungID = $this->get('bisverwendung_id');
|
||||
|
||||
if (isset($bisverwendungID))
|
||||
{
|
||||
$result = $this->BisverwendungModel->load($bisverwendungID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postBisverwendung()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['bisverwendung_id']))
|
||||
{
|
||||
$result = $this->BisverwendungModel->update($this->post()['bisverwendung_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->BisverwendungModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($bisverwendung = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bundesland extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Course API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model PersonModel
|
||||
$this->load->model('codex/bundesland_model', 'BundeslandModel');
|
||||
}
|
||||
|
||||
public function getAll()
|
||||
{
|
||||
$result = $this->BundeslandModel->load();
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Entwicklungsteam extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Entwicklungsteam API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model EntwicklungsteamModel
|
||||
$this->load->model('codex/entwicklungsteam_model', 'EntwicklungsteamModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getEntwicklungsteam()
|
||||
{
|
||||
$studiengang_kz = $this->get('studiengang_kz');
|
||||
$mitarbeiter_uid = $this->get('mitarbeiter_uid');
|
||||
|
||||
if (isset($studiengang_kz) && isset($mitarbeiter_uid))
|
||||
{
|
||||
$result = $this->EntwicklungsteamModel->load(array($studiengang_kz, $mitarbeiter_uid));
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postEntwicklungsteam()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['studiengang_kz']) && isset($this->post()['mitarbeiter_uid']))
|
||||
{
|
||||
$result = $this->EntwicklungsteamModel->update(array($this->post()['entwicklungsteam_id'], $this->post()['mitarbeiter_uid']), $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->EntwicklungsteamModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($entwicklungsteam = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined("BASEPATH")) exit("No direct script access allowed");
|
||||
|
||||
class Gemeinde extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Gemeinde API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model GemeindeModel
|
||||
$this->load->model("codex/gemeinde_model", "GemeindeModel");
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getGemeinde()
|
||||
{
|
||||
$gemeindeID = $this->get("gemeinde_id");
|
||||
|
||||
$this->GemeindeModel->addOrder("plz");
|
||||
if (isset($gemeindeID))
|
||||
{
|
||||
$result = $this->GemeindeModel->load($gemeindeID);
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->GemeindeModel->load();
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getGemeindeByPlz()
|
||||
{
|
||||
$plz = $this->get("plz");
|
||||
|
||||
if (is_numeric($plz))
|
||||
{
|
||||
$result = $this->GemeindeModel->getGemeindeByPlz($plz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postGemeinde()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()["gemeinde_id"]))
|
||||
{
|
||||
$result = $this->GemeindeModel->update($this->post()["gemeinde_id"], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->GemeindeModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($gemeinde = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Hauptberuf extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Hauptberuf API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model HauptberufModel
|
||||
$this->load->model('codex/hauptberuf_model', 'HauptberufModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getHauptberuf()
|
||||
{
|
||||
$hauptberufcode = $this->get('hauptberufcode');
|
||||
|
||||
if (isset($hauptberufcode))
|
||||
{
|
||||
$result = $this->HauptberufModel->load($hauptberufcode);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postHauptberuf()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['hauptberufcode']))
|
||||
{
|
||||
$result = $this->HauptberufModel->update($this->post()['hauptberufcode'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->HauptberufModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($hauptberuf = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Lehrform extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Lehrform API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LehrformModel
|
||||
$this->load->model('codex/lehrform_model', 'LehrformModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getLehrform()
|
||||
{
|
||||
$lehrform_kurzbz = $this->get('lehrform_kurzbz');
|
||||
|
||||
if (isset($lehrform_kurzbz))
|
||||
{
|
||||
$result = $this->LehrformModel->load($lehrform_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postLehrform()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['lehrform_kurzbz']))
|
||||
{
|
||||
$result = $this->LehrformModel->update($this->post()['lehrform_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->LehrformModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($lehrform = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Lgartcode extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Lgartcode API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LgartcodeModel
|
||||
$this->load->model('codex/lgartcode_model', 'LgartcodeModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getLgartcode()
|
||||
{
|
||||
$lgartcode = $this->get('lgartcode');
|
||||
|
||||
if (isset($lgartcode))
|
||||
{
|
||||
$result = $this->LgartcodeModel->load($lgartcode);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postLgartcode()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['lgartcode']))
|
||||
{
|
||||
$result = $this->LgartcodeModel->update($this->post()['lgartcode'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->LgartcodeModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($lgartcode = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Mobilitaetsprogramm extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Mobilitaetsprogramm API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model MobilitaetsprogrammModel
|
||||
$this->load->model('codex/mobilitaetsprogramm_model', 'MobilitaetsprogrammModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getMobilitaetsprogramm()
|
||||
{
|
||||
$mobilitaetsprogramm_code = $this->get('mobilitaetsprogramm_code');
|
||||
|
||||
if (isset($mobilitaetsprogramm_code))
|
||||
{
|
||||
$result = $this->MobilitaetsprogrammModel->load($mobilitaetsprogramm_code);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postMobilitaetsprogramm()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['mobilitaetsprogramm_code']))
|
||||
{
|
||||
$result = $this->MobilitaetsprogrammModel->update($this->post()['mobilitaetsprogramm_code'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->MobilitaetsprogrammModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($mobilitaetsprogramm = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Nation extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Course API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model NationModel
|
||||
$this->load->model('codex/nation_model', 'NationModel');
|
||||
}
|
||||
|
||||
public function getNation()
|
||||
{
|
||||
$nation_code = $this->get("nation_code");
|
||||
|
||||
if (isset($nation_code))
|
||||
{
|
||||
$result = $this->NationModel->loadWhere(array('nation_code' => $nation_code));
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
public function getAll()
|
||||
{
|
||||
if (!$this->get('orderEnglish'))
|
||||
{
|
||||
$result = $this->NationModel->addOrder('kurztext');
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->NationModel->addOrder('engltext');
|
||||
}
|
||||
|
||||
if (isSuccess($result))
|
||||
{
|
||||
if ($this->get('ohnesperre'))
|
||||
{
|
||||
$result = $this->NationModel->loadWhere('sperre IS NULL');
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->NationModel->load();
|
||||
}
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Note extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Note API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model NoteModel
|
||||
$this->load->model('codex/note_model', 'NoteModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getNote()
|
||||
{
|
||||
$note = $this->get('note');
|
||||
|
||||
if (isset($note))
|
||||
{
|
||||
$result = $this->NoteModel->load($note);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postNote()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['note']))
|
||||
{
|
||||
$result = $this->NoteModel->update($this->post()['note'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->NoteModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($note = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Orgform extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Orgform API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model OrgformModel
|
||||
$this->load->model('codex/orgform_model', 'OrgformModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getOrgform()
|
||||
{
|
||||
$orgform_kurzbz = $this->get('orgform_kurzbz');
|
||||
|
||||
if (isset($orgform_kurzbz))
|
||||
{
|
||||
$result = $this->OrgformModel->load($orgform_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAll()
|
||||
{
|
||||
$result = $this->OrgformModel->load();
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getOrgformLV()
|
||||
{
|
||||
$result = $this->OrgformModel->getOrgformLV();
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postOrgform()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['orgform_kurzbz']))
|
||||
{
|
||||
$result = $this->OrgformModel->update($this->post()['orgform_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->OrgformModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($orgform = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Verwendung extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Verwendung API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model VerwendungModel
|
||||
$this->load->model('codex/verwendung_model', 'VerwendungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getVerwendung()
|
||||
{
|
||||
$verwendung_code = $this->get('verwendung_code');
|
||||
|
||||
if (isset($verwendung_code))
|
||||
{
|
||||
$result = $this->VerwendungModel->load($verwendung_code);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postVerwendung()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['verwendung_code']))
|
||||
{
|
||||
$result = $this->VerwendungModel->update($this->post()['verwendung_code'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->VerwendungModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($verwendung = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zgv extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Zgv API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ZgvModel
|
||||
$this->load->model('codex/zgv_model', 'ZgvModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getZgv()
|
||||
{
|
||||
$zgv_code = $this->get('zgv_code');
|
||||
|
||||
if (isset($zgv_code))
|
||||
{
|
||||
$result = $this->ZgvModel->load($zgv_code);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postZgv()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['zgv_code']))
|
||||
{
|
||||
$result = $this->ZgvModel->update($this->post()['zgv_code'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ZgvModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($zgv = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zgvdoktor extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Zgvdoktor API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ZgvdoktorModel
|
||||
$this->load->model('codex/zgvdoktor_model', 'ZgvdoktorModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getZgvdoktor()
|
||||
{
|
||||
$zgvdoktor_code = $this->get('zgvdoktor_code');
|
||||
|
||||
if (isset($zgvdoktor_code))
|
||||
{
|
||||
$result = $this->ZgvdoktorModel->load($zgvdoktor_code);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postZgvdoktor()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['zgvdoktor_code']))
|
||||
{
|
||||
$result = $this->ZgvdoktorModel->update($this->post()['zgvdoktor_code'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ZgvdoktorModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($zgvdoktor = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zgvgruppe extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Zgvgruppe API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ZgvgruppeModel
|
||||
$this->load->model('codex/zgvgruppe_model', 'ZgvgruppeModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getZgvgruppe()
|
||||
{
|
||||
$gruppe_kurzbz = $this->get('gruppe_kurzbz');
|
||||
|
||||
if (isset($gruppe_kurzbz))
|
||||
{
|
||||
$result = $this->ZgvgruppeModel->load($gruppe_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postZgvgruppe()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['zgvgruppe_id']))
|
||||
{
|
||||
$result = $this->ZgvgruppeModel->update($this->post()['zgvgruppe_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ZgvgruppeModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($zgvgruppe = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zgvmaster extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Zgvmaster API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ZgvmasterModel
|
||||
$this->load->model('codex/zgvmaster_model', 'ZgvmasterModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getZgvmaster()
|
||||
{
|
||||
$zgvmas_code = $this->get('zgvmas_code');
|
||||
|
||||
if (isset($zgvmas_code))
|
||||
{
|
||||
$result = $this->ZgvmasterModel->load($zgvmas_code);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postZgvmaster()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['zgvmas_code']))
|
||||
{
|
||||
$result = $this->ZgvmasterModel->update($this->post()['zgvmas_code'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ZgvmasterModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($zgvmaster = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zweck extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Zweck API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ZweckModel
|
||||
$this->load->model('codex/zweck_model', 'ZweckModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getZweck()
|
||||
{
|
||||
$zweck_code = $this->get('zweck_code');
|
||||
|
||||
if (isset($zweck_code))
|
||||
{
|
||||
$result = $this->ZweckModel->load($zweck_code);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postZweck()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['zweck_code']))
|
||||
{
|
||||
$result = $this->ZweckModel->update($this->post()['zweck_code'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ZweckModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($zweck = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Ampel extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Ampel API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AmpelModel
|
||||
$this->load->model('content/ampel_model', 'AmpelModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAmpel()
|
||||
{
|
||||
$ampelID = $this->get('ampel_id');
|
||||
|
||||
if (isset($ampelID))
|
||||
{
|
||||
$result = $this->AmpelModel->load($ampelID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postAmpel()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['ampel_id']))
|
||||
{
|
||||
$result = $this->AmpelModel->update($this->post()['ampel_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->AmpelModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($ampel = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Content extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Content API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ContentModel
|
||||
$this->load->model('content/content_model', 'ContentModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getContent()
|
||||
{
|
||||
$contentID = $this->get('content_id');
|
||||
|
||||
if (isset($contentID))
|
||||
{
|
||||
$result = $this->ContentModel->load($contentID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postContent()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['content_id']))
|
||||
{
|
||||
$result = $this->ContentModel->update($this->post()['content_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ContentModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($content = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Contentchild extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Contentchild API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ContentchildModel
|
||||
$this->load->model('content/contentchild_model', 'ContentchildModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getContentchild()
|
||||
{
|
||||
$contentchildID = $this->get('contentchild_id');
|
||||
|
||||
if (isset($contentchildID))
|
||||
{
|
||||
$result = $this->ContentchildModel->load($contentchildID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postContentchild()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['contentchild_id']))
|
||||
{
|
||||
$result = $this->ContentchildModel->update($this->post()['contentchild_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ContentchildModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($contentchild = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Contentgruppe extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Contentgruppe API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ContentgruppeModel
|
||||
$this->load->model('content/contentgruppe_model', 'ContentgruppeModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getContentgruppe()
|
||||
{
|
||||
$gruppe_kurzbz = $this->get('gruppe_kurzbz');
|
||||
$content_id = $this->get('content_id');
|
||||
|
||||
if (isset($gruppe_kurzbz) && isset($content_id))
|
||||
{
|
||||
$result = $this->ContentgruppeModel->load(array($gruppe_kurzbz, $content_id));
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postContentgruppe()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['gruppe_kurzbz']) && isset($this->post()['content_id']))
|
||||
{
|
||||
$result = $this->ContentgruppeModel->update(array($this->post()['gruppe_kurzbz'], $this->post()['content_id']), $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ContentgruppeModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($contentgruppe = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Contentlog extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Contentlog API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ContentlogModel
|
||||
$this->load->model('content/contentlog_model', 'ContentlogModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getContentlog()
|
||||
{
|
||||
$contentlogID = $this->get('contentlog_id');
|
||||
|
||||
if (isset($contentlogID))
|
||||
{
|
||||
$result = $this->ContentlogModel->load($contentlogID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postContentlog()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['contentlog_id']))
|
||||
{
|
||||
$result = $this->ContentlogModel->update($this->post()['contentlog_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ContentlogModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($contentlog = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Contentsprache extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Contentsprache API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ContentspracheModel
|
||||
$this->load->model('content/contentsprache_model', 'ContentspracheModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getContentsprache()
|
||||
{
|
||||
$contentspracheID = $this->get('contentsprache_id');
|
||||
|
||||
if (isset($contentspracheID))
|
||||
{
|
||||
$result = $this->ContentspracheModel->load($contentspracheID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postContentsprache()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['contentsprache_id']))
|
||||
{
|
||||
$result = $this->ContentspracheModel->update($this->post()['contentsprache_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->ContentspracheModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($contentsprache = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Dms extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load library DmsLib
|
||||
$this->load->library('DmsLib');
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function getDms()
|
||||
{
|
||||
$dms_id = $this->get('dms_id');
|
||||
$version = $this->get('version');
|
||||
|
||||
if (isset($dms_id))
|
||||
{
|
||||
$result = $this->dmslib->read($dms_id, $version);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function getAktenAcceptedDms()
|
||||
{
|
||||
$person_id = $this->get('person_id');
|
||||
$dokument_kurzbz = $this->get('dokument_kurzbz');
|
||||
|
||||
if (isset($person_id))
|
||||
{
|
||||
$result = $this->dmslib->getAktenAcceptedDms($person_id, $dokument_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function postDms()
|
||||
{
|
||||
$dms = $this->post();
|
||||
|
||||
if ($this->_validatePost($dms))
|
||||
{
|
||||
$result = $this->dmslib->save($dms);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function postDelDms()
|
||||
{
|
||||
$dms = $this->post();
|
||||
|
||||
if ($this->_validateDelete($this->post()))
|
||||
{
|
||||
$result = $this->dmslib->delete($dms['person_id'], $dms['dms_id']);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validatePost($dms = null)
|
||||
{
|
||||
if (!isset($dms))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!isset($dms['file_content']) || (isset($dms['file_content']) && $dms['file_content'] == ''))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!isset($dms['name']) || (isset($dms['name']) && $dms['name'] == ''))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private function _validateDelete($dms = null)
|
||||
{
|
||||
if (!isset($dms))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!isset($dms['person_id']) || !is_numeric($dms['person_id']))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!isset($dms['dms_id']) || !is_numeric($dms['dms_id']))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Infoscreen extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Infoscreen API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model InfoscreenModel
|
||||
$this->load->model('content/infoscreen_model', 'InfoscreenModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getInfoscreen()
|
||||
{
|
||||
$infoscreenID = $this->get('infoscreen_id');
|
||||
|
||||
if (isset($infoscreenID))
|
||||
{
|
||||
$result = $this->InfoscreenModel->load($infoscreenID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postInfoscreen()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['infoscreen_id']))
|
||||
{
|
||||
$result = $this->InfoscreenModel->update($this->post()['infoscreen_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->InfoscreenModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($infoscreen = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class News extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* News API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model NewsModel
|
||||
$this->load->model('content/news_model', 'NewsModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getNews()
|
||||
{
|
||||
$newsID = $this->get('news_id');
|
||||
|
||||
if (isset($newsID))
|
||||
{
|
||||
$result = $this->NewsModel->load($newsID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postNews()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['news_id']))
|
||||
{
|
||||
$result = $this->NewsModel->update($this->post()['news_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->NewsModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($news = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Template extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Template API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model TemplateModel
|
||||
$this->load->model('content/template_model', 'TemplateModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getTemplate()
|
||||
{
|
||||
$template_kurzbz = $this->get('template_kurzbz');
|
||||
|
||||
if (isset($template_kurzbz))
|
||||
{
|
||||
$result = $this->TemplateModel->load($template_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postTemplate()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['template_kurzbz']))
|
||||
{
|
||||
$result = $this->TemplateModel->update($this->post()['template_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->TemplateModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($template = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Veranstaltung extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Veranstaltung API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model VeranstaltungModel
|
||||
$this->load->model('content/veranstaltung_model', 'VeranstaltungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getVeranstaltung()
|
||||
{
|
||||
$veranstaltungID = $this->get('veranstaltung_id');
|
||||
|
||||
if (isset($veranstaltungID))
|
||||
{
|
||||
$result = $this->VeranstaltungModel->load($veranstaltungID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postVeranstaltung()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['veranstaltung_id']))
|
||||
{
|
||||
$result = $this->VeranstaltungModel->update($this->post()['veranstaltung_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->VeranstaltungModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($veranstaltung = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Veranstaltungskategorie extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Veranstaltungskategorie API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model VeranstaltungskategorieModel
|
||||
$this->load->model('content/veranstaltungskategorie_model', 'VeranstaltungskategorieModel');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getVeranstaltungskategorie()
|
||||
{
|
||||
$veranstaltungskategorie_kurzbz = $this->get('veranstaltungskategorie_kurzbz');
|
||||
|
||||
if (isset($veranstaltungskategorie_kurzbz))
|
||||
{
|
||||
$result = $this->VeranstaltungskategorieModel->load($veranstaltungskategorie_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postVeranstaltungskategorie()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['veranstaltungskategorie_kurzbz']))
|
||||
{
|
||||
$result = $this->VeranstaltungskategorieModel->update($this->post()['veranstaltungskategorie_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->VeranstaltungskategorieModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($veranstaltungskategorie = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Akte extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Akte API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AkteModel
|
||||
$this->load->model('crm/akte_model', 'AkteModel');
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAkte()
|
||||
{
|
||||
$akteID = $this->get('akte_id');
|
||||
|
||||
if (isset($akteID))
|
||||
{
|
||||
$result = $this->AkteModel->load($akteID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAkten()
|
||||
{
|
||||
$person_id = $this->get('person_id');
|
||||
$dokument_kurzbz = $this->get('dokument_kurzbz');
|
||||
$stg_kz = $this->get('stg_kz');
|
||||
$prestudent_id = $this->get('prestudent_id');
|
||||
|
||||
if (isset($person_id))
|
||||
{
|
||||
$result = $this->AkteModel->getAkten($person_id, $dokument_kurzbz, $stg_kz, $prestudent_id);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAktenAccepted()
|
||||
{
|
||||
$person_id = $this->get('person_id');
|
||||
$dokument_kurzbz = $this->get('dokument_kurzbz');
|
||||
|
||||
if (isset($person_id))
|
||||
{
|
||||
$result = $this->AkteModel->getAktenAccepted($person_id, $dokument_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postAkte()
|
||||
{
|
||||
if ($akte = $this->_validate($this->post()))
|
||||
{
|
||||
if (isset($akte['akte_id']))
|
||||
{
|
||||
$result = $this->AkteModel->update($akte['akte_id'], $akte);
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->AkteModel->insert($akte);
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($akte = null)
|
||||
{
|
||||
unset($akte['accepted']);
|
||||
|
||||
return $akte;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Aufnahmeschluessel extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Aufnahmeschluessel API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AufnahmeschluesselModel
|
||||
$this->load->model('crm/aufnahmeschluessel_model', 'AufnahmeschluesselModel');
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAufnahmeschluessel()
|
||||
{
|
||||
$aufnahmeschluessel = $this->get('aufnahmeschluessel');
|
||||
|
||||
if (isset($aufnahmeschluessel))
|
||||
{
|
||||
$result = $this->AufnahmeschluesselModel->load($aufnahmeschluessel);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postAufnahmeschluessel()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['aufnahmeschluessel']))
|
||||
{
|
||||
$result = $this->AufnahmeschluesselModel->update($this->post()['aufnahmeschluessel'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->AufnahmeschluesselModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($aufnahmeschluessel = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Aufnahmetermin extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Aufnahmetermin API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AufnahmeterminModel
|
||||
$this->load->model('crm/aufnahmetermin_model', 'AufnahmeterminModel');
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAufnahmetermin()
|
||||
{
|
||||
$aufnahmeterminID = $this->get('aufnahmetermin_id');
|
||||
|
||||
if (isset($aufnahmeterminID))
|
||||
{
|
||||
$result = $this->AufnahmeterminModel->load($aufnahmeterminID);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postAufnahmetermin()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['aufnahmetermin_id']))
|
||||
{
|
||||
$result = $this->AufnahmeterminModel->update($this->post()['aufnahmetermin_id'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->AufnahmeterminModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($aufnahmetermin = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
* @package FHC-API
|
||||
* @author FHC-Team
|
||||
* @copyright Copyright (c) 2016, fhcomplete.org
|
||||
* @license GPLv3
|
||||
* @link http://fhcomplete.org
|
||||
* @since Version 1.0
|
||||
* @filesource
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Aufnahmetermintyp extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* Aufnahmetermintyp API constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AufnahmetermintypModel
|
||||
$this->load->model('crm/aufnahmetermintyp_model', 'AufnahmetermintypModel');
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getAufnahmetermintyp()
|
||||
{
|
||||
$aufnahmetermintyp_kurzbz = $this->get('aufnahmetermintyp_kurzbz');
|
||||
|
||||
if (isset($aufnahmetermintyp_kurzbz))
|
||||
{
|
||||
$result = $this->AufnahmetermintypModel->load($aufnahmetermintyp_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postAufnahmetermintyp()
|
||||
{
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if (isset($this->post()['aufnahmetermintyp_kurzbz']))
|
||||
{
|
||||
$result = $this->AufnahmetermintypModel->update($this->post()['aufnahmetermintyp_kurzbz'], $this->post());
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->AufnahmetermintypModel->insert($this->post());
|
||||
}
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($aufnahmetermintyp = NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user