Code |
Context
// Get last page and its parents
$page = $this->Product->Page->find('first', array('conditions'=> array('Page.id' => $page_ids[count($page_ids) - 1],
$slug = "basic-wolf-course"
$product = array(
"Product" => array(
"id" => "15",
"name" => "Basic Wolf Course",
"slug" => "basic-wolf-course",
"sku" => "BWC",
"strapline" => "Delve deeper into the language and behaviour of wolves...",
"description" => "<p>This two day module provides a more focused insight into the language and behaviour used by wolves to communicate. You will find a very practical approach is used to demonstrate the unique concepts being taught, with observation taking place at the fenceline.</p>
<p><strong>Attendance on a Level 1 Wolf Awarenes Day is a prerequisite</strong> for this module and all delegates must be age 16 or over.</p>
<p>Maximum number of delegates: 6<br />Course Tutor: Linda Cowan</p>
<h2><span style="color: #008000;">Forthcoming dates:</span></h2>
<p>soon to be announced</p>",
"txt_level" => "Level 1 Wolf Course",
"duration" => "Two days",
"location" => "North Devon",
"review" => "",
"video" => "",
"meta_title" => "",
"meta_keywords" => "",
"meta_description" => "",
"quantity" => "0",
"price" => "205",
"promotion_price" => "0",
"course" => "1",
"parent_id" => "0",
"lft" => "7",
"rght" => "8",
"level" => "1",
"active" => "1",
"allow_delete" => "1",
"deleted" => "0",
"deleted_date" => null,
"created" => "2010-09-26 11:42:07",
"modified" => "2013-05-16 21:12:02"
),
"RelatedProduct" => array(),
"Document" => array(
array()
),
"Page" => array()
)
$page_ids = array()
ProductsController::show() - APP/controllers/products_controller.php, line 278
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 106