Class JGithubPackagePulls
GitHub API Pull Requests class for the Joomla Platform.
- JGithubObject
- JGithubPackage
- JGithubPackagePulls
Package: Joomla\Platform\GitHub
Deprecated: 4.0 Use the
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.3
Documentation: https://developer.github.com/v3/pulls
Located at joomla/github/package/pulls.php
Deprecated: 4.0 Use the
joomla/github
package via Composer insteadCopyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.3
Documentation: https://developer.github.com/v3/pulls
Located at joomla/github/package/pulls.php
Methods summary
public
object
|
|
public
object
|
#
createFromIssue( string $user, string $repo, integer $issueId, string $base, string $head )
Method to create a pull request from an existing issue. |
public
object
|
|
public
object
|
|
public
array
|
#
getCommits( string $user, string $repo, integer $pullId, integer $page = 0, integer $limit = 0 )
Method to get a list of commits for a pull request. |
public
array
|
|
public
array
|
|
public
boolean
|
|
public
object
|
|
public
object
|
#
createComment( string $user, string $repo, integer $pullId, string $body, string $commitId, string $filePath, string $position )
Method to create a comment on a pull request. |
public
object
|
#
createCommentReply( string $user, string $repo, integer $pullId, string $body, integer $inReplyTo )
Method to create a comment in reply to another comment. |
public
|
#
deleteComment( string $user, string $repo, integer $commentId )
Method to delete a comment on a pull request. |
public
object
|
#
editComment( string $user, string $repo, integer $commentId, string $body )
Method to update a comment on a pull request. |
public
object
|
#
getComment( string $user, string $repo, integer $commentId )
Method to get a specific comment on a pull request. |
public
array
|
#
getComments( string $user, string $repo, integer $pullId, integer $page = 0, integer $limit = 0 )
Method to get the list of comments on a pull request. |
Methods inherited from JGithubPackage
Methods inherited from JGithubObject
__construct()
,
fetchUrl()
,
processResponse()
Magic methods summary
Properties summary
protected
string
|
$name | |
protected
array
|
$packages |
Properties inherited from JGithubObject
Magic properties
public read-only
|
$comments |
|
#
GitHub API object for comments. |