GitHub API Forks class for the Joomla Platform.
- Depuis
- 1.7.3
- Obsolète:
- 4.0 Use the
joomla/github
package via Composer instead
◆ create()
create |
( |
|
$user, |
|
|
|
$repo, |
|
|
|
$org = '' |
|
) |
| |
Method to fork a repository.
- Paramètres
-
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $org | The organization to fork the repo into. By default it is forked to the current user. |
- Obsolète:
- use repositories->forks->create()
- Renvoie
- object
- Depuis
- 2.5.0
- Exceptions
-
Références $data, $path, $user, et json_encode.
◆ getList()
getList |
( |
|
$user, |
|
|
|
$repo, |
|
|
|
$page = 0 , |
|
|
|
$limit = 0 |
|
) |
| |
Method to list forks for a repository.
- Paramètres
-
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $page | Page to request |
integer | $limit | Number of results to return per page |
- Obsolète:
- use repositories->forks->getList()
- Renvoie
- array
- Depuis
- 2.5.0
- Exceptions
-
Références $limit, $path, et $user.
La documentation de cette classe a été générée à partir du fichier suivant :