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

Fonctions membres publiques

 getList ($owner, $repo)
 
 getRepositories ($user='')
 
 getSubscription ($owner, $repo)
 
 setSubscription ($owner, $repo, $subscribed, $ignored)
 
 deleteSubscription ($owner, $repo)
 
 check ($owner, $repo)
 
 watch ($owner, $repo)
 
 unwatch ($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 Watching Events class for the Joomla Platform.

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

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 watching a repository (LEGACY).

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.

◆ deleteSubscription()

deleteSubscription (   $owner,
  $repo 
)

Delete a Repository Subscription.

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

Références $path.

◆ getList()

getList (   $owner,
  $repo 
)

List watchers

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

Références $path.

◆ getRepositories()

getRepositories (   $user = '')

List repositories being watched.

List repositories being watched by a user.

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

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

◆ getSubscription()

getSubscription (   $owner,
  $repo 
)

Get a Repository Subscription.

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

Références $path.

◆ setSubscription()

setSubscription (   $owner,
  $repo,
  $subscribed,
  $ignored 
)

Set a Repository Subscription.

Paramètres
string$ownerRepository owner.
string$repoRepository name.
boolean$subscribedDetermines if notifications should be received from this thread.
boolean$ignoredDetermines if all notifications should be blocked from this thread.
Depuis
3.3 (CMS)
Renvoie
object

Références $data, $path, et json_encode.

◆ unwatch()

unwatch (   $owner,
  $repo 
)

Stop watching a repository (LEGACY).

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.

◆ watch()

watch (   $owner,
  $repo 
)

Watch a repository (LEGACY).

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 :