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.

HTML_Template_Sigma-based renderer for 'tree' and 'sitemap' type menus, where menu level is represented by tag nesting. (Previous) Simple filesystem browser that can be used to generated menu (3) hashes based on the directory structure. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.