[TASK] Getters for global objects in PageLayoutView

Resolves: #53812
Releases: 6.2
Change-Id: I41ac63010ff245ccbd7b1c09f6ee9f42b64e79cd
Reviewed-on: https://review.typo3.org/25547
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind