diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-12 08:53:24 +0200 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-12 08:53:24 +0200 |
| commit | 8b1a9cca9ca949d431f6ef5cf2b1fba0f27b4209 (patch) | |
| tree | 9d33cd2775cbe00acd715351cfce9442dcacdc1b /html/app/models/Validate_model.php | |
| parent | ef9390aa604733f689f6c2c51b4c915744b8fb6c (diff) | |
| download | classroom-8b1a9cca9ca949d431f6ef5cf2b1fba0f27b4209.tar.gz classroom-8b1a9cca9ca949d431f6ef5cf2b1fba0f27b4209.tar.bz2 classroom-8b1a9cca9ca949d431f6ef5cf2b1fba0f27b4209.zip | |
media serve and validate models (abstruct/skeleton)
Diffstat (limited to 'html/app/models/Validate_model.php')
| -rw-r--r-- | html/app/models/Validate_model.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/html/app/models/Validate_model.php b/html/app/models/Validate_model.php new file mode 100644 index 0000000..ec60d72 --- /dev/null +++ b/html/app/models/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 |
