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
파일 보기 프로젝트 열기: rsms/gitblog 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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