$options = array(
'select' => array('id', 'user_id', 'title', 'thumb'),
'where' => array(
array('genre', '=', $genre)
),
'limit' => 5
);
return parent::find('all', $options);
$options = array(
'select' => array('id', 'user_id', 'title', 'thumb', 'rate/votes as overall'),
'where' => array(
array('genre', '=', $genre)
),
'limit' => 5
);
return parent::find('all', $options);
$query .= implode(', ', array_unique(array_map($quote_ident, $this->_select)));
It looks like you're new here. If you want to get involved, click one of these buttons!