From 187335950742b4c7ec011ede6e6d1ae86662cb1f Mon Sep 17 00:00:00 2001 From: Geo Halkiadakis Date: Thu, 27 Apr 2023 15:12:50 +0300 Subject: simplify app structure blueprint; simplify build and maintenance --- public/app/controllers/cms/Course.php | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'public/app/controllers/cms') 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 -- cgit v1.2.3