Config/Web.php

Classes 
Classes
Kwf_Config_Web

\Kwf_Config_Web

Extends from
\Kwf_Config_Ini
Properties
$_masterFiles
Methods
__construct
_getKwfSection
_getWebSection
_mergeWebConfig
clearInstances
findThemeConfigIni
getDefaultConfigSection
getInstance
getInstanceMtime
getMasterFiles
getSection
mergeConfigs
reload

Properties

$_masterFiles

 $_masterFiles = 'array'

Details

visibility
protected
default
array
final
false
static
false

Methods

__construct

__construct(  $section,  $options = array ) :
Arguments
$section
$options
Details
visibility
public
final
false
static
false

_getKwfSection

_getKwfSection(  $section,  $webPath,  $kwfPath ) :
Arguments
$section
$webPath
$kwfPath
Details
visibility
protected
final
false
static
false

_getWebSection

_getWebSection(  $section,  $configFile ) :
Arguments
$section
$configFile
Details
visibility
protected
final
false
static
false

_mergeWebConfig

_mergeWebConfig(  $section,  $webPath ) :
Arguments
$section
$webPath
Details
visibility
protected
final
false
static
false

clearInstances

clearInstances( ) :
Details
visibility
public
final
false
static
true

findThemeConfigIni

findThemeConfigIni(  $theme ) :
Arguments
$theme
Details
visibility
public
final
false
static
true

getDefaultConfigSection

getDefaultConfigSection( ) :
Details
visibility
public
final
false
static
true

getInstance

getInstance(  $section = null ) :
Arguments
$section
Details
visibility
public
final
false
static
true

getInstanceMtime

getInstanceMtime(  $section ) :
Arguments
$section
Details
visibility
public
final
false
static
true

getMasterFiles

getMasterFiles( ) :
Details
visibility
public
final
false
static
false

getSection

getSection( ) :
Details
visibility
public
final
false
static
false

mergeConfigs

mergeConfigs(  $main,  $merge ) :

Diesen Merge sollte eigentlich das Zend machen, aber das merged nicht so wie wir das erwarten. Beispiel:

Main Config: bla.blubb[] = x bla.blubb[] = y bla.blubb[] = z

Merge Config: bla.blubb[] = a bla.blubb[] = b

Nach den Config-Section regeln würde man erwarten, dass nach dem mergen nur mehr a und b drin steht. Tatsächlich merget Zend aber so, dass a, b, z überbleibt. Zend überschreibt die Werte, was wir nicht wollen, deshalb dieses händische mergen hier.

Arguments
$main
$merge
Details
visibility
public
final
false
static
true

reload

reload( ) :
Details
visibility
public
final
false
static
true
Documentation was generated by DocBlox 0.12.3.