Code Context
$selectedCity_details = $this->City->findByName(strtolower($selectedCity));
$category_available = $this->ItemCategoryCity->find('first',array('conditions'=>array('ItemCategoryCity.item_category_id'=>$selectedCategory['ItemCategory']['id'],'ItemCategoryCity.city_id'=>$selectedCity_details['City']['id'],'ItemCategory.addon_category'=>0)));
$category_name = 'fast-food'
$city = '560fd3fd-912c-4d4f-876e-4e486aba72de'
$selectedCity = '560fd3fd-912c-4d4f-876e-4e486aba72de'
$selectedCategory = array(
'ItemCategory' => array(
'id' => '560fd3fd-912c-4d4f-876e-4e486aba72de',
'name' => 'Fast Food',
'category_group_id' => null,
'priority' => '3',
'max_qty' => '-1',
'item_type_id' => '557ead48-1668-4eee-af4e-16bfbf642048',
'parent_name_alias' => 'fast-food',
'desc' => null,
'long_description' => null,
'item_category_id' => null,
'tags' => '',
'meta' => '',
'permalink' => null,
'primary_photo' => 'Fast Food.PNG',
'primary_photo_dir' => '560fd3fd-912c-4d4f-876e-4e486aba72de',
'category_banner' => 'Fast-Food.JPG',
'category_banner_dir' => '560fd3fd-912c-4d4f-876e-4e486aba72de',
'addon_category' => '0',
'is_active' => '0',
'created' => '2015-10-03 18:41:25',
'modified' => '2015-11-09 12:37:45'
)
)
$selectedCity_details = array()
ItemsController::category() - APP/Controller/ItemsController.php, line 188
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
[main] - APP/webroot/index.php, line 118