PHP Class Habari\HiEngine

The HiEngine is a subclass of the RawPHPEngine class which is intended for those theme designers who want to use simple {hi:*} tags four output instead of PHP To use this engine, specify "hiengine" in the theme.xml of a theme. This engine behaves exactly like RawPHPEngine after the template tags are processed, so if an existing RawPHPEngine template is switched to HiEngine, it should still run without issue.
Inheritance: extends RawPHPEngine
Show file Open project: habari/system

Public Methods

Method Description
__construct ( ) Constructor for HiEngine
display ( $template ) A function which outputs the result of a transposed template to the output stream

Method Details

__construct() public method

Sets up the stream protocol handler
public __construct ( )

display() public method

A function which outputs the result of a transposed template to the output stream
public display ( $template )