|
| | getList ($owner, $repo) |
| |
| | get ($owner, $repo, $id) |
| |
| | create ($owner, $repo, $title, $key) |
| |
| | edit ($owner, $repo, $id, $title, $key) |
| |
| | delete ($owner, $repo, $id) |
| |
| | __get ($name) |
| |
| | __construct (Registry $options=null, JGithubHttp $client=null) |
| |
GitHub API Forks class for the Joomla Platform.
https://developer.github.com/v3/repos/keys
- Depuis
- 1.7.3
- Obsolète:
- 4.0 Use the
joomla/github package via Composer instead
◆ create()
| create |
( |
|
$owner, |
|
|
|
$repo, |
|
|
|
$title, |
|
|
|
$key |
|
) |
| |
Create a key.
- Paramètres
-
| string | $owner | The name of the owner of the GitHub repository. |
| string | $repo | The name of the GitHub repository. |
| string | $title | The key title. |
| string | $key | The key. |
- Depuis
- 3.3.0
- Renvoie
- object
Références $data, $key, $path, $title, et json_encode.
◆ delete()
| delete |
( |
|
$owner, |
|
|
|
$repo, |
|
|
|
$id |
|
) |
| |
Delete a key.
- Paramètres
-
| string | $owner | The name of the owner of the GitHub repository. |
| string | $repo | The name of the GitHub repository. |
| integer | $id | The id of the key. |
- Depuis
- 3.3.0
- Renvoie
- boolean
Références $id, et $path.
◆ edit()
| edit |
( |
|
$owner, |
|
|
|
$repo, |
|
|
|
$id, |
|
|
|
$title, |
|
|
|
$key |
|
) |
| |
Edit a key.
- Paramètres
-
| string | $owner | The name of the owner of the GitHub repository. |
| string | $repo | The name of the GitHub repository. |
| integer | $id | The id of the key. |
| string | $title | The key title. |
| string | $key | The key. |
- Depuis
- 3.3.0
- Renvoie
- object
Références $data, $id, $key, $path, $title, et json_encode.
◆ get()
| get |
( |
|
$owner, |
|
|
|
$repo, |
|
|
|
$id |
|
) |
| |
Get a key.
- Paramètres
-
| string | $owner | The name of the owner of the GitHub repository. |
| string | $repo | The name of the GitHub repository. |
| integer | $id | The id of the key. |
- Depuis
- 3.3.0
- Renvoie
- object
Références $id, et $path.
◆ getList()
| getList |
( |
|
$owner, |
|
|
|
$repo |
|
) |
| |
List keys in a repository.
- Paramètres
-
| string | $owner | The name of the owner of the GitHub repository. |
| string | $repo | The name of the GitHub repository. |
- Depuis
- 3.3.0
- Renvoie
- object
Références $path.
La documentation de cette classe a été générée à partir du fichier suivant :