Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
create ($user, $repo, $title, $body=null, $assignee=null, $milestone=null, array $labels=null) | |
createComment ($user, $repo, $issueId, $body) | |
createLabel ($user, $repo, $name, $color) | |
deleteComment ($user, $repo, $commentId) | |
deleteLabel ($user, $repo, $label) | |
edit ($user, $repo, $issueId, $state=null, $title=null, $body=null, $assignee=null, $milestone=null, array $labels=null) | |
editComment ($user, $repo, $commentId, $body) | |
editLabel ($user, $repo, $label, $name, $color) | |
get ($user, $repo, $issueId) | |
getComment ($user, $repo, $commentId) | |
getComments ($user, $repo, $issueId, $page=0, $limit=0) | |
getLabel ($user, $repo, $name) | |
getLabels ($user, $repo) | |
getList ($filter=null, $state=null, $labels=null, $sort=null, $direction=null, JDate $since=null, $page=0, $limit=0) | |
getListByRepository ($user, $repo, $milestone=null, $state=null, $assignee=null, $mentioned=null, $labels=null, $sort=null, $direction=null, JDate $since=null, $page=0, $limit=0) | |
Fonctions membres publiques inherited from JGithubObject | |
__construct (JRegistry $options=null, JGithubHttp $client=null) |
Additional Inherited Members | |
Fonctions membres protégées inherited from JGithubObject | |
fetchUrl ($path, $page=0, $limit=0) | |
processResponse (JHttpResponse $response, $expectedCode=200) | |
Attributs protégés inherited from JGithubObject | |
$options | |
$client |
Définition à la ligne 19 du fichier issues.php.
JGithubIssues::create | ( | $user, | |
$repo, | |||
$title, | |||
$body = null , |
|||
$assignee = null , |
|||
$milestone = null , |
|||
array | $labels = null |
||
) |
Method to create an issue.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $title | The title of the new issue. |
string | $body | The body text for the new issue. |
string | $assignee | The login for the GitHub user that this issue should be assigned to. |
integer | $milestone | The milestone to associate this issue with. |
array | $labels | The labels to associate with this issue. |
Définition à la ligne 36 du fichier issues.php.
JGithubIssues::createComment | ( | $user, | |
$repo, | |||
$issueId, | |||
$body | |||
) |
Method to create a comment on an issue.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $issueId | The issue number. |
string | $body | The comment body text. |
Définition à la ligne 84 du fichier issues.php.
JGithubIssues::createLabel | ( | $user, | |
$repo, | |||
$name, | |||
$color | |||
) |
Method to create a label on a repo.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $name | The label name. |
string | $color | The label color. |
Définition à la ligne 122 du fichier issues.php.
JGithubIssues::deleteComment | ( | $user, | |
$repo, | |||
$commentId | |||
) |
Method to delete a comment on an issue.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $commentId | The id of the comment to delete. |
Définition à la ligne 160 du fichier issues.php.
JGithubIssues::deleteLabel | ( | $user, | |
$repo, | |||
$label | |||
) |
Method to delete a label on a repo.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $label | The label name. |
Définition à la ligne 188 du fichier issues.php.
JGithubIssues::edit | ( | $user, | |
$repo, | |||
$issueId, | |||
$state = null , |
|||
$title = null , |
|||
$body = null , |
|||
$assignee = null , |
|||
$milestone = null , |
|||
array | $labels = null |
||
) |
Method to update an issue.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $issueId | The issue number. |
string | $state | The optional new state for the issue. [open, closed] |
string | $title | The title of the new issue. |
string | $body | The body text for the new issue. |
string | $assignee | The login for the GitHub user that this issue should be assigned to. |
integer | $milestone | The milestone to associate this issue with. |
array | $labels | The labels to associate with this issue. |
Définition à la ligne 222 du fichier issues.php.
JGithubIssues::editComment | ( | $user, | |
$repo, | |||
$commentId, | |||
$body | |||
) |
Method to update a comment on an issue.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $commentId | The id of the comment to update. |
string | $body | The new body text for the comment. |
Définition à la ligne 301 du fichier issues.php.
JGithubIssues::editLabel | ( | $user, | |
$repo, | |||
$label, | |||
$name, | |||
$color | |||
) |
Method to update a label on a repo.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $label | The label name. |
string | $name | The label name. |
string | $color | The label color. |
Définition à la ligne 340 du fichier issues.php.
JGithubIssues::get | ( | $user, | |
$repo, | |||
$issueId | |||
) |
Method to get a single issue.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $issueId | The issue number. |
Définition à la ligne 378 du fichier issues.php.
JGithubIssues::getComment | ( | $user, | |
$repo, | |||
$commentId | |||
) |
Method to get a specific comment on an issue.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $commentId | The comment id to get. |
Définition à la ligne 408 du fichier issues.php.
JGithubIssues::getComments | ( | $user, | |
$repo, | |||
$issueId, | |||
$page = 0 , |
|||
$limit = 0 |
|||
) |
Method to get the list of comments on an issue.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $issueId | The issue number. |
integer | $page | The page number from which to get items. |
integer | $limit | The number of items on a page. |
Définition à la ligne 440 du fichier issues.php.
JGithubIssues::getLabel | ( | $user, | |
$repo, | |||
$name | |||
) |
Method to get a specific label on a repo.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $name | The label name to get. |
Définition à la ligne 470 du fichier issues.php.
JGithubIssues::getLabels | ( | $user, | |
$repo | |||
) |
Method to get the list of labels on a repo.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
Définition à la ligne 499 du fichier issues.php.
JGithubIssues::getList | ( | $filter = null , |
|
$state = null , |
|||
$labels = null , |
|||
$sort = null , |
|||
$direction = null , |
|||
JDate | $since = null , |
||
$page = 0 , |
|||
$limit = 0 |
|||
) |
Method to list an authenticated user's issues.
string | $filter | The filter type: assigned, created, mentioned, subscribed. |
string | $state | The optional state to filter requests by. [open, closed] |
string | $labels | The list of comma separated Label names. Example: bug,ui,. |
string | $sort | The sort order: created, updated, comments, default: created. |
string | $direction | The list direction: asc or desc, default: desc. |
JDate | $since | The date/time since when issues should be returned. |
integer | $page | The page number from which to get items. |
integer | $limit | The number of items on a page. |
Définition à la ligne 534 du fichier issues.php.
JGithubIssues::getListByRepository | ( | $user, | |
$repo, | |||
$milestone = null , |
|||
$state = null , |
|||
$assignee = null , |
|||
$mentioned = null , |
|||
$labels = null , |
|||
$sort = null , |
|||
$direction = null , |
|||
JDate | $since = null , |
||
$page = 0 , |
|||
$limit = 0 |
|||
) |
Method to list issues.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $milestone | The milestone number, 'none', or *. |
string | $state | The optional state to filter requests by. [open, closed] |
string | $assignee | The assignee name, 'none', or *. |
string | $mentioned | The GitHub user name. |
string | $labels | The list of comma separated Label names. Example: bug,ui,. |
string | $sort | The sort order: created, updated, comments, default: created. |
string | $direction | The list direction: asc or desc, default: desc. |
JDate | $since | The date/time since when issues should be returned. |
integer | $page | The page number from which to get items. |
integer | $limit | The number of items on a page. |
Définition à la ligne 575 du fichier issues.php.