PHP Класс Horde_Vcs_Directory_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])
Автор: Jan Schneider ([email protected])
Наследование: extends Horde_Vcs_Directory_Base
Показать файл Открыть проект

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

Свойство Тип Описание
$_branch string The current branch.

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

Метод Описание
__construct ( Horde_Vcs_Base $rep, string $dn, array $opts = [] ) Constructor.
getBranches ( ) : array Returns a list of all branches in this directory.

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

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

Constructor.
public __construct ( Horde_Vcs_Base $rep, string $dn, array $opts = [] )
$rep Horde_Vcs_Base A repository object.
$dn string Path to the directory.
$opts array Any additional options: - 'rev': (string) Generate directory list for a certain branch or revision.

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

Returns a list of all branches in this directory.
public getBranches ( ) : array
Результат array A branch list.

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

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

The current branch.
protected string $_branch
Результат string