Code Context */
$langLists = Configure::read('DEFAULT_LANGUAGE');
$languages = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
$controller = object(DetailController) {
name => 'Detail'
uses => array(
(int) 0 => 'SystemSetting',
(int) 1 => 'Language',
(int) 2 => 'Town',
(int) 3 => 'TownName',
(int) 4 => 'City',
(int) 5 => 'CityName',
(int) 6 => 'Prefecture',
(int) 7 => 'PrefectureName',
(int) 8 => 'RailwayLineType',
(int) 9 => 'RailwayLineTypeName',
(int) 10 => 'RailwayLine',
(int) 11 => 'RailwayLineName',
(int) 12 => 'Station',
(int) 13 => 'StationName',
(int) 14 => 'TrafficType',
(int) 15 => 'RoomType',
(int) 16 => 'Article',
(int) 17 => 'PointOfCompassType',
(int) 18 => 'ImageType',
(int) 19 => 'StructureType',
(int) 20 => 'LayoutType',
(int) 21 => 'BuildingType',
(int) 22 => 'Agent',
(int) 23 => 'SearchCondition'
)
helpers => array(
(int) 0 => 'DatePicker',
(int) 1 => 'Custom'
)
components => array(
(int) 0 => 'Cookie',
(int) 1 => 'Session',
(int) 2 => 'ViewSwitcher.Sw'
)
ext => '.ctp'
zone => null
zoneId => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Detail'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'detail'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '331',
(int) 1 => '3'
)
scaffold => false
methods => array(
(int) 1 => 'show',
(int) 2 => '_kanrenBukken',
(int) 3 => 'commonPageSetting',
(int) 4 => 'getLangage',
(int) 5 => 'getLanguageId',
(int) 6 => 'getArrayToValue'
)
modelClass => 'SystemSetting'
modelKey => 'detail'
validationErrors => null
Cookie => object(CookieComponent) {}
Session => object(SessionComponent) {}
Sw => object(SwComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
$langLists = array(
'jp' => array(
'id' => (int) 1,
'key' => 'jp',
'locale' => 'jpn',
'name' => '日本語'
),
'en' => array(
'id' => (int) 2,
'key' => 'en',
'locale' => 'eng',
'name' => 'English'
),
'cn' => array(
'id' => (int) 3,
'key' => 'cn',
'locale' => 'zh-cn',
'name' => '簡体字中国語'
),
'tw' => array(
'id' => (int) 5,
'key' => 'tw',
'locale' => 'zh-tw',
'name' => '中國的'
),
'kr' => array(
'id' => (int) 4,
'key' => 'kr',
'locale' => 'kor',
'name' => '한국어'
),
'vn' => array(
'id' => (int) 6,
'key' => 'vn',
'locale' => 'vie',
'name' => 'Việt'
)
)
SwComponent::startup() - APP/Plugin/ViewSwitcher/Controller/Component/SwComponent.php, line 23
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 678
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - ROOT/httpdocs/index.php, line 113