Code |
Context$id = null
$posters = array()
if(isset($this->params['named']['artist'])){
$posters = $this->Poster->find('all', array('conditions'=>array('Artist.id'=>$this->params['named']['artist'])));
$poster = $posters[0];
PostersController::view() - APP/controllers/posters_controller.php, line 256
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88