PEAR Manual
Prev |  | Next

# constructor HTML_Menu_SigmaRenderer()

constructor HTML_Menu_SigmaRenderer() -- Class constructor.

## Synopsis

    require_once 'HTML/Menu/SigmaRenderer.php';

``void constructor HTML_Menu_SigmaRenderer::HTML_Menu_SigmaRenderer` (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.

Prev | Home | Next
Class Summary HTML_Menu_SigmaRenderer | Up | Class Summary HTML_Menu_SigmaTreeRenderer