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:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user