Code Context $fieldsInParentCategory = [];
$categoryParams = $this->_View->get('categoryParams');
foreach($categoryParams as $params){
$settingList = array(
'default' => array(
'apartment' => array(
'title' => 'Квартира',
'fieldname' => 'Advertisement.apartment'
),
(int) 0 => array(
'fieldname' => 'CategoryParamValues.rooms_num',
'helper' => 'AgencyIndex',
'method' => 'categoryParamsValue',
'params' => array(
[maximum depth reached]
),
'title' => 'Кол-во комнат'
),
(int) 1 => array(
'helper' => 'AgencyIndex',
'method' => 'area',
'title' => 'Площадь (О/Ж/К)'
),
(int) 2 => array(
'fieldname' => 'CategoryParamValues.floor',
'helper' => 'AgencyIndex',
'method' => 'categoryParamsValue',
'params' => array(
[maximum depth reached]
),
'title' => 'Этаж'
),
(int) 3 => array(
'helper' => 'ParentIndex',
'method' => 'plans',
'fieldname' => 'Advertisement.photos',
'title' => 'Планировка'
),
(int) 4 => array(
'helper' => 'ParentIndex',
'method' => 'price',
'fieldname' => 'Advertisement.price',
'title' => 'Общая стоимость'
),
(int) 5 => array(
'helper' => 'ParentIndex',
'method' => 'pricePerMeter',
'fieldname' => 'Advertisement.price',
'title' => 'Цена за кв.м'
),
(int) 6 => array(
'helper' => 'ParentIndex',
'method' => 'actions',
'fieldname' => 'actions',
'title' => 'Действия'
)
)
)
$fields = array(
'apartment' => array(
'title' => 'Квартира',
'fieldname' => 'Advertisement.apartment'
),
(int) 0 => array(
'fieldname' => 'CategoryParamValues.rooms_num',
'helper' => 'AgencyIndex',
'method' => 'categoryParamsValue',
'params' => array(
'alias' => 'rooms_num'
),
'title' => 'Кол-во комнат'
),
(int) 1 => array(
'helper' => 'AgencyIndex',
'method' => 'area',
'title' => 'Площадь (О/Ж/К)'
),
(int) 2 => array(
'fieldname' => 'CategoryParamValues.floor',
'helper' => 'AgencyIndex',
'method' => 'categoryParamsValue',
'params' => array(
'alias' => 'floor'
),
'title' => 'Этаж'
),
(int) 3 => array(
'helper' => 'ParentIndex',
'method' => 'plans',
'fieldname' => 'Advertisement.photos',
'title' => 'Планировка'
),
(int) 4 => array(
'helper' => 'ParentIndex',
'method' => 'price',
'fieldname' => 'Advertisement.price',
'title' => 'Общая стоимость'
),
(int) 5 => array(
'helper' => 'ParentIndex',
'method' => 'pricePerMeter',
'fieldname' => 'Advertisement.price',
'title' => 'Цена за кв.м'
),
(int) 6 => array(
'helper' => 'ParentIndex',
'method' => 'actions',
'fieldname' => 'actions',
'title' => 'Действия'
)
)
$fieldsInParentCategory = array()
$categoryParams = null
ParentIndexHelper::processIndexFields() - APP/Plugin/ObjectTemplates/View/Helper/ParentIndexHelper.php, line 268
ParentIndexHelper::renderTable() - APP/Plugin/ObjectTemplates/View/Helper/ParentIndexHelper.php, line 327
include - APP/Plugin/ObjectTemplates/View/AdvertisementTemplates/view.ctp, line 16
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
TwigView::_render() - APP/Plugin/Twig/View/TwigView.php, line 196
View::render() - CORE/Cake/View/View.php, line 473
include - APP/Plugin/ObjectTemplates/View/AdvertisementTemplates/view_slug.ctp, line 1
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
TwigView::_render() - APP/Plugin/Twig/View/TwigView.php, line 196
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
CroogoAppController::render() - ROOT/vendors/croogo/Croogo/Controller/CroogoAppController.php, line 350
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 98