|
| get ($user) |
|
| getAuthenticatedUser () |
|
| edit ($name='', $email='', $blog='', $company='', $location='', $hireable='', $bio='') |
|
| getList ($since=0) |
|
| getUser ($user) |
|
| updateUser ($name='', $email='', $blog='', $company='', $location='', $hireable='', $bio='') |
|
| getUsers ($since=0) |
|
| __get ($name) |
|
| __construct (Registry $options=null, JGithubHttp $client=null) |
|
GitHub API References class for the Joomla Platform.
https://developer.github.com/v3/users
- Depuis
- 3.1.4
- Obsolète:
- 4.0 Use the
joomla/github
package via Composer instead
◆ edit()
edit |
( |
|
$name = '' , |
|
|
|
$email = '' , |
|
|
|
$blog = '' , |
|
|
|
$company = '' , |
|
|
|
$location = '' , |
|
|
|
$hireable = '' , |
|
|
|
$bio = '' |
|
) |
| |
Update a user.
- Paramètres
-
string | $name | The full name |
string | $email | The email |
string | $blog | The blog |
string | $company | The company |
string | $location | The location |
string | $hireable | If he is unemployed :P |
string | $bio | The biometrical DNA fingerprint (or something...) |
- Exceptions
-
- Renvoie
- mixed
Références $data, $location, $name, $path, et json_encode.
◆ get()
Get a single user.
- Paramètres
-
string | $user | The users login name. |
- Exceptions
-
- Renvoie
- object
Références $path, et $user.
◆ getAuthenticatedUser()
Get the current authenticated user.
- Exceptions
-
- Renvoie
- mixed
Références $path.
◆ getList()
Get all users.
This provides a dump of every user, in the order that they signed up for GitHub.
- Paramètres
-
integer | $since | The integer ID of the last User that you’ve seen. |
- Exceptions
-
- Renvoie
- mixed
Références $path.
◆ getUser()
Get a single user.
- Paramètres
-
string | $user | The users login name. |
- Obsolète:
- use users->get()
- Exceptions
-
- Renvoie
- mixed
Références $user.
◆ getUsers()
Get all users.
This provides a dump of every user, in the order that they signed up for GitHub.
- Paramètres
-
integer | $since | The integer ID of the last User that you’ve seen. |
- Obsolète:
- use users->getList()
- Exceptions
-
- Renvoie
- mixed
◆ updateUser()
updateUser |
( |
|
$name = '' , |
|
|
|
$email = '' , |
|
|
|
$blog = '' , |
|
|
|
$company = '' , |
|
|
|
$location = '' , |
|
|
|
$hireable = '' , |
|
|
|
$bio = '' |
|
) |
| |
Update a user.
- Paramètres
-
string | $name | The full name |
string | $email | The email |
string | $blog | The blog |
string | $company | The company |
string | $location | The location |
string | $hireable | If he is unemployed :P |
string | $bio | The biometrical DNA fingerprint (or something...) |
- Obsolète:
- use users->edit()
- Exceptions
-
- Renvoie
- mixed
Références $location, $name, et edit.
◆ $name
◆ $packages
$packages = array('emails', 'followers', 'keys') |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :