SectionTypeOverrides
MMO\admin\helpers · 1 symbole · générée le 30 Nov 2026
SectionTypeOverrides
SectionTypeOverrides.php:18The section types a site saved on its server, which replace this project's (Target::sectionTypesPolicy): its sections/ read on the target -- each file's sha256 and time, nothing transferred --, compared by mmo.editor's TypeOverrides with this project's templates and mmo.editor's own. What section-types prints, and what a hub keeps (TypeOverrideStatus).
- Espace de noms
MMO\admin\helpers
Index
| CLEAN | it saves them, and none is there | |
| COMPARE | the class comparing them: mmo.editor's, which mmo.admin does not depend on | |
| NONE | the site saves no section type of its own (no sectionTypes in deploy.json) | |
| OVERRIDES | types saved on the server replace this project's, or are new | |
| project | ||
| target | ||
| files($folder) | ||
| read() | ||
| remoteFolder($folder) | ||
| shipped($templates) | ||
| __construct($target, $project) |
Constantes4
CLEAN
it saves them, and none is there
COMPARE
the class comparing them: mmo.editor's, which mmo.admin does not depend on
NONE
the site saves no section type of its own (no sectionTypes in deploy.json)
OVERRIDES
types saved on the server replace this project's, or are new
Propriétés2
project
- Type
- string
target
- Type
- Target
Méthodes5
files($folder)
SectionTypeOverrides.php:43read()
SectionTypeOverrides.php:75| retourne | array | string, folder: ?string, types: array<string, array{new: bool, replaces: ?string, files: array<string, string>, mtime: int}>} |
| lève | without mmo.editor, \Throwable when the target cannot be read |