\InheritageBySiteTreeExtension
This class does load the information from the parent page in the SiteTree.
If you are keen to avoid extensions (to save resources) please see the end of this file for the method to copy into
your Page.php
Synopsis
class InheritageBySiteTreeExtension
extends Extension
{
- // methods
- public null|string|DataList getFromParentPage()
Hierarchy
Extends
- Extension
Methods
public
- getFromParentPage() — Does nothing else than just calling the parent, if exists, and returning $dbField or calling itself again.