Jelix 1.6.40

jConfig
in package

static class which loads the configuration

Tags
subpackage

core

static

Table of Contents

$fromCache  : mixed
indicate if the configuration was loading from the cache (true) or if the cache configuration was regenerated (false)
load()  : object
load and read the configuration of the application The combination of all configuration files (the given file and the mainconfig.ini.php) is stored in a single temporary file. So it calls the jConfigCompiler class if needed
__construct()  : mixed
this is a static class, so private constructor

Properties

$fromCache

indicate if the configuration was loading from the cache (true) or if the cache configuration was regenerated (false)

public static mixed $fromCache = rue

Methods

load()

load and read the configuration of the application The combination of all configuration files (the given file and the mainconfig.ini.php) is stored in a single temporary file. So it calls the jConfigCompiler class if needed

public static load(string $configFile) : object
Parameters
$configFile : string

the config file name

Tags
see
jConfigCompiler
Return values
object

it contains all configuration options

__construct()

this is a static class, so private constructor

private __construct() : mixed
Return values
mixed

Search results