aBoard
MMO\git\classes · 1 symbol · generated 5 Oct 2026
aBoard
aBoard.php:16Something on GitHub seen as the data of mmo.client's <mmo-kanban>: {statuses, labels, categories, tickets}.
- Namespace
MMO\git\classes
Index
| COLORS | the colours mmo-kanban names, as GitHub's label colours: a colour read from GitHub is named when it is one | |
| ColorHex($color) static | ||
| ColorName($color) static | ||
| discussion($ticketId) abstract | ||
| getState() | ||
| getTitle() abstract | ||
| getUrl() abstract | ||
| keepsColor($kind) | ||
| load() abstract | ||
| meta($ticket, $type) | ||
| remap($ticket, $ids, $categories) | Give the board's ids of new tickets and categories the ones GitHub gave them. | |
| remapCondition($node, $ids) | ||
| save($before, $after) abstract | ||
| setState($state) |
Constants1
COLORS
the colours mmo-kanban names, as GitHub's label colours: a colour read from GitHub is named when it is one
Methods13
ColorHex($color)
staticaBoard.php:53ColorName($color)
staticaBoard.php:43discussion($ticketId)
abstractaBoard.php:82| $ticketId | string | |
| returns | null | IssueDiscussion | the ticket's discussion, null when it has none (a draft) |
getState()
aBoard.php:88getTitle()
abstractaBoard.php:59getUrl()
abstractaBoard.php:62| returns | string | the board's page on GitHub |
keepsColor($kind)
aBoard.php:35load()
abstractaBoard.php:68| returns | array | array, labels: array, categories: array, tickets: array} |
| throws | when GitHub refuses (no access, rate limit...) |
meta($ticket, $type)
aBoard.php:130remap($ticket, $ids, $categories)
aBoard.php:103Give the board's ids of new tickets and categories the ones GitHub gave them.