Overview

Packages

  • None
  • Vcs

Classes

  • Horde_Vcs
  • Horde_Vcs_Base
  • Horde_Vcs_Cvs
  • Horde_Vcs_Directory_Base
  • Horde_Vcs_Directory_Cvs
  • Horde_Vcs_Directory_Git
  • Horde_Vcs_Directory_Rcs
  • Horde_Vcs_Directory_Svn
  • Horde_Vcs_File_Base
  • Horde_Vcs_File_Cvs
  • Horde_Vcs_File_Git
  • Horde_Vcs_File_Rcs
  • Horde_Vcs_File_Svn
  • Horde_Vcs_Git
  • Horde_Vcs_Log_Base
  • Horde_Vcs_Log_Cvs
  • Horde_Vcs_Log_Git
  • Horde_Vcs_Log_Rcs
  • Horde_Vcs_Log_Svn
  • Horde_Vcs_Patchset
  • Horde_Vcs_Patchset_Base
  • Horde_Vcs_Patchset_Cvs
  • Horde_Vcs_Patchset_Git
  • Horde_Vcs_Patchset_Svn
  • Horde_Vcs_QuickLog_Base
  • Horde_Vcs_QuickLog_Cvs
  • Horde_Vcs_QuickLog_Git
  • Horde_Vcs_QuickLog_Rcs
  • Horde_Vcs_QuickLog_Svn
  • Horde_Vcs_Rcs
  • Horde_Vcs_Svn
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Vcs_Directory_Cvs

CVS directory class that stores information about the files in a single directory in the repository.

Copyright 2000-2012 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_Vcs_Directory_Base
Extended by Horde_Vcs_Directory_Rcs
Extended by Horde_Vcs_Directory_Cvs
Package: Vcs
Author: Anil Madhavapeddy anil@recoil.org
Author: Michael Slusarz slusarz@horde.org
Author: Jan Schneider jan@horde.org
Located at Horde/Vcs/Directory/Cvs.php
Methods summary
public
# __construct( Horde_Vcs_Base $rep, string $dn, array $opts = array() )

Constructor.

Constructor.

Parameters

$rep
A repository object.
$dn
Path to the directory.
$opts
<p>Any additional options: - 'showattic': (boolean) Parse any Attic/ sub-directory contents too.</p>

Throws

Horde_Vcs_Exception

Overrides

Horde_Vcs_Directory_Rcs::__construct()
public array
# getFiles( mixed $showdeleted = false )

Returns a list of all files inside this directory.

Returns a list of all files inside this directory.

Returns

array
A list of Horde_Vcs_File_Base objects.

Overrides

Horde_Vcs_Directory_Base::getFiles()
public
# applySort( integer $how = Horde_Vcs::SORT_NONE, integer $dir = Horde_Vcs::SORT_ASCENDING )

Sorts the the directory contents.

Sorts the the directory contents.

Parameters

$how
<p>A Horde_Vcs::SORT_* constant where * can be: NONE, NAME, AGE, REV for sorting by name, age or revision.</p>
$dir
<p>A Horde_Vcs::SORT_* constant where * can be: ASCENDING, DESCENDING for the order of the sort.</p>

Overrides

Horde_Vcs_Directory_Base::applySort()
public array
# getBranches( )

Returns a list of all branches in this directory.

Returns a list of all branches in this directory.

Returns

array
A branch list.

Overrides

Horde_Vcs_Directory_Base::getBranches()
Methods inherited from Horde_Vcs_Directory_Base
_fileAgeSort(), _fileAuthorSort(), _fileNameSort(), _fileRevSort(), getDirectories()
API documentation generated by ApiGen