SilverStripe\CMS\Model\SiteTree::Level
Returns the page in the current page stack of the given level. Level(1) will return the main menu item that we're currently inside, etc.
Signature
public function Level(int
$level )
Parameters
$level
— int
Returns
- SiteTree