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 JGithubPackageRepositoriesKeys
+ Graphe d'héritage de JGithubPackageRepositoriesKeys:

Fonctions membres publiques

 getList ($owner, $repo)
 
 get ($owner, $repo, $id)
 
 create ($owner, $repo, $title, $key)
 
 edit ($owner, $repo, $id, $title, $key)
 
 delete ($owner, $repo, $id)
 
- 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 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

Documentation des fonctions membres

◆ create()

create (   $owner,
  $repo,
  $title,
  $key 
)

Create a key.

Paramètres
string$ownerThe name of the owner of the GitHub repository.
string$repoThe name of the GitHub repository.
string$titleThe key title.
string$keyThe 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$ownerThe name of the owner of the GitHub repository.
string$repoThe name of the GitHub repository.
integer$idThe 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$ownerThe name of the owner of the GitHub repository.
string$repoThe name of the GitHub repository.
integer$idThe id of the key.
string$titleThe key title.
string$keyThe 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$ownerThe name of the owner of the GitHub repository.
string$repoThe name of the GitHub repository.
integer$idThe 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$ownerThe name of the owner of the GitHub repository.
string$repoThe 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 :