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