Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
getList ($user, $repo, $state= 'open', $sort= 'due_date', $direction= 'desc', $page=0, $limit=0) | |
get ($user, $repo, $milestoneId) | |
create ($user, $repo, $title, $state=null, $description=null, $due_on=null) | |
edit ($user, $repo, $milestoneId, $title=null, $state=null, $description=null, $due_on=null) | |
delete ($user, $repo, $milestoneId) | |
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 milestones.php.
JGithubMilestones::create | ( | $user, | |
$repo, | |||
$title, | |||
$state = null , |
|||
$description = null , |
|||
$due_on = null |
|||
) |
Method to create a milestone for a repository.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $title | The title of the milestone. |
string | $state | Can be open (default) or closed. |
string | $description | Optional description for milestone. |
string | $due_on | Optional ISO 8601 time. |
Définition à la ligne 103 du fichier milestones.php.
JGithubMilestones::delete | ( | $user, | |
$repo, | |||
$milestoneId | |||
) |
Method to delete a milestone.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $milestoneId | The id of the milestone to delete. |
Définition à la ligne 214 du fichier milestones.php.
JGithubMilestones::edit | ( | $user, | |
$repo, | |||
$milestoneId, | |||
$title = null , |
|||
$state = null , |
|||
$description = null , |
|||
$due_on = null |
|||
) |
Method to update a milestone.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $milestoneId | The id of the comment to update. |
integer | $title | Optional title of the milestone. |
string | $state | Can be open (default) or closed. |
string | $description | Optional description for milestone. |
string | $due_on | Optional ISO 8601 time. |
Définition à la ligne 159 du fichier milestones.php.
JGithubMilestones::get | ( | $user, | |
$repo, | |||
$milestoneId | |||
) |
Method to get a specific milestone.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
integer | $milestoneId | The milestone id to get. |
Définition à la ligne 70 du fichier milestones.php.
JGithubMilestones::getList | ( | $user, | |
$repo, | |||
$state = 'open' , |
|||
$sort = 'due_date' , |
|||
$direction = 'desc' , |
|||
$page = 0 , |
|||
$limit = 0 |
|||
) |
Method to get the list of milestones for a repo.
string | $user | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $state | The milestone state to retrieved. Open (default) or closed. |
string | $sort | Sort can be due_date (default) or completeness. |
string | $direction | Direction is asc or desc (default). |
integer | $page | The page number from which to get items. |
integer | $limit | The number of items on a page. |
Définition à la ligne 36 du fichier milestones.php.