Code Context $orders = array('view_count' => 'desc');
$topRatedBusiness = $this->Business->find('first', array('conditions' => $conditions, 'order' => $orders));
$conditions['NOT'] = array('id' => array($topRatedBusiness['Business']['id']));
$catUrl = 'interior-decorators'
$catData = array(
'Category' => array(
'id' => '1152',
'name' => 'Interior Decorators',
'pid' => '84',
'url' => 'interior-decorators',
'banner' => '',
'logo' => '',
'created' => '0',
'status' => '1',
'catNameUrl' => 'Interior Decorators##interior-decorators'
)
)
$subCatList = array(
(int) 3512 => 'Interior Decorator##interior-decorator'
)
$breadcrumArr = array(
(int) 0 => 'Furnishings & Decorators##furnishings-and-decorators',
(int) 1 => 'Interior Decorators##interior-decorators'
)
$pcatData = array(
'Category' => array(
'catNameUrl' => 'Furnishings & Decorators##furnishings-and-decorators'
)
)
$currentCat = 'Interior Decorators'
$fields = array(
(int) 0 => 'id',
(int) 1 => 'catNameUrl'
)
$orders = array(
'view_count' => 'desc'
)
$subCatIds = array(
(int) 0 => (int) 3512
)
$conditions = array(
'status' => (int) 1,
'cid' => array(
(int) 0 => (int) 3512
)
)
$topRatedBusiness = array()
CategoriesController::business() - APP/Controller/CategoriesController.php, line 44
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117