MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

BoardSelection

MMO\admin\helpers · 1 symbole · générée le 27 Oct 2026

class

BoardSelection

BoardSelection.php:18

The board each user works on: a project has several boards, one per feature or deployment objective, each with its checklist, and whoever works picks one -- in the developer admin (Développeur > Boards), or an agent through api/current-board.json (BoardController::routeCurrent). The developer layer then files its tickets there (DeveloperController::getBoard).

class MMO\admin\helpers\BoardSelection
Espace de noms
MMO\admin\helpers
Kept beside the boards, `{folder}/.current.json`: `{"<login>": "<board>"}`. It is this machine's, not the project's: a project ignores it in git (`boards/.current.json`).
BoardSelection::Set('/var/www/acme/boards', 'marc', 'acme-v2'); BoardSelection::Get('/var/www/acme/boards', 'marc'); // 'acme-v2', while boards/acme-v2.json exists

Index

FILEthe file, in the boards' folder: hidden, so api/boards.json never lists it as a board
Get($folder, $login) static
Set($folder, $login, $board) static

Constantes1

FILE

the file, in the boards' folder: hidden, so api/boards.json never lists it as a board

const FILE = '.current.json'

Méthodes2

Get($folder, $login)

staticBoardSelection.php:27
static function Get(string $folder, string $login): ?string
$folderstringthe boards' folder
$loginstring
retournenull | stringthe board $login picked, null when they picked none or its file is gone