abstract class Helper implements HelperInterface

Helper is the base class for all helper classes.

Most of the time, a Helper is an adapter around an existing class that exposes a read-only interface for templates.

Properties

protected $charset

Methods

setCharset(string $charset)

Sets the default charset.

string
getCharset()

Gets the default charset.

Details

setCharset(string $charset)

Sets the default charset.

Parameters

string $charset The charset

string getCharset()

Gets the default charset.

Return Value

string The default charset