summaryrefslogtreecommitdiff
path: root/public/app/controllers/cms
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-27 15:12:50 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-27 15:12:50 +0300
commit187335950742b4c7ec011ede6e6d1ae86662cb1f (patch)
tree971bf1ba496462d4f6b3b0ec98cf53ecfd865431 /public/app/controllers/cms
parent6e749800d8a9f6b77bf50be92a70b7916c2804f3 (diff)
downloadclassroom-187335950742b4c7ec011ede6e6d1ae86662cb1f.tar.gz
classroom-187335950742b4c7ec011ede6e6d1ae86662cb1f.tar.bz2
classroom-187335950742b4c7ec011ede6e6d1ae86662cb1f.zip
simplify app structure blueprint; simplify build and maintenance
Diffstat (limited to 'public/app/controllers/cms')
-rw-r--r--public/app/controllers/cms/Course.php23
1 files changed, 11 insertions, 12 deletions
diff --git a/public/app/controllers/cms/Course.php b/public/app/controllers/cms/Course.php
index 47eac5f..ad8a0fb 100644
--- a/public/app/controllers/cms/Course.php
+++ b/public/app/controllers/cms/Course.php
@@ -11,9 +11,8 @@ use app\extends\Cache_service;
class Course {
- /** PERMITION
- * -------------------------------------------------------------------------
- */
+ ## PERMITION
+ ## -------------------------------------------------------------------------
/** is admin or permited
@@ -41,9 +40,9 @@ class Course {
- /** FILES
- * -------------------------------------------------------------------------
- */
+ ## FILES
+ ## -------------------------------------------------------------------------
+
/** serve file by file_path
* (request is valid only for admin users)
@@ -103,9 +102,9 @@ class Course {
- /** COURSES
- * -------------------------------------------------------------------------
- */
+ ## COURSES
+ ## -------------------------------------------------------------------------
+
/** course
* prepare and render the course view
@@ -147,9 +146,9 @@ class Course {
- /** LESSONS
- * ------------------------------------------------------------------------
- */
+ ## LESSONS
+ ## -------------------------------------------------------------------------
+
/** lesson