constructor HTML_Menu_SigmaTreeRenderer()

constructor HTML_Menu_SigmaTreeRenderer() – Class constructor.

Synopsis

require_once 'HTML/Menu/SigmaTreeRenderer.php';

void constructor HTML_Menu_SigmaTreeRenderer::HTML_Menu_SigmaTreeRenderer ( object HTML_Template_Sigma &$tpl , string $prefix = 'mu_' )

Description

Sets the template object to use and sets prefix for template blocks and placeholders. We use prefix to avoid name collisions with existing template blocks and it is customisable to allow output of several menus into one template.

Parameter

object HTML_Template_Sigma &$tpl

template object to use for output

string $prefix

prefix for template blocks and placeholders

Throws

throws no exceptions thrown

Note

This function can not be called statically.