class CRM_Core_CodeGen_Util_Template

Class CRM_Core_CodeGen_Util_Template

Properties

protected $filetype
protected $smarty
protected $beautifier
protected bool $beautify

Methods

__construct(string $filetype, bool $beautify = TRUE)

No description

runConcat(array $inputs, string $outpath)

No description

run(string $infile, string $outpath)

Run template generator.

string
fetch(string $infile)

Fetch via Smarty.

assign($key, $value)

No description

Details

at line 21
__construct(string $filetype, bool $beautify = TRUE)

Parameters

string $filetype
bool $beautify

at line 48
runConcat(array $inputs, string $outpath)

Parameters

array $inputs Template filenames.
string $outpath Full path to the desired output file.

at line 66
run(string $infile, string $outpath)

Run template generator.

Parameters

string $infile Filename of the template, without a path.
string $outpath Full path to the desired output file.

at line 104
string fetch(string $infile)

Fetch via Smarty.

Parameters

string $infile

Return Value

string

at line 112
assign($key, $value)

Parameters

$key
$value