\Lumberjack
Class Lumberjack
Add this classes to SiteTree classes which children should be hidden.
- Author: Michael Strong <mstrong@silverstripe.org>
Synopsis
class Lumberjack
extends Hierarchy
{
- // methods
- public array getExcludedSiteTreeClassNames()
- public void updateCMSFields()
- public void stageChildren()
- public void liveChildren()
- protected string getLumberjackTitle()
- protected bool shouldFilter()
Hierarchy
Extends
- Hierarchy
Methods
protected
- getLumberjackTitle() — This returns the title for the tab and GridField. This can be overwritten in the owner class.
- shouldFilter() — Checks if we're on a controller where we should filter. ie. Are we loading the SiteTree?
public
- getExcludedSiteTreeClassNames() — Loops through subclasses of the owner (intended to be SiteTree) and checks if they've been hidden.
- liveChildren() — Augments (@link Hierarchy::liveChildren()}
- stageChildren() — Augments (@link Hierarchy::stageChildren()}
- updateCMSFields() — This is responsible for adding the child pages tab and gridfield.