summaryrefslogtreecommitdiff
path: root/html/app/models/user/Validate_model.php
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-12 18:00:00 +0200
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-12 18:00:00 +0200
commit221af3a2e035bd6689294509feb52f286d3bd5be (patch)
tree811188225d6edc9f303c777f86aa8604c6f21743 /html/app/models/user/Validate_model.php
parent8b1a9cca9ca949d431f6ef5cf2b1fba0f27b4209 (diff)
downloadclassroom-221af3a2e035bd6689294509feb52f286d3bd5be.tar.gz
classroom-221af3a2e035bd6689294509feb52f286d3bd5be.tar.bz2
classroom-221af3a2e035bd6689294509feb52f286d3bd5be.zip
database connection and documentation API
Diffstat (limited to 'html/app/models/user/Validate_model.php')
-rw-r--r--html/app/models/user/Validate_model.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/html/app/models/user/Validate_model.php b/html/app/models/user/Validate_model.php
new file mode 100644
index 0000000..ec60d72
--- /dev/null
+++ b/html/app/models/user/Validate_model.php
@@ -0,0 +1,27 @@
+<?php
+
+namespace app\models;
+
+use \Registry;
+
+
+class Validate
+{
+ /** ticket
+ *
+ * validate that the user owns the `ticket`
+ *
+ */
+ public static function ticket($ticket)
+ {
+ }
+
+ /** access
+ *
+ * validate that the `ticket` is compatible with access_level
+ */
+ public static function access($ticket, $access_level)
+ {
+ }
+
+} \ No newline at end of file