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

Class: PEAR_PackageFileManager_Perforce

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

Class Overview

PEAR_PackageFileManager_Plugins
   |
   --PEAR_PackageFileManager_File
      |
      --PEAR_PackageFileManager_Perforce

Generate a file list from a Perforce 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 37]
Generate a file list from a Perforce checkout.

This requires the 'p4' command line client, a properly-configured Perforce environment, and a connection to the Perforce server. Specifically, the 'p4 have' command is used to determine which local files are under Perforce's control.



[ Top ]


Method Detail

dirList   [line 47]

mixed dirList( string $directory)

Build a list of files based on the output of the 'p4 have' command.
  • Return: An array of full filenames or a PEAR_Error value if $directory does not exist.

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

Parameters:

string   $directory   —  The directory in which to list the files.

[ Top ]


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