/**
docs.ssmods.com
Overview
Namespaces
Interfaces
Classes
Source
Overview
Classes
SilverStripe\CMS\Model
SiteTree
getParentType
Introduction
Synopsis
Return
Source
SilverStripe\CMS\Model\SiteTree::
getParentType
Returns 'root' if the current page has no parent, or 'subpage' otherwise
Signature
public function getParentType()
Returns
string