1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-24 21:40:30 +02:00

Attribution des vidéos aux équipes (manuelle)

This commit is contained in:
galaxyoyo
2019-09-21 12:21:42 +02:00
parent 3b54b75395
commit 80eeb71262
2 changed files with 27 additions and 3 deletions

View File

@ -16,6 +16,10 @@ class Team
private function __construct() {}
/**
* @param $id
* @return Team|null
*/
public static function fromId($id)
{
global $DB;
@ -31,6 +35,10 @@ class Team
return $team;
}
/**
* @param $trigram
* @return Team|null
*/
public static function fromTrigram($trigram)
{
global $DB, $YEAR;