JGithubPackageIssuesLabels
class JGithubPackageIssuesLabels extends JGithubPackage
GitHub API Milestones class for the Joomla Platform.
Methods
array
getList(
string $owner,
string $repo)
Method to get the list of labels on a repo.
object
get(
string $user,
string $repo,
string $name)
Method to get a specific label on a repo.
object
create(
string $owner,
string $repo,
string $name,
string $color)
Method to create a label on a repo.
object
update(
string $user,
string $repo,
string $label,
string $name,
string $color)
Method to update a label on a repo.
object
delete(
string $owner,
string $repo,
string $name)
Method to delete a label on a repo.
object
getListByIssue(
string $owner,
string $repo,
integer $number)
List labels on an issue.
object
add(
string $owner,
string $repo,
string $number,
array $labels)
Add labels to an issue.
object
removeFromIssue(
string $owner,
string $repo,
string $number,
string $name)
Remove a label from an issue.
object
replace(
string $owner,
string $repo,
string $number,
array $labels)
Replace all labels for an issue.
object
removeAllFromIssue(
string $owner,
string $repo,
string $number)
No description
object
getListByMilestone(
string $owner,
string $repo,
string $number)
Get labels for every issue in a milestone.
Details
object
create(
string $owner,
string $repo,
string $name,
string $color)
Method to create a label on a repo.
object
update(
string $user,
string $repo,
string $label,
string $name,
string $color)
Method to update a label on a repo.
object
removeFromIssue(
string $owner,
string $repo,
string $number,
string $name)
Remove a label from an issue.
object
replace(
string $owner,
string $repo,
string $number,
array $labels)
Replace all labels for an issue.
Sending an empty array ([]) will remove all Labels from the Issue.