Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe JGithubPackageRepositoriesCollaborators
+ Graphe d'héritage de JGithubPackageRepositoriesCollaborators:

Fonctions membres publiques

 getList ($owner, $repo)
 
 get ($owner, $repo, $user)
 
 add ($owner, $repo, $user)
 
 remove ($owner, $repo, $user)
 
- Fonctions membres publiques hérités de JGithubPackage
 __get ($name)
 
- Fonctions membres publiques hérités de JGithubObject
 __construct (Registry $options=null, JGithubHttp $client=null)
 

Membres hérités additionnels

- Fonctions membres protégées hérités de JGithubObject
 fetchUrl ($path, $page=0, $limit=0)
 
 processResponse (JHttpResponse $response, $expectedCode=200, $decode=true)
 
- Attributs protégés hérités de JGithubPackage
 $name = ''
 
 $packages = array()
 
- Attributs protégés hérités de JGithubObject
 $options
 
 $client
 

Description détaillée

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

Documentation des fonctions membres

◆ add()

add (   $owner,
  $repo,
  $user 
)

Add collaborator.

Paramètres
string$ownerThe name of the owner of the GitHub repository.
string$repoThe name of the GitHub repository.
string$userThe 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$ownerThe name of the owner of the GitHub repository.
string$repoThe name of the GitHub repository.
string$userThe name of the GitHub user.
Exceptions
UnexpectedValueException
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$ownerThe name of the owner of the GitHub repository.
string$repoThe 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$ownerThe name of the owner of the GitHub repository.
string$repoThe name of the GitHub repository.
string$userThe 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 :