GXSmarty

Extends \SmartyBC

package

Default

Methods

GXSmarty constructor.

__construct() 

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

_getGambioUsermodFilePath( $p_template) : string

Arguments

$p_template

Response

string

creates a template object

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

Arguments

$template

string

the resource handle of the template file

$cache_id

mixed

cache id to be used with this template

$compile_id

mixed

compile id to be used with this template

$parent

object

next higher level of Smarty variables

$do_clone

boolean

flag is Smarty object shall be cloned

Response

object

template object

trigger Smarty error

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

Arguments

$error_msg

string

$error_type

integer