PEAR Manual
Prev |  | Next

# clearVariables()

clearVariables() -- Clears the variables

## Synopsis

    require_once 'HTML/Template/Sigma.php';

``void HTML_Template_Sigma::clearVariables` (void)`

## Description

Global variables are not affected, only the ones set via setVariable(). The method is useful when you add a lot of variables via setVariable() and are not sure whether all of them appear in the block you parse(). If you clear the variables after parse(), you don't risk them suddenly showing up in other blocks.

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
blockExists() | Up | errorMessage()