PHP 클래스 Horde_Vcs_Directory_Cvs, horde
Copyright 2000-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.
파일 보기
프로젝트 열기: horde/horde
1 사용 예제들
보호된 프로퍼티들
프로퍼티 |
타입 |
설명 |
|
$_mergedFiles |
array |
A list of Horde_Vcs_File_Base objects representing all files inside this
and any Attic/ sub directory. |
|
공개 메소드들
메소드 |
설명 |
|
__construct ( Horde_Vcs_Base $rep, string $dn, array $opts = [] ) |
Constructor. |
|
applySort ( integer $how = Horde_Vcs::SORT_NONE, integer $dir = Horde_Vcs::SORT_ASCENDING ) |
Sorts the the directory contents. |
|
getBranches ( ) : array |
Returns a list of all branches in this directory. |
|
getFiles ( $showdeleted = false ) : array |
Returns a list of all files inside this directory. |
|
메소드 상세
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:
- 'showattic': (boolean) Parse any Attic/
sub-directory contents too. |
Sorts the the directory contents.
public applySort ( integer $how = Horde_Vcs::SORT_NONE, integer $dir = Horde_Vcs::SORT_ASCENDING ) |
$how |
integer |
A Horde_Vcs::SORT_* constant where * can be:
NONE, NAME, AGE, REV for sorting by name, age or
revision. |
$dir |
integer |
A Horde_Vcs::SORT_* constant where * can be:
ASCENDING, DESCENDING for the order of the sort. |
Returns a list of all branches in this directory.
Returns a list of all files inside this directory.
public getFiles ( $showdeleted = false ) : array |
리턴 |
array |
A list of Horde_Vcs_File_Base objects. |
프로퍼티 상세
$_mergedFiles 보호되어 있는 프로퍼티
A list of Horde_Vcs_File_Base objects representing all files inside this
and any Attic/ sub directory.
protected array $_mergedFiles |
리턴 |
array |
|