Code |
Context
// create simple array
foreach($parentPage['ChildPage'] as $child)
$page_id = "184"
$menu = array()
$page = array(
"Page" => array(
"id" => "184",
"parent_id" => "133",
"name" => "Y T",
"link_name" => "Y T",
"slug" => "y-t",
"level" => "3",
"status" => "1",
"meta_title" => "Y T"
),
"ParentPage" => array(
"id" => "133",
"parent_id" => "129",
"name" => "The Lion's Den",
"link_name" => "The Lion's Den",
"slug" => "the-lion-s-den",
"level" => "2",
"status" => "1",
"meta_title" => "The Lion's Den"
),
"ChildPage" => array()
)
$parentPage = false
Page::generateMenu() - APP/models/page.php, line 333
PagesController::view() - APP/controllers/pages_controller.php, line 353
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83