util/PearPackageScanner.php

Show: inherited
Table of Contents

Part of phing, the PHP build tool

PHP version 5

Author
Christian Weiske  
Category
Util  
License
LGPL v3 or later http://www.gnu.org/licenses/lgpl.html  
Link
https://gitorious.org/phing/pearPackageFileSet  
Package
phing.util  
Version
SVN: $Id: PearPackageScanner.php 1359 2011-11-01 21:52:28Z mrook $  

\PearPackageScanner

Package: phing\util

Scans for files in a PEAR package.

Parent(s)
\DirectoryScanner
Author
Christian Weiske  
Category
Util  
License
LGPL v3 or later http://www.gnu.org/licenses/lgpl.html  
Link
https://gitorious.org/phing/pearPackageFileSet  

Properties

Propertyprotected  $channel= ''pear.php.net''
Default value'pear.php.net'Details
Type
n/a
Propertyprotected  $config= ''
Details
Type
n/a
Propertyprotected  $package= ''
Details
Type
n/a
Propertyprotected  $packageInfo= ''
Details
Type
n/a
Propertyprotected  $role= ''php''
Default value'php'Details
Type
n/a

Methods

methodpublicaddDefaultExcludes( ) : void

methodprotectedcouldHoldIncluded( ) : void

methodpublicgetBasedir( ) : void

methodpublicgetDeselectedDirectories( ) : void

methodpublicgetDeselectedFiles( ) : void

methodpublicgetExcludedDirectories( ) : void

methodpublicgetExcludedFiles( ) : void

methodpublicgetIncludedDirectories( ) : void

methodpublicgetIncludedFiles( ) : void

methodpublicgetNotIncludedDirectories( ) : void

methodpublicgetNotIncludedFiles( ) : void

methodprotectedinit( ) : void

Loads the package information.

Details
Uses
\$packageInfo  
methodpublicisEverythingIncluded( ) : void

methodprotectedisExcluded( ) : void

methodprotectedisIncluded( ) : void

methodprotectedisSelected( ) : void

methodpubliclistDir( ) : void

methodprotectedloadPackageInfo( ) : \PEAR_PackageFile_v2

Loads and returns the PEAR package information.

Returns
Type Description
\PEAR_PackageFile_v2 Package information object
Throws
Exception Description
\BuildException When the package does not exist
methodpublicmatch( ) : void

methodpublicmatchPath( ) : void

methodpublicmatchPatternStart( ) : void

methodpublicscan( ) : boolean

Generates the list of included files and directories

Returns
Type Description
boolean True if all went well, false if something was wrong
Details
Uses
\$filesIncluded  
Uses
\$filesDeselected  
Uses
\$filesNotIncluded  
Uses
\$filesExcluded  
Uses
\$everythingIncluded  
Uses
\$dirsIncluded  
Uses
\$dirsDeselected  
Uses
\$dirsNotIncluded  
Uses
\$dirsExcluded  
methodpublicsetBasedir( ) : void

methodpublicsetCaseSensitive( ) : void

methodpublicsetChannel( string $channel ) : void

Sets the name of the package channel name

Parameters
Name Type Description
$channel string

package channel name or alias

methodpublicsetConfig( string $config ) : void

Sets the full path to the PEAR configuration file

Parameters
Name Type Description
$config string

Configuration file

methodpublicsetExcludes( ) : void

methodpublicsetExpandSymbolicLinks( ) : void

methodpublicsetIncludes( ) : void

methodpublicsetPackage( string $package ) : void

Sets the name of the PEAR package to get the files from

Parameters
Name Type Description
$package string

Package name without channel

methodpublicsetSelectors( ) : void

methodprotectedslowScan( ) : void

Documentation was generated by DocBlox 0.17.1.