1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-04 10:12:15 +02:00

Phase 2 : questions (en cours)

This commit is contained in:
galaxyoyo
2019-09-20 14:57:06 +02:00
parent c3aa0386f2
commit 3b54b75395
8 changed files with 231 additions and 29 deletions

View File

@ -96,29 +96,3 @@ class Document
return $docs;
}
}
class DocumentType
{
const PHOTO_CONSENT = 0;
public static function getTranslatedName($type) {
switch ($type) {
default:
return "Autorisation de droit à l'image";
}
}
public static function getName($type) {
switch ($type) {
default:
return "PHOTO_CONSENT";
}
}
public static function fromName($name) {
switch ($name) {
default:
return self::PHOTO_CONSENT;
}
}
}