Code |
Context $moduleArgs = isset($this->params['moduleArgs'][strtolower($module['name'])]) ? $this->params['moduleArgs'] : null;
$data[$module['name']] = $this->$componentName->getData('front_view',$page,$moduleArgs);
$view = "front_view"
$page = array(
"Page" => array(
"id" => "35",
"sef_description" => "",
"title" => "News",
"sef_keywords" => "",
"sef_url" => "news",
"created" => "2013-10-29 18:14:07",
"modified" => "2021-05-14 16:21:18",
"modified_by" => "8",
"is_visible" => "1",
"parent_id" => null,
"is_active" => null,
"lft" => "47",
"rght" => "50",
"slug" => null,
"site_id" => "1",
"sef_title" => "",
"layout_id" => "3",
"theme_id" => "1",
"photo" => "UNADJUSTEDNONRAW_thumb_47a9-1.jpg",
"content" => "",
"external_link" => "",
"old_parent_id" => null,
"subtitle" => ""
),
"Site" => array(
"id" => "1",
"url" => "www.nowcanada.ca",
"name" => "Now Canada",
"created" => "2010-10-21 20:40:31",
"modified" => "2021-04-26 18:18:00",
"is_ecommerce" => null,
"google_id" => "UA-41627716-1",
"timezone" => "America/Vancouver",
"logo" => "Untitled design-2.png",
"merchant_id" => "",
"weather_id" => ""
),
"Layout" => array(
"id" => "3",
"name" => "content"
),
"Module" => array(
array()
)
)
$args = array(
"news" => array(
"news",
"News",
"15",
"12",
"9"
)
)
$joins = array(
array(
"table" => "news_news_categories",
"alias" => "NewsCategory",
"type" => "INNER",
"conditions" => array()
),
array(
"table" => "news_categories_pages",
"alias" => "NewsPage",
"type" => "INNER",
"conditions" => array()
),
array(
"table" => "news_categories",
"alias" => "Category",
"type" => "INNER",
"conditions" => array()
),
array(
"table" => "news_sites",
"alias" => "NewsSite",
"type" => "LEFT",
"conditions" => array()
)
)
$fields = array(
"News.title"
)
$order = array(
"News.entered DESC"
)
$approved = 1
$z = 1
$paginateLink = "/news/news"
$categories = array(
"News"
)
$newsCategory = array(
"id" => 1,
"name" => "News"
)
$newsStory = null
$category = "News"
$key = 56
$earliestTime = 1449597600
$latestTime = 1449727200
$conditions = array(
"NewsCategory.news_category_id" => 1,
"News.entered >" => 1449597600,
"News.entered <" => 1449727200
)
$group = array(
"News.id"
)
$newsCandidates = array(
""
)
$newsItem = ""
NewsAdminComponent::getData() - APP/plugins/news/controllers/components/news_admin.php, line 208
PagesController::pageContent() - APP/controllers/pages_controller.php, line 134
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84