Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.31 kb
<?php
namespace li3_github\models;
class Orgs extends \lithium\data\Model {
protected $_meta = array('connection' => 'github');
}
Orgs::finder('repos', function($self, $params, $chain) {
$params['options']['conditions']['type'] = 'repos';
$data = $chain->next($self, $params, $chain);
return $data;
});
Jump to Line
Something went wrong with that request. Please try again.