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é
|
Fonctions membres publiques | |
getList ($all=true, $participating=true, JDate $since=null) | |
getListRepository ($owner, $repo, $all=true, $participating=true, JDate $since=null) | |
markRead ($unread=true, $read=true, JDate $lastReadAt=null) | |
markReadRepository ($owner, $repo, $unread, $read, JDate $lastReadAt=null) | |
viewThread ($id) | |
markReadThread ($id, $unread=true, $read=true) | |
getThreadSubscription ($id) | |
setThreadSubscription ($id, $subscribed, $ignored) | |
deleteThreadSubscription ($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 | |
GitHub API Activity Events class for the Joomla Platform.
https://developer.github.com/v3/activity/notifications/
deleteThreadSubscription | ( | $id | ) |
List your notifications.
List all notifications for the current user, grouped by repository.
boolean | $all | True to show notifications marked as read. |
boolean | $participating | True to show only notifications in which the user is directly participating or mentioned. |
JDate | $since | filters out any notifications updated before the given time. The time should be passed in as UTC in the ISO 8601 format. |
Références $path.
List your notifications in a repository.
List all notifications for the current user.
string | $owner | Repository owner. |
string | $repo | Repository name. |
boolean | $all | True to show notifications marked as read. |
boolean | $participating | True to show only notifications in which the user is directly participating or mentioned. |
JDate | $since | filters out any notifications updated before the given time. The time should be passed in as UTC in the ISO 8601 format. |
Références $path.
getThreadSubscription | ( | $id | ) |
Mark as read.
Marking a notification as “read” removes it from the default view on GitHub.com.
boolean | $unread | Changes the unread status of the threads. |
boolean | $read | Inverse of “unread”. |
JDate | $lastReadAt | Describes the last point that notifications were checked. Anything updated since this time will not be updated. Default: Now. Expected in ISO 8601 format. |
Références $data, $path, $unread, et json_encode.
markReadRepository | ( | $owner, | |
$repo, | |||
$unread, | |||
$read, | |||
JDate | $lastReadAt = null |
||
) |
Mark notifications as read in a repository.
Marking all notifications in a repository as “read” removes them from the default view on GitHub.com.
string | $owner | Repository owner. |
string | $repo | Repository name. |
boolean | $unread | Changes the unread status of the threads. |
boolean | $read | Inverse of “unread”. |
JDate | $lastReadAt | Describes the last point that notifications were checked. Anything updated since this time will not be updated. Default: Now. Expected in ISO 8601 format. |
Références $data, $path, $unread, et json_encode.
Mark a thread as read.
integer | $id | The thread id. |
boolean | $unread | Changes the unread status of the threads. |
boolean | $read | Inverse of “unread”. |
Références $data, $id, $path, $unread, et json_encode.
setThreadSubscription | ( | $id, | |
$subscribed, | |||
$ignored | |||
) |
Set a Thread Subscription.
This lets you subscribe to a thread, or ignore it. Subscribing to a thread is unnecessary if the user is already subscribed to the repository. Ignoring a thread will mute all future notifications (until you comment or get ).
integer | $id | The thread id. |
boolean | $subscribed | Determines if notifications should be received from this thread. |
boolean | $ignored | Determines if all notifications should be blocked from this thread. |
Références $data, $id, $path, et json_encode.
viewThread | ( | $id | ) |