webapp/config/base.ini
このファイルは Controller により読み込まれ、下記の DIContainer が設定される
ConfigUtils: maple/nccore/ConfigExtraUtils.class.php
Request: maple/nccore/RequestExtra.class.php
File: maple/nccore/FileExtra.class.php
Response: maple/nccore/ResponseExtra.class.php
ActionChain: maple/nccore/ActionExtraChain.class.php
FilterChain: maple/nccore/FilterExtraChain.class.php
DbObject: maple/nccore/db/DbObjectAdodb.class.php
GetData: maple/nccore/GetData.class.php
MobileCheck: maple/nccore/MobileCheck.class.php
下記のような流れで実行される
Controller->execute()
Controller->_createDIContainer()
{
// webapp/config/base.ini の読み込み
$config = parse_ini_file(WEBAPP_DIR . BASE_INI, TRUE);
// コンポーネントの読み込み
include_once($filename);
$instance =& new $className();
// DIContainer への設定
$container->register($instance, $key);
}
DIContainer->register( &$component, $name)
{
$this->_components[$name] =& $component;
}