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.
Автор: Anil Madhavapeddy ([email protected])
Автор: Michael Slusarz ([email protected])
Автор: Jan Schneider ([email protected])
Наследование: extends Horde_Vcs_Directory_Rcs
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$_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.

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

__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: - 'showattic': (boolean) Parse any Attic/ sub-directory contents too.

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

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.

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

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

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

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