Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
get ($owner, $repo, $sha) | |
create ($owner, $repo, $tag, $message, $object, $type, $taggerName, $taggerEmail, $taggerDate) | |
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 Tags class for the Joomla Platform.
This tags API only deals with tag objects - so only annotated tags, not lightweight tags.
https://developer.github.com/v3/git/tags/
create | ( | $owner, | |
$repo, | |||
$tag, | |||
$message, | |||
$object, | |||
$type, | |||
$taggerName, | |||
$taggerEmail, | |||
$taggerDate | |||
) |
Create a Tag Object
Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then create the refs/tags/[tag] reference. If you want to create a lightweight tag, you simply have to create the reference - this call would be unnecessary.
string | $owner | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $tag | The tag string. |
string | $message | The tag message. |
string | $object | The SHA of the git object this is tagging. |
string | $type | The type of the object we’re tagging. Normally this is a commit but it can also be a tree or a blob. |
string | $taggerName | The name of the author of the tag. |
string | $taggerEmail | The email of the author of the tag. |
string | $taggerDate | Timestamp of when this object was tagged. |
Références $data, $message, $path, $type, et json_encode.
get | ( | $owner, | |
$repo, | |||
$sha | |||
) |
Get a Tag.
string | $owner | The name of the owner of the GitHub repository. |
string | $repo | The name of the GitHub repository. |
string | $sha | The SHA1 value to set the reference to. |
Références $path.