PEAR_PackageFileManager_Plugins
[ class tree: PEAR_PackageFileManager_Plugins ] [ index: PEAR_PackageFileManager_Plugins ] [ all elements ]

Class: PEAR_PackageFileManager_Svn

Source Location: /PEAR_PackageFileManager_Plugins-1.0.2/PackageFileManager/Svn.php

Class Overview

PEAR_PackageFileManager_Plugins
   |
   --PEAR_PackageFileManager_File
      |
      --PEAR_PackageFileManager_Svn

Generate a file list from a Subversion checkout


Author(s):

Version:

  • Release: 1.0.2

Copyright:

  • 2005-2009 The PEAR Group

Methods


Inherited Variables

Inherited Methods

Class: PEAR_PackageFileManager_File

PEAR_PackageFileManager_File::PEAR_PackageFileManager_File()
Set up the File filelist generator
PEAR_PackageFileManager_File::dirList()
Retrieve a listing of every file in $directory and all subdirectories.
PEAR_PackageFileManager_File::getFileList()
Generate the <filelist></filelist> section of the package file.

Class: PEAR_PackageFileManager_Plugins

PEAR_PackageFileManager_Plugins::raiseError()
Utility function to shorten error generation code
PEAR_PackageFileManager_Plugins::setOptions()
Merge a new set of options (as an array) to the currently set options

Class Details

[line 40]
Generate a file list from a Subversion checkout

Largely based on the CVS class, modified to suit subversion organization.

Note that this will NOT work on a repository, only on a checked out Subversion module



[ Top ]


Method Detail

PEAR_PackageFileManager_Svn (Constructor)   [line 42]

PEAR_PackageFileManager_Svn PEAR_PackageFileManager_Svn( $options)


Parameters:

   $options   — 

[ Top ]

dirList   [line 66]

array dirList( string $directory)

Return a list of all files in the SVN repository

This function is like parent::dirList() except that instead of retrieving a regular filelist, it first retrieves a listing of all the .svn/entries files in $directory and all of the subdirectories. Then, it reads the entries file, and creates a listing of files that are a part of the Subversion checkout. No check is made to see if they have been modified, but removed files are ignored.

  • Return: list of files in a directory
  • Access: protected
  • Uses: _recurDirList()
  • Uses: _readSVNEntries()

Overrides PEAR_PackageFileManager_File::dirList() (Retrieve a listing of every file in $directory and all subdirectories.)

Parameters:

string   $directory   —  full path to the directory you want the list of

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:43:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.