class SiteTree (View source)

The site tree component.

Methods

static string
render(object $Automad, string $parent, array $parameters, boolean $hideCurrent = false, string $header = false)

Create recursive site tree for editing a page.

Details

static string render(object $Automad, string $parent, array $parameters, boolean $hideCurrent = false, string $header = false)

Create recursive site tree for editing a page.

Every page link sends a post request to gui/pages.php containing the page's url.

Parameters

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

Return Value

string The branch's HTML