Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 314 Bytes
<?php
namespace li3_github\models;
class Repos extends \lithium\data\Model {
protected $_meta = array('connection' => 'github');
}
Repos::finder('issues', function($self, $params, $chain) {
$params['options']['conditions']['type'] = 'issues';
$data = $chain->next($self, $params, $chain);
return $data;
});