class SiteTree (View source)

The site tree component.

Methods

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

Create recursive site tree for editing a page.

Details

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

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|null $header

Return Value

string The branch's HTML