Code |
Context$array = array(
"cze" => array(
"active" => "active"
),
"eng" => array(
"active" => ""
),
"deu" => array(
"active" => ""
)
)
$string = ""
$key = "cze"
$value = array(
"active" => "active"
)
$string = '';
foreach ($array as $key => $value) {
$string .= ',' . $key . '|' . $value;
CookieComponent::__implode() - CORE/cake/libs/controller/components/cookie.php, line 461
CookieComponent::__encrypt() - CORE/cake/libs/controller/components/cookie.php, line 388
CookieComponent::__write() - CORE/cake/libs/controller/components/cookie.php, line 363
CookieComponent::write() - CORE/cake/libs/controller/components/cookie.php, line 208
AppController::language() - APP/app_controller.php, line 165
AppController::app_language() - APP/app_controller.php, line 85
AppController::beforeFilter() - APP/app_controller.php, line 27
ContentNewsController::beforeFilter() - APP/controllers/content_news_controller.php, line 13
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 208
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 193
[main] - APP/webroot/index.php, line 87