Liste de tous les membres
Fonctions membres publiques |
| create ($user, $repo, $ref, $sha) |
| edit ($user, $repo, $ref, $sha, $force=false) |
| get ($user, $repo, $ref) |
| getList ($user, $repo, $namespace= '', $page=0, $limit=0) |
| __construct (JRegistry &$options=null, JGithubHttp $client=null) |
Documentation des fonctions membres
JGithubRefs::create |
( |
|
$user, |
|
|
|
$repo, |
|
|
|
$ref, |
|
|
|
$sha |
|
) |
| |
Method to create an issue.
- Paramètres:
-
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $ref | The name of the fully qualified reference. |
string | $sha | The SHA1 value to set this reference to. |
- Renvoie:
- object
- Depuis:
- 11.3
Références $data, $path, et $user.
JGithubRefs::edit |
( |
|
$user, |
|
|
|
$repo, |
|
|
|
$ref, |
|
|
|
$sha, |
|
|
|
$force = false |
|
) |
| |
Method to update a reference.
- Paramètres:
-
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $ref | The reference to update. |
string | $sha | The SHA1 value to set the reference to. |
string | $force | Whether the update should be forced. Default to false. |
- Renvoie:
- object
- Depuis:
- 11.3
Références $data, $path, et $user.
JGithubRefs::get |
( |
|
$user, |
|
|
|
$repo, |
|
|
|
$ref |
|
) |
| |
Method to get a reference.
- Paramètres:
-
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $ref | The reference to get. |
- Renvoie:
- object
- Depuis:
- 11.3
Références $path, et $user.
JGithubRefs::getList |
( |
|
$user, |
|
|
|
$repo, |
|
|
|
$namespace = '' , |
|
|
|
$page = 0 , |
|
|
|
$limit = 0 |
|
) |
| |
Method to list references for a repository.
- Paramètres:
-
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $namespace | Optional sub-namespace to limit the returned references. |
integer | $page | Page to request |
integer | $limit | Number of results to return per page |
- Renvoie:
- array
- Depuis:
- 11.3
Références $limit, $path, et $user.
La documentation de cette classe a été générée à partir du fichier suivant :