Code Context $data = $this->Page->read(null, $id);
if($data['Page']['is_home'] == 1 && strpos($this->here, 'section')!==false) {
$id = '7'
$slug = ''
$renderFile = 'view'
$data = array()
$this = object(PagesController) {
uses => array(
(int) 0 => 'Page',
(int) 1 => 'Option',
(int) 2 => 'TableMenu',
(int) 3 => 'Menu',
(int) 4 => 'Socialnetwork'
)
name => 'Pages'
defaultModel => 'Page'
pageLimit => (int) 50
components => array(
'Session' => null,
'Cookie' => null,
'Auth' => array(
[maximum depth reached]
),
'Paginator' => null
)
helpers => array(
(int) 0 => 'Session',
'Html' => array(
[maximum depth reached]
),
'Form' => array(
[maximum depth reached]
),
'Paginator' => array(
[maximum depth reached]
),
(int) 1 => 'PhpThumb.PhpThumb'
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Pages'
layoutPath => null
viewVars => array(
'Controller' => 'Pages',
'Model' => 'Page',
'socialnetworks' => array(
[maximum depth reached]
),
'CommentUser' => array(
[maximum depth reached]
),
'foMenu' => array(
[maximum depth reached]
),
'adminMenu' => array(
[maximum depth reached]
),
'app_name' => 'Pixellers - Agenzia di comunicazione, pubblicitĂ e marketing a Bari',
'options' => array(
[maximum depth reached]
),
'isAuthorized' => false,
'user' => null
)
view => 'view'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '7'
)
scaffold => false
methods => array(
(int) 1 => 'admin_editbyname',
(int) 2 => 'view',
(int) 3 => 'getFilter',
(int) 4 => 'getItems',
(int) 5 => 'getServicecategories',
(int) 6 => 'getClients',
(int) 7 => 'getProjects',
(int) 8 => 'getProjectcategories',
(int) 9 => '_checkBrowserLanguage',
(int) 10 => '_setErrorLayout',
(int) 12 => 'isFacebookBot',
(int) 13 => 'isAuthorized',
(int) 14 => 'isMobile',
(int) 15 => 'isMobileText',
(int) 16 => 'checkRecaptcha',
(int) 17 => 'admin_order',
(int) 18 => 'admin_index',
(int) 19 => 'admin_clone',
(int) 20 => 'admin_add',
(int) 21 => 'admin_edit',
(int) 22 => 'admin_delete',
(int) 23 => 'admin_editField',
(int) 24 => 'metadata',
(int) 25 => 'admin_saveField',
(int) 26 => 'admin_findByDay',
(int) 27 => 'isIphone'
)
modelClass => 'Page'
modelKey => 'page'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Auth => object(AuthComponent) {}
Paginator => object(PaginatorComponent) {}
Option => object(Option) {}
TableMenu => object(TableMenu) {}
Menu => object(Menu) {}
theme => 'Pixellers'
Socialnetwork => object(Socialnetwork) {}
Page => object(Page) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
PagesController::view() - APP/Controller/PagesController.php, line 48
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 118