Code Context $user_id = $this->Auth->user('id');
$hasProfile = $this->Challenge->User->SolverProfile->find('first', array(
$id = '39'
$user_id = null
$this = object(ChallengesController) {
components => array(
'Acl' => null,
'Auth' => array(
[maximum depth reached]
),
'Session' => null,
'Recaptcha.Recaptcha' => null,
'Paginator' => null,
'CurrencyConverter' => null
)
helpers => array(
(int) 0 => 'Time',
(int) 1 => 'Html',
'Form' => array(
[maximum depth reached]
),
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Translate',
(int) 5 => 'Upload',
(int) 6 => 'PhpExcel',
(int) 7 => 'Js',
(int) 8 => 'Csv',
(int) 9 => 'Froala.Froala',
(int) 10 => 'Recaptcha.Recaptcha',
(int) 11 => 'Recaptcha.Recaptcha'
)
name => 'Challenges'
uses => array(
(int) 0 => 'Challenge',
(int) 1 => 'Link',
(int) 2 => 'Error',
(int) 3 => 'News',
(int) 4 => 'SolverProfile',
(int) 5 => 'User'
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Challenges'
layoutPath => null
viewVars => array(
'has_solverprofile' => false,
'newslist' => array([maximum depth reached]),
'mlinks' => array([maximum depth reached]),
'balance' => '0.00',
'infoactions' => array(
[maximum depth reached]
),
'avatar_image_header' => '/yomken2/images/avatar.jpg'
)
view => 'view'
layout => 'home'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '39'
)
scaffold => false
methods => array(
(int) 1 => 'admin_daily',
(int) 2 => 'index',
(int) 3 => 'my_list',
(int) 4 => 'view',
(int) 5 => 'sponsor',
(int) 6 => 'add',
(int) 7 => 'edit',
(int) 8 => 'delete',
(int) 9 => 'admin_index',
(int) 10 => 'admin_view',
(int) 11 => 'admin_add',
(int) 12 => 'wizard',
(int) 13 => 'editwizard',
(int) 14 => 'admin_edit',
(int) 15 => 'admin_delete',
(int) 16 => 'archive_challenges',
(int) 17 => 'checkSolved',
(int) 18 => 'checkTime',
(int) 19 => 'subscribe',
(int) 20 => 'admin_message_subscribers',
(int) 21 => 'admin_message_subscribers_automatically',
(int) 22 => 'getShortDescription',
(int) 23 => 'renameFlagsImages',
(int) 24 => 'xcan',
(int) 25 => 'saveFiles',
(int) 27 => 'isAuthorized',
(int) 28 => 'generateHash',
(int) 29 => 'changeLanguage',
(int) 30 => '_changeLanguage',
(int) 31 => 'getTranslation',
(int) 32 => 'changeCurrency'
)
modelClass => 'Challenge'
modelKey => 'challenge'
validationErrors => null
Acl => object(AclComponent) {}
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
Recaptcha => object(RecaptchaComponent) {}
Paginator => object(PaginatorComponent) {}
CurrencyConverter => object(CurrencyConverterComponent) {}
Link => object(Link) {}
Error => object(Error) {}
News => object(News) {}
SolverProfile => object(SolverProfile) {}
Challenge => object(AppModel) {}
User => object(User) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}ChallengesController::view() - APP/Controller/ChallengesController.php, line 332
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109