Class VC_Directory_svn

Description

VC_svn directory class.

Copyright Anil Madhavapeddy, <anil@recoil.org>

Located in /VC/VC/svn.php (line 284)


	
			
Variable Summary
 mixed $atticFiles
 mixed $dirName
 mixed $dirs
 mixed $files
 mixed $mergedFiles
 mixed $moduleName
 mixed $parent
 mixed $rep
Method Summary
 VC_Directory_svn VC_Directory_svn ( $rep, string $dn, [VC_Directory_svn $pn = ''], VC_Repository_svn $rp)
 void applySort ([$how $how = VC_SORT_NONE], [$dir $dir = VC_SORT_ASCENDING])
 PEAR_Error browseDir ([ $cache = null], [ $quicklog = true], [ $showattic = false])
 void doFileSort ( &$fileList, [ $how = VC_SORT_NONE], [ $dir = VC_SORT_ASCENDING])
 void fileAgeSort ( $a,  $b)
 void fileAuthorSort ( $a,  $b)
 void fileNameSort ( $a,  $b)
 void fileRevSort ( $a,  $b)
 Pathname queryDir ()
 void &queryDirList ()
 void &queryFileList ([ $showattic = false])
Variables
mixed $atticFiles (line 289)
mixed $dirName (line 287)
mixed $dirs (line 291)
mixed $files (line 288)
mixed $mergedFiles (line 290)
mixed $moduleName (line 293)
mixed $parent (line 292)
mixed $rep (line 286)
Methods
Constructor VC_Directory_svn (line 304)

Create a SVN Directory object to store information about the files in a single directory in the repository

VC_Directory_svn VC_Directory_svn ( $rep, string $dn, [VC_Directory_svn $pn = ''], VC_Repository_svn $rp)
  • VC_Repository_svn $rp: The VC_Repository object this directory is part of.
  • string $dn: Path to the directory.
  • VC_Directory_svn $pn: The parent VC_Directory to this one.
  • $rep
applySort (line 397)

Sort the contents of the directory in a given fashion and order.

void applySort ([$how $how = VC_SORT_NONE], [$dir $dir = VC_SORT_ASCENDING])
  • $how $how: Of the form VC_SORT_* where * can be: NONE, NAME, AGE, REV for sorting by name, age or revision.
  • $dir $dir: Of the form VC_SORT_* where * can be: ASCENDING, DESCENDING for the order of the sort.
browseDir (line 346)

Tell the object to open and browse its current directory, and retrieve a list of all the objects in there. It then populates the file/directory stack and makes it available for retrieval.

  • return: object on an error, 1 on success.
PEAR_Error browseDir ([ $cache = null], [ $quicklog = true], [ $showattic = false])
  • $cache
  • $quicklog
  • $showattic
doFileSort (line 420)
void doFileSort ( &$fileList, [ $how = VC_SORT_NONE], [ $dir = VC_SORT_ASCENDING])
  • &$fileList
  • $how
  • $dir
fileAgeSort (line 448)

Sort function for ascending age.

void fileAgeSort ( $a,  $b)
  • $a
  • $b
fileAuthorSort (line 462)

Sort function by author name.

void fileAuthorSort ( $a,  $b)
  • $a
  • $b
fileNameSort (line 476)

Sort function for ascending filename.

void fileNameSort ( $a,  $b)
  • $a
  • $b
fileRevSort (line 484)

Sort function for ascending revision.

void fileRevSort ( $a,  $b)
  • $a
  • $b
queryDir (line 320)

Return fully qualified pathname to this directory with no trailing /.

  • return: of this directory
Pathname queryDir ()
queryDirList (line 325)
void &queryDirList ()
queryFileList (line 330)
void &queryFileList ([ $showattic = false])
  • $showattic

Documentation generated on Sun, 30 Jan 2011 05:22:29 +0000 by phpDocumentor 1.4.3