![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de JGithubPackageDataCommits:Fonctions membres publiques | |
| get ($owner, $repo, $sha) | |
| create ($owner, $repo, $message, $tree, array $parents=array()) | |
Fonctions membres publiques hérités de JGithubPackage | |
| __get ($name) | |
Fonctions membres publiques hérités de JGithubObject | |
| __construct (Registry $options=null, JGithubHttp $client=null) | |
Membres hérités additionnels | |
Fonctions membres protégées hérités de JGithubObject | |
| fetchUrl ($path, $page=0, $limit=0) | |
| processResponse (JHttpResponse $response, $expectedCode=200, $decode=true) | |
Attributs protégés hérités de JGithubPackage | |
| $name = '' | |
| $packages = array() | |
Attributs protégés hérités de JGithubObject | |
| $options | |
| $client | |
GitHub API Data Commits class for the Joomla Platform.
https://developer.github.com/v3/git/commits/
| create | ( | $owner, | |
| $repo, | |||
| $message, | |||
| $tree, | |||
| array | $parents = array() |
||
| ) |
Method to create a commit.
| string | $owner | The name of the owner of the GitHub repository. |
| string | $repo | The name of the GitHub repository. |
| string | $message | The commit message. |
| string | $tree | SHA of the tree object this commit points to. |
| array | $parents | Array of the SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided. For a merge commit, an array of more than one should be provided. |
| DomainException |
Références $data, $message, $path, et json_encode.
| get | ( | $owner, | |
| $repo, | |||
| $sha | |||
| ) |
Get a single commit.
| string | $owner | The name of the owner of the GitHub repository. |
| string | $repo | The name of the GitHub repository. |
| string | $sha | The commit SHA. |
Références $path.