Code Context $arr_data = array();
foreach ($arr_path as $key => $value) {
array_push($arr_data, $arrCate[$value]);
$id = '391'
$type = 'services'
$lang = 'vie'
$loop = (int) 0
$arr_tmp = array(
(int) 0 => array(
'CategoryModel' => array(
'id' => '378',
'parent_id' => '0',
'url_img' => ''
),
'SystemLink' => array(
'url' => 'may-chu',
'id' => '685'
),
'Content' => array(
'name' => 'Máy chủ',
'seo_title' => 'Máy chủ',
'seo_keyword' => '',
'seo_description' => ''
)
),
(int) 1 => array(
'CategoryModel' => array(
'id' => '382',
'parent_id' => '378',
'url_img' => ''
),
'SystemLink' => array(
'url' => 'may-chu/may-chu-ao-vps',
'id' => '689'
),
'Content' => array(
'name' => 'Máy chủ ảo (VPS)',
'seo_title' => 'Máy chủ ảo (VPS)',
'seo_keyword' => '',
'seo_description' => ''
)
)
)
$arr_path = array(
(int) 0 => '378',
(int) 1 => '382',
(int) 2 => '391'
)
$tmp = array(
'CategoryModel.id' => array(
(int) 0 => '378',
(int) 1 => '382',
(int) 2 => '391'
),
'CategoryModel.del_flg' => (int) 0,
'CategoryModel.status' => (int) 1
)
$conditions = array(
'conditions' => array(
'CategoryModel.id' => array(
(int) 0 => '378',
(int) 1 => '382',
(int) 2 => '391'
),
'CategoryModel.del_flg' => (int) 0,
'CategoryModel.status' => (int) 1
),
'joins' => array(
(int) 0 => array(
'table' => 'system_links',
'alias' => 'SystemLink',
'type' => 'INNER',
'conditions' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'table' => 'categories_content',
'alias' => 'Content',
'type' => 'INNER',
'conditions' => array(
[maximum depth reached]
)
)
),
'fields' => array(
(int) 0 => 'CategoryModel.id',
(int) 1 => 'CategoryModel.parent_id',
(int) 2 => 'CategoryModel.url_img',
(int) 3 => 'SystemLink.url',
(int) 4 => 'SystemLink.id',
(int) 5 => 'Content.name',
(int) 6 => 'Content.seo_title',
(int) 7 => 'Content.seo_keyword',
(int) 8 => 'Content.seo_description'
),
'recursive' => (int) -1
)
$arrCate = array(
(int) 378 => array(
'id' => '378',
'name' => 'Máy chủ',
'url_img' => '',
'url' => 'may-chu',
'parent_id' => '0'
),
(int) 382 => array(
'id' => '382',
'name' => 'Máy chủ ảo (VPS)',
'url_img' => '',
'url' => 'may-chu/may-chu-ao-vps',
'parent_id' => '378'
)
)
$key = (int) 2
$value = '391'
$cateId = '382'
$arr_data = array(
(int) 0 => array(
'id' => '378',
'name' => 'Máy chủ',
'url_img' => '',
'url' => 'may-chu',
'parent_id' => '0'
),
(int) 1 => array(
'id' => '382',
'name' => 'Máy chủ ảo (VPS)',
'url_img' => '',
'url' => 'may-chu/may-chu-ao-vps',
'parent_id' => '378'
)
)
CategoryModel::getDataBreadcrumb() - APP/Model/CategoryModel.php, line 79
BreadcrumbController::index() - APP/Plugin/Breadcrumb/Controller/BreadcrumbController.php, line 29
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
Object::requestAction() - CORE/Cake/Core/Object.php, line 105
content_6478873fb1de83_97873741 - APP/tmp/smarty/compile/7b158e3f57a0e7d6ce4757845d341585a0cf8e67_0.file.index.tpl.php, line 126
Smarty_Internal_Template::getRenderedTemplateCode() - APP/Vendor/smarty/sysplugins/smarty_internal_template.php, line 371
Smarty_Template_Compiled::render() - APP/Vendor/smarty/sysplugins/smarty_template_compiled.php, line 202
Smarty_Internal_Template::render() - APP/Vendor/smarty/sysplugins/smarty_internal_template.php, line 246
Smarty::fetch() - APP/Vendor/smarty/Smarty.class.php, line 824
SmartyView::_render() - APP/View/SmartyView.php, line 123
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 960
SystemController::index() - APP/Controller/SystemController.php, line 158
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490