diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-11 14:14:36 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-11 14:14:36 +0100 |
| commit | 6aa6a828fd9f7b43a1a526dbf8c5e4d5910b8f1d (patch) | |
| tree | 789e734df009393bd366cc6ec1f0d69a5b8b1853 /download_file.php | |
| parent | b6ce14d05ba406c89f5046044378fd997b91cc52 (diff) | |
| download | liberty-6aa6a828fd9f7b43a1a526dbf8c5e4d5910b8f1d.tar.gz liberty-6aa6a828fd9f7b43a1a526dbf8c5e4d5910b8f1d.tar.bz2 liberty-6aa6a828fd9f7b43a1a526dbf8c5e4d5910b8f1d.zip | |
Consolidate xref loading: LibertyXrefInfo → LibertyXrefContent + LibertyXrefType::loadContent()
- Add LibertyXrefContent: thin data container (just $mGroups), replaces LibertyXrefInfo
- Delete LibertyXrefInfo: constructor params and load() move to LibertyXrefType::loadContent()
- LibertyXrefType::loadContent($contentId): loads all display groups and their xref rows,
returns LibertyXrefContent; absorbs both LibertyXrefInfo::load() and LibertyXrefGroup::loadXrefs()
- LibertyXrefGroup: pure value object — remove extends LibertyBase, remove loadXrefs();
mXrefs type changed to LibertyXref[]
- LibertyXref: add ArrayAccess + fromRow() factory; templates keep {$xrefInfo.key} dot
notation unchanged; load() also populates $mRow for consistency
- LibertyContent: mXrefInfo type updated to LibertyXrefContent; loadXrefInfo() delegates
to $this->xrefType()->loadContent(); xrefType() visibility private → protected
(StockBase calls it from an override)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'download_file.php')
0 files changed, 0 insertions, 0 deletions
