PHP Класс Horde_Vcs_File_Git, horde

Copyright 2008-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Chuck Hagenbuch ([email protected])
Автор: Michael Slusarz ([email protected])
Наследование: extends Horde_Vcs_File_Base
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_driver string The current driver.
$_revlist array The master list of revisions for this file.

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

Метод Описание
getBranch ( string $rev ) : array Returns all branches that contain a certain revision.
getBranchList ( ) TODO
getBranches ( ) TODO
getHashForRevision ( string $rev ) : string Get the hash name for this file at a specific revision.
getLastLog ( ) : Horde_Vcs_QuickLog_Git Returns a log object for the most recent log entry of this file.
getLog ( $rev = null ) TODO
getPath ( ) : string Return the "base" filename (i.e. the filename needed by the various command line utilities).
getPreviousRevision ( string $rev ) : string Returns the revision before the specified revision.
getRevision ( ) : string Returns the last revision of the current file on the HEAD branch.
getTags ( ) TODO
revisionCount ( ) TODO

Защищенные методы

Метод Описание
_init ( )

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

_init() защищенный Метод

protected _init ( )

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

Returns all branches that contain a certain revision.
public getBranch ( string $rev ) : array
$rev string A revision.
Результат array A list of branches with this revision.

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

TODO
public getBranchList ( )

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

TODO
public getBranches ( )

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

Get the hash name for this file at a specific revision.
public getHashForRevision ( string $rev ) : string
$rev string Revision string.
Результат string Commit hash.

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

Returns a log object for the most recent log entry of this file.
public getLastLog ( ) : Horde_Vcs_QuickLog_Git
Результат Horde_Vcs_QuickLog_Git Log object of the last entry in the file.

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

TODO
public getLog ( $rev = null )

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

Return the "base" filename (i.e. the filename needed by the various command line utilities).
public getPath ( ) : string
Результат string A filename.

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

Returns the revision before the specified revision.
public getPreviousRevision ( string $rev ) : string
$rev string A revision.
Результат string The previous revision or null if the first revision.

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

Returns the last revision of the current file on the HEAD branch.
public getRevision ( ) : string
Результат string Last revision of the current file.

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

TODO
public getTags ( )

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

TODO
public revisionCount ( )

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

$_driver защищенное свойство

The current driver.
protected string $_driver
Результат string

$_revlist защищенное свойство

The master list of revisions for this file.
protected array $_revlist
Результат array