Class GXSmarty

SmartyBC
GXSmarty

Methods summary

public __construct( void )

GXSmarty constructor.

public createTemplate( string $template, mixed $cache_id = null, mixed $compile_id = null, object $parent = null, boolean $do_clone = true ) : object

creates a template object

public trigger_error( string $error_msg, integer $error_type = E_USER_WARNING )

trigger Smarty error

protected _getGambioUsermodFilePath( $p_template ) : string

This method checks if a USERMOD of the given template exists and replaces it with the USERMOD