Documentation

SettingsUtil
in package

Helpers for working with "civicrm.settings.php.template" data.

Table of Contents

Methods

createParams()  : mixed
evaluate()  : string
Evaluate the settings template.

Methods

evaluate()

Evaluate the settings template.

public static evaluate(string $tplPath, array<string|int, mixed> $params) : string
Parameters
$tplPath : string

Readable path of the 'civicrm.settings.php.template' file.

$params : array<string|int, mixed>

List of values to pass into the template.

Return values
string

Evaluated template.


        
On this page

Search results