FrameworkInfos

package

Default

Methods

FrameworkInfos constructor.

__construct(string $frameworkFile, mixed $localFrameworkFile = '') 

Arguments

$frameworkFile

string

the path to the localframework.ini.php file

$localFrameworkFile

mixed

addEntryPointInfo

addEntryPointInfo( $fileName,  $configFileName,  $type = 'classic') 

Arguments

$fileName

$configFileName

$type

addLocalEntryPointInfo

addLocalEntryPointInfo( $fileName,  $configFileName,  $type = 'classic') 

Arguments

$fileName

$configFileName

$type

getDefaultEntryPointInfo

getDefaultEntryPointInfo() : null|\Jelix\Core\Infos\EntryPoint

getEntryPointInfo

getEntryPointInfo(mixed $id) : null|\Jelix\Core\Infos\EntryPoint

Arguments

$id

mixed

Response

null|\Jelix\Core\Infos\EntryPoint

getEntryPoints

getEntryPoints() : array<mixed,\Jelix\Core\Infos\EntryPoint>

Response

array<mixed,\Jelix\Core\Infos\EntryPoint>

create a new FrameworkInfos object.

load() : \Jelix\Core\Infos\FrameworkInfos
static

readIniFile

readIniFile(\Jelix\IniFile\IniModifier $iniFile,  $isLocal = false) 

Arguments

$iniFile

\Jelix\IniFile\IniModifier

$isLocal

removeEntryPointInfo

removeEntryPointInfo( $fileName) 

Arguments

$fileName

save

save() 

updateIni

updateIni() 

Properties

iniFile

iniFile : \Jelix\IniFile\IniModifier
var

Type(s)

\Jelix\IniFile\IniModifier

iniLocalFile

iniLocalFile : \Jelix\IniFile\IniModifier
var

Type(s)

\Jelix\IniFile\IniModifier

keys are filename

entrypoints : array<mixed,\Jelix\Core\Infos\EntryPoint>
var

keys are filename

Type(s)

array<mixed,\Jelix\Core\Infos\EntryPoint>

keys are filename

localEntrypoints : array<mixed,\Jelix\Core\Infos\EntryPoint>
var

keys are filename

Type(s)

array<mixed,\Jelix\Core\Infos\EntryPoint>

defaultEntryPoint

defaultEntryPoint : string
var

Type(s)

string