1 | <?php |
||
24 | class Events extends AbstractPackage |
||
25 | { |
||
26 | /** |
||
27 | * List events for an issue. |
||
28 | * |
||
29 | * @param string $owner The name of the owner of the GitHub repository. |
||
30 | * @param string $repo The name of the GitHub repository. |
||
31 | * @param integer $issue_number The issue number. |
||
32 | * @param integer $page The page number from which to get items. |
||
33 | * @param integer $limit The number of items on a page. |
||
34 | * |
||
35 | * @return object |
||
36 | */ |
||
37 | public function getList($owner, $repo, $issue_number, $page = 0, $limit = 0) |
||
47 | |||
48 | /** |
||
49 | * List events for a repository. |
||
50 | * |
||
51 | * @param string $owner The name of the owner of the GitHub repository. |
||
52 | * @param string $repo The name of the GitHub repository. |
||
53 | * @param integer $issueId The issue number. |
||
54 | * @param integer $page The page number from which to get items. |
||
55 | * @param integer $limit The number of items on a page. |
||
56 | * |
||
57 | * @return object |
||
58 | */ |
||
59 | public function getListRepository($owner, $repo, $issueId, $page = 0, $limit = 0) |
||
69 | |||
70 | /** |
||
71 | * Get a single event. |
||
72 | * |
||
73 | * @param string $owner The name of the owner of the GitHub repository. |
||
74 | * @param string $repo The name of the GitHub repository. |
||
75 | * @param integer $id The event number. |
||
76 | * |
||
77 | * @return object |
||
78 | */ |
||
79 | public function get($owner, $repo, $id) |
||
89 | } |
||
90 |