PHP Класс GitCommit, gitblog

The Array access allows manipulation of the tree inside the commit
Автор: The Young Shepherd
Наследование: extends GitObject, implements ArrayAccess, implements IteratorAggregate, implements Countable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$authorDate
$authorEmail
$authorName
$comitterDate
$comitterEmail # GBDateTime
$comitterName
$fields
$files
$id
$logFormat
$message # GBDateTime
$previousFiles # array example: array(GitPatch::CREATE => array('file1', 'file3'), GitPatch::DELETE => array('file2'))
$tree

Открытые методы

Метод Описание
authorUser ( $default = null ) Tries to resolve author as a GBUser
committerUser ( ) Tries to resolve committer as a GBUser
find ( $kwargs = null ) Returns array($commits, $existing, $ntoc)
loadPatches ( $paths = null ) Load a set of GitPatch objects for this commit, optionally restricting to patches affecting $paths
rawPatch ( $paths = null )

Описание методов

authorUser() публичный Метод

Tries to resolve author as a GBUser
public authorUser ( $default = null )

committerUser() публичный Метод

Tries to resolve committer as a GBUser
public committerUser ( )

find() статический публичный Метод

Returns array($commits, $existing, $ntoc)
static public find ( $kwargs = null )

loadPatches() публичный Метод

Load a set of GitPatch objects for this commit, optionally restricting to patches affecting $paths
public loadPatches ( $paths = null )

rawPatch() публичный Метод

public rawPatch ( $paths = null )

Описание свойств

$authorDate публичное свойство

public $authorDate

$authorEmail публичное свойство

public $authorEmail

$authorName публичное свойство

public $authorName

$comitterDate публичное свойство

public $comitterDate

$comitterEmail публичное свойство

# GBDateTime
public $comitterEmail

$comitterName публичное свойство

public $comitterName

$fields публичное статическое свойство

public static $fields

$files публичное свойство

public $files

$id публичное свойство

public $id

$logFormat публичное статическое свойство

public static $logFormat

$message публичное свойство

# GBDateTime
public $message

$previousFiles публичное свойство

# array example: array(GitPatch::CREATE => array('file1', 'file3'), GitPatch::DELETE => array('file2'))
public $previousFiles

$tree публичное свойство

public $tree