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
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

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