class CRM_Core_CodeGen_Util_Template

Class CRM_Core_CodeGen_Util_Template

Properties

protected $filetype
protected $smarty
protected $beautifier

Methods

__construct(string $filetype)

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 15
__construct(string $filetype)

Parameters

string $filetype

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

Parameters

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

at line 59
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 80
string fetch(string $infile)

Fetch via Smarty.

Parameters

string $infile

Return Value

string

at line 88
assign($key, $value)

Parameters

$key
$value