class SiteTree (View source)

The site tree component.

Methods

static string
render(Automad $Automad, string $parent, array $parameters, bool $hideCurrent = false, string $header = '')

Create recursive site tree for editing a page.

Details

static string render(Automad $Automad, string $parent, array $parameters, bool $hideCurrent = false, string $header = '')

Create recursive site tree for editing a page.

Parameters

Automad $Automad
string $parent
array $parameters (additional query string parameters to be passed along with the url)
bool $hideCurrent
string $header

Return Value

string The branch's HTML