Code // set meta tags
if(!isset($category)) {
$category = $this->Category->find('first',array('conditions' => array('Category.slug' => $this->params['pass'][1])));
PagesController::showPage() - APP/controllers/pages_controller.php, line 169
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Code |
Context$category = array(
"Category" => array(
"id" => "43",
"site_id" => "2",
"module_id" => "9",
"parent_id" => null,
"name" => "Oil and gas",
"slug_old" => null,
"slug" => null,
"description" => null,
"lft" => "52720",
"rght" => "52720",
"meta_title" => null,
"meta_keywords" => null,
"meta_description" => null,
"product_count" => "0",
"importcode" => null
),
"ParentCategory" => array(
"id" => null,
"site_id" => null,
"module_id" => null,
"parent_id" => null,
"name" => null,
"slug_old" => null,
"slug" => null,
"description" => null,
"lft" => null,
"rght" => null,
"meta_title" => null,
"meta_keywords" => null,
"meta_description" => null,
"product_count" => null,
"importcode" => null
)
)
$this->set('paginate_check',1);
$this->set('category',$category);
$this->set('products',$products);
PagesController::showPage() - APP/controllers/pages_controller.php, line 191
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Codeheader - [internal], line ??
AppController::beforeRender() - APP/app_controller.php, line 58
Controller::render() - CORE/cake/libs/controller/controller.php, line 756
PagesController::showPage() - APP/controllers/pages_controller.php, line 193
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88