JGithubPackageGists
class JGithubPackageGists extends JGithubPackage
GitHub API Gists class for the Joomla Platform.
Methods
Method to create a gist.
Method to delete a gist.
Method to update a gist.
Method to fork a gist.
Method to get a single gist.
Method to list gists. If a user is authenticated it will return the user's gists, otherwise it will return all public gists.
Method to get a list of gists belonging to a given user.
Method to get a list of all public gists.
Method to get a list of the authenticated users' starred gists.
Method to check if a gist has been starred.
Method to star a gist.
Method to star a gist.
Method to create a comment on a gist.
Method to delete a comment on a gist.
Method to update a comment on a gist.
Method to get a specific comment on a gist.
Method to get the list of comments on a gist.
Details
object
create(
mixed $files,
boolean $public = false,
string $description = null)
Method to create a gist.
object
edit(
integer $gistId,
mixed $files = null,
boolean $public = null,
string $description = null)
Method to update a gist.
array
getList(
integer $page,
integer $limit)
Method to list gists. If a user is authenticated it will return the user's gists, otherwise it will return all public gists.
array
getListByUser(
string $user,
integer $page,
integer $limit)
Method to get a list of gists belonging to a given user.