Pepperminty Wiki Module API

sidebar

Table of Contents

render_sidebar()  : string
Renders the sidebar for a given pageindex.

Functions

render_sidebar()

Renders the sidebar for a given pageindex.

render_sidebar(array<string|int, mixed> $pageindex[, string $root_pagename = "" ], mixed $depth) : string
Parameters
$pageindex : array<string|int, mixed>

The pageindex to render the sidebar for

$root_pagename : string = ""

The pagename that should be considered the root of the rendering. You don't usually need to use this, it is used by the algorithm itself since it is recursive.

$depth : mixed
Return values
string

A HTML rendering of the sidebar for the given pageindex.

Search results