aBoard
MMO\git\classes · 1 symbole · générée le 27 Oct 2026
aBoard
aBoard.php:16Something on GitHub seen as the data of mmo.client's <mmo-kanban>: {statuses, labels, categories, tickets}.
- Espace de noms
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 | ||
| isGone($ticketId, $locator) | Whether a ticket the board's listing leaves out is gone indeed: a listing can miss a ticket that is there (GitHub lists a project's draft just made minutes later). | |
| keepsColor($kind) | ||
| load() abstract | ||
| locator($ticketId) | ||
| 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) |
Constantes1
COLORS
the colours mmo-kanban names, as GitHub's label colours: a colour read from GitHub is named when it is one
Méthodes15
ColorHex($color)
staticaBoard.php:53ColorName($color)
staticaBoard.php:43discussion($ticketId)
abstractaBoard.php:83| $ticketId | string | |
| retourne | null | IssueDiscussion | the ticket's discussion, null when it has none (a draft) |
getState()
aBoard.php:89getTitle()
abstractaBoard.php:59getUrl()
abstractaBoard.php:62| retourne | string | the board's page on GitHub |
isGone($ticketId, $locator)
aBoard.php:114Whether a ticket the board's listing leaves out is gone indeed: a listing can miss a ticket that is there (GitHub lists a project's draft just made minutes later).
keepsColor($kind)
aBoard.php:35load()
abstractaBoard.php:68| retourne | array | array, labels: array, categories: array, tickets: array} |
| lève | when GitHub refuses (no access, rate limit...) |
locator($ticketId)
aBoard.php:102- Voir
isGoneto ask it once the board's listing leaves it out; null: the board's listing is all there is
meta($ticket, $type)
aBoard.php:152remap($ticket, $ids, $categories)
aBoard.php:125Give the board's ids of new tickets and categories the ones GitHub gave them.
remapCondition($node, $ids)
aBoard.php:137save($before, $after)
abstractaBoard.php:77| $before | array | the board's data as load gave it |
| $after | array | the board's data now |
| retourne | array | array<string, string>, saved?: array} the id each new ticket got, by the id the board gave it; and, when the board can tell without reading GitHub again, the board as GitHub holds it now (load's shape) |
| lève | when GitHub refuses a change: the ones made before it are made |