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

Fonctions membres publiques

 getList ($owner, $repo)
 
 getRepositories ($user='')
 
 check ($owner, $repo)
 
 star ($owner, $repo)
 
 unstar ($owner, $repo)
 
- 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 Activity Events class for the Joomla Platform.

https://developer.github.com/v3/activity/starring/

Depuis
3.3 (CMS)
Obsolète:
4.0 Use the joomla/github package via Composer instead

Documentation des fonctions membres

◆ check()

check (   $owner,
  $repo 
)

Check if you are starring a repository.

Requires for the user to be authenticated.

Paramètres
string$ownerRepository owner.
string$repoRepository name.
Exceptions
UnexpectedValueException
Depuis
3.3 (CMS)
Renvoie
object

Références $path.

◆ getList()

getList (   $owner,
  $repo 
)

List Stargazers.

Paramètres
string$ownerRepository owner.
string$repoRepository name.
Depuis
3.3 (CMS)
Renvoie
mixed

Références $path.

◆ getRepositories()

getRepositories (   $user = '')

List repositories being starred.

List repositories being starred by a user.

Paramètres
string$userUser name.
Depuis
3.3 (CMS)
Renvoie
object

Références $path, et $user.

◆ star()

star (   $owner,
  $repo 
)

Star a repository.

Requires for the user to be authenticated.

Paramètres
string$ownerRepository owner.
string$repoRepository name.
Depuis
3.3 (CMS)
Renvoie
object

Références $path.

◆ unstar()

unstar (   $owner,
  $repo 
)

Unstar a repository.

Requires for the user to be authenticated.

Paramètres
string$ownerRepository owner.
string$repoRepository name.
Depuis
3.3 (CMS)
Renvoie
object

Références $path.


La documentation de cette classe a été générée à partir du fichier suivant :