diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-19 05:22:22 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-19 05:22:22 +0300 |
| commit | 423505cdf54c52947482509329c2a1c8ece97c39 (patch) | |
| tree | 0e471ff6ca1a2e5372d6b69de68c74efb6e8e9d2 /public/app/controllers/admin/Users_admin.php | |
| parent | 2b6970d33afd75be5bfef951dc3691d492004d43 (diff) | |
| download | classroom-423505cdf54c52947482509329c2a1c8ece97c39.tar.gz classroom-423505cdf54c52947482509329c2a1c8ece97c39.tar.bz2 classroom-423505cdf54c52947482509329c2a1c8ece97c39.zip | |
admin back-office environment: lessons management
Diffstat (limited to 'public/app/controllers/admin/Users_admin.php')
| -rw-r--r-- | public/app/controllers/admin/Users_admin.php | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/public/app/controllers/admin/Users_admin.php b/public/app/controllers/admin/Users_admin.php new file mode 100644 index 0000000..4e335c1 --- /dev/null +++ b/public/app/controllers/admin/Users_admin.php @@ -0,0 +1,42 @@ +<?php + +namespace app\controllers\admin; + +use Registry; +use Render; + + +class Users_admin { + + /** privileges + * --- + * get all privileges + * + * @param void + * @return privileges (array) + */ + public static function privileges() + { + return Registry::use('database')->runQuery( + "SELECT * FROM privilege",[] + ); + } + + /** edit privileges + * --- + */ + public static function edit_privileges() + { + // TODO: ... + } + + + /** update course + * --- + */ + public static function update_course() + { + // TODO: ... + } + +}
\ No newline at end of file |
