Code Context $this->set('userFavorites', $Favorite->getAllFavorites($this->Auth->user('id')));
$this->set('post', $post );
$this->set( 'title_for_layout', sprintf(__('Word: \'%s\''), $post['Post']['word']));
$slug = 'yaako'
$id = null
$post = array()
$Favorite = object(Favorite) {
name => 'Favorite'
_findMethods => array(
'favorite' => true
)
useDbConfig => 'default'
useTable => 'favorites'
id => false
data => array()
schemaName => 'nouchi'
table => 'favorites'
primaryKey => 'id'
validate => array()
validationErrors => array()
validationDomain => null
plugin => 'Favorites'
alias => 'Favorite'
tableToModel => array(
'favorites' => 'Favorite'
)
cacheQueries => false
belongsTo => array(
'Post' => array(
[maximum depth reached]
)
)
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
tablePrefix => ''
[protected] _listCategories => array(
(int) 0 => 'Post'
)
[protected] _schema => array(
'id' => array(
[maximum depth reached]
),
'user_id' => array(
[maximum depth reached]
),
'foreign_key' => array(
[maximum depth reached]
),
'model' => array(
[maximum depth reached]
),
'type' => array(
[maximum depth reached]
),
'position' => array(
[maximum depth reached]
),
'created' => array(
[maximum depth reached]
),
'modified' => array(
[maximum depth reached]
)
)
[protected] _associationKeys => array(
'belongsTo' => array(
[maximum depth reached]
),
'hasOne' => array(
[maximum depth reached]
),
'hasMany' => array(
[maximum depth reached]
),
'hasAndBelongsToMany' => array(
[maximum depth reached]
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => null
[protected] _validator => null
}PostsController::show() - APP/Controller/PostsController.php, line 508
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 97