SilverStripe\CMS\Model\SiteTree::getTreeTitle
getTreeTitle will return three <span> html DOM elements, an empty <span> with the class 'jstree-pageicon' in front, following by a <span> wrapping around its MenuTitle, then following by a <span> indicating its publication status.
Signature
public function getTreeTitle()
Returns
- string
- An HTML string ready to be directly used in a template