GitHub API Repositories Collaborators class for the Joomla Platform.
https://developer.github.com/v3/repos/collaborators
- Depuis
- 1.7.3
- Obsolète:
- 4.0 Use the
joomla/github
package via Composer instead
◆ add()
add |
( |
|
$owner, |
|
|
|
$repo, |
|
|
|
$user |
|
) |
| |
Add collaborator.
- Paramètres
-
string | $owner | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $user | The name of the GitHub user. |
- Depuis
- 3.3 (CMS)
- Renvoie
- object
Références $path, et $user.
◆ get()
get |
( |
|
$owner, |
|
|
|
$repo, |
|
|
|
$user |
|
) |
| |
Test if a user is a collaborator.
- Paramètres
-
string | $owner | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $user | The name of the GitHub user. |
- Exceptions
-
- Depuis
- 3.3 (CMS)
- Renvoie
- boolean
Références $path, et $user.
◆ getList()
getList |
( |
|
$owner, |
|
|
|
$repo |
|
) |
| |
List.
When authenticating as an organization owner of an organization-owned repository, all organization owners are included in the list of collaborators. Otherwise, only users with access to the repository are returned in the collaborators list.
- Paramètres
-
string | $owner | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
- Depuis
- 3.3 (CMS)
- Renvoie
- object
Références $path.
◆ remove()
remove |
( |
|
$owner, |
|
|
|
$repo, |
|
|
|
$user |
|
) |
| |
Remove collaborator.
- Paramètres
-
string | $owner | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $user | The name of the GitHub user. |
- Depuis
- 3.3 (CMS)
- Renvoie
- object
Références $path, et $user.
La documentation de cette classe a été générée à partir du fichier suivant :