Class JGithubPackageRepositoriesComments
	
	
GitHub API Repositories Comments class for the Joomla Platform.
	 
	
		- 
			JGithubObject
			
			
			
		
- 
			 JGithubPackage JGithubPackage
- 
			 JGithubPackageRepositoriesComments JGithubPackageRepositoriesComments
Methods summary
		
		
			| 
				 public 
				array
				
				 | 
			#
			getListRepository( string $user, string $repo, integer $page = 0, integer $limit = 0 )
				
Method to get a list of commit comments for a repository. 
				
Method to get a list of commit comments for a repository. Parameters
						$userstring- $user The name of the owner of the GitHub repository.$repostring- $repo The name of the GitHub repository.$pageinteger- $page Page to request$limitinteger- $limit Number of results to return per pageReturns
						array
 Since
							12.1
 | 
		
			| 
				 public 
				array
				
				 | 
			#
			getList( string $user, string $repo, string $sha, integer $page = 0, integer $limit = 0 )
				
Method to get a list of comments for a single commit for a repository. 
				
Method to get a list of comments for a single commit for a repository. Parameters
						$userstring- $user The name of the owner of the GitHub repository.$repostring- $repo The name of the GitHub repository.$shastring- $sha The SHA of the commit to retrieve.$pageinteger- $page Page to request$limitinteger- $limit Number of results to return per pageReturns
						array
 Since
							12.1
 | 
		
			| 
				 public 
				array
				
				 | 
			#
			get( string $user, string $repo, integer $id )
				
Method to get a single comment on a commit. 
				
Method to get a single comment on a commit. Parameters
						$userstring- $user The name of the owner of the GitHub repository.$repostring- $repo The name of the GitHub repository.$idinteger- $id ID of the comment to retrieveReturns
						array
 Since
							12.1
 | 
		
			| 
				 public 
				object
				
				 | 
			#
			edit( string $user, string $repo, string $id, string $comment )
				
Method to edit a comment on a commit. 
				
Method to edit a comment on a commit. Parameters
						$userstring- $user The name of the owner of the GitHub repository.$repostring- $repo The name of the GitHub repository.$idstring- $id The ID of the comment to edit.$commentstring- $comment The text of the comment.Returns
						object
 Since
							12.1
 | 
		
			| 
				 public 
				object
				
				 | 
			#
			delete( string $user, string $repo, string $id )
				
Method to delete a comment on a commit. 
				
Method to delete a comment on a commit. Parameters
						$userstring- $user The name of the owner of the GitHub repository.$repostring- $repo The name of the GitHub repository.$idstring- $id The ID of the comment to edit.Returns
						object
 Since
							12.1
 | 
		
			| 
				 public 
				object
				
				 | 
			#
			create( string $user, string $repo, string $sha, string $comment, integer $line, string $filepath, integer $position )
				
Method to create a comment on a commit. 
				
Method to create a comment on a commit. Parameters
						$userstring- $user The name of the owner of the GitHub repository.$repostring- $repo The name of the GitHub repository.$shastring- $sha The SHA of the commit to comment on.$commentstring- $comment The text of the comment.$lineinteger- $line The line number of the commit to comment on.$filepathstring- $filepath A relative path to the file to comment on within the commit.$positioninteger- $position Line index in the diff to comment on.Returns
						object
 Since
							12.1
 | 
		
		
		
			__get()
		
		
		
			__construct(), 
			fetchUrl(), 
			processResponse()
		
		Magic methods summary
		Properties summary
		
		
			$name, 
			$packages
		
		
		
			$client, 
			$options