feat: _custom.php Support fuer Page-Controller im Player#256
Open
Avatarsia wants to merge 1 commit intoOpenXE-org:masterfrom
Open
feat: _custom.php Support fuer Page-Controller im Player#256Avatarsia wants to merge 1 commit intoOpenXE-org:masterfrom
Avatarsia wants to merge 1 commit intoOpenXE-org:masterfrom
Conversation
Der Player (class.player.php) laedt Page-Controller jetzt analog zu loadModule() mit _custom.php Support. Wenn eine Datei www/pages/<modul>_custom.php existiert, wird die Custom-Klasse (<Modul>Custom extends <Modul>) bevorzugt instanziiert. Das ermoeglicht es, Page-Controller zu erweitern ohne die Original- Datei zu aendern — identisch zum bestehenden Pattern fuer class.erpapi_custom.php, class.remote_custom.php etc. Beispiel: www/pages/ticket.php -> class Ticket www/pages/ticket_custom.php -> class TicketCustom extends Ticket TicketCustom wird automatisch geladen und instanziiert. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Avatarsia
pushed a commit
to Avatarsia/OpenXE
that referenced
this pull request
Apr 9, 2026
All four are single-file Avatarsia-authored bug fixes that are also open upstream PRs on openxe-org: - fix/250-wiedervorlage-sidebar-counter (PR OpenXE-org#253) www/eproosystem.php +2/-2: reactivate Wiedervorlagen counter - fix/dateien-stichwoerter-245 (PR OpenXE-org#246) classes/Modules/Api/Controller/Version1/FileController.php +2/-2: fix variable scoping in POST /v1/dateien stichwoerter - fix/versandpakete-247 (PR OpenXE-org#248) classes/Modules/Api/Controller/Version1/TrackingNumberController.php +25: write tracking numbers into the versandpakete table so the UI shows them - fix/player-custom-module-support (PR OpenXE-org#256) phpwf/class.player.php +12/-2: support _custom.php extension files for page controllers, analogous to class.erpapi_custom.php Each branch is based on an older origin/master snapshot, but since origin/master is strictly behind upstream/master (zero divergent commits), git merges only the new commits during integration without re-applying the upstream drift.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #255
Aenderung
Eine Datei, +12/-2 Zeilen in `phpwf/class.player.php`:
Test plan
🤖 Generated with Claude Code