GitHub API Orgs Members class for the Joomla Platform.
https://developer.github.com/v3/orgs/members/
- Depuis
- 3.1.4
- Obsolète:
- 4.0 Use the
joomla/github
package via Composer instead
◆ check()
Check membership.
Check if a user is, publicly or privately, a member of the organization.
- Paramètres
-
string | $org | The name of the organization. |
string | $user | The name of the user. |
- Exceptions
-
- Depuis
- 3.3 (CMS)
- Renvoie
- boolean
Références $path, et $user.
◆ checkPublic()
checkPublic |
( |
|
$org, |
|
|
|
$user |
|
) |
| |
Check public membership.
- Paramètres
-
string | $org | The name of the organization. |
string | $user | The name of the user. |
- Exceptions
-
- Depuis
- 3.3 (CMS)
- Renvoie
- object
Références $path, et $user.
◆ conceal()
Conceal a user’s membership.
- Paramètres
-
string | $org | The name of the organization. |
string | $user | The name of the user. |
- Depuis
- 3.3 (CMS)
- Renvoie
- object
Références $path, et $user.
◆ getList()
Members list.
List all users who are members of an organization. A member is a user that belongs to at least 1 team in the organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. If the requester is not a member of the organization the query will be redirected to the public members list.
- Paramètres
-
string | $org | The name of the organization. |
- Exceptions
-
- Depuis
- 3.3 (CMS)
- Renvoie
- boolean|mixed
Références $path.
◆ getListPublic()
Public members list.
Members of an organization can choose to have their membership publicized or not.
- Paramètres
-
string | $org | The name of the organization. |
- Depuis
- 3.3 (CMS)
- Renvoie
- object
Références $path.
◆ publicize()
publicize |
( |
|
$org, |
|
|
|
$user |
|
) |
| |
Publicize a user’s membership.
- Paramètres
-
string | $org | The name of the organization. |
string | $user | The name of the user. |
- Depuis
- 3.3 (CMS)
- Renvoie
- object
Références $path, et $user.
◆ remove()
Add a member.
To add someone as a member to an org, you must add them to a team. Remove a member.
Removing a user from this list will remove them from all teams and they will no longer have any access to the organization’s repositories.
- Paramètres
-
string | $org | The name of the organization. |
string | $user | The name of the 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 :