[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/tasks/system/ -> MatchingTask.php (sommaire)

This is an abstract task that should be used by all those tasks that require to include or exclude files based on pattern matching. This is very closely based on the ANT class of the same name.

Author: Hans Lellelid <hans@xmpl.org> (Phing)
Author: Arnout J. Kuiper <ajkuiper@wxs.nl> (Ant)
Author: Stefano Mazzocchi <stefano@apache.org> (Ant)
Author: Sam Ruby <rubys@us.ibm.com> (Ant)
Author: Jon S. Stevens <jon@clearink.com> (Ant
Author: Stefan Bodewig <stefan.bodewig@epost.de> (Ant)
Author: Bruce Atherton <bruce@callenish.com> (Ant)
Version: $Revision: 1.4 $
Poids: 361 lignes (10 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 35 fonctions

  __construct()
  setProject()
  createInclude()
  createIncludesFile()
  createExclude()
  createExcludesFile()
  createPatternSet()
  setIncludes()
  setExcludes()
  setDefaultexcludes()
  getDirectoryScanner()
  setIncludesfile()
  setExcludesfile()
  setCaseSensitive()
  setFollowSymlinks()
  hasSelectors()
  selectorCount()
  getSelectors()
  selectorElements()
  appendSelector()
  createSelector()
  createAnd()
  createOr()
  createNot()
  createNone()
  createMajority()
  createDate()
  createSize()
  createFilename()
  createCustom()
  createContains()
  createPresent()
  createDepth()
  createDepend()
  getImplicitFileSet()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

__construct()   X-Ref
Create instance; set fileset to new FileSet.


setProject(Project $project)   X-Ref


createInclude()   X-Ref
add a name entry on the include list

return: PatternSetNameEntry

createIncludesFile()   X-Ref
add a name entry on the include files list

return: PatternSetNameEntry

createExclude()   X-Ref
add a name entry on the exclude list

return: PatternSetNameEntry

createExcludesFile()   X-Ref
add a name entry on the include files list

return: PatternSetNameEntry

createPatternSet()   X-Ref
add a set of patterns

return: PatternSet

setIncludes($includes)   X-Ref
Sets the set of include patterns. Patterns may be separated by a comma
or a space.

param: string $includes the string containing the include patterns
return: void

setExcludes($excludes)   X-Ref
Sets the set of exclude patterns. Patterns may be separated by a comma
or a space.

param: string $excludes the string containing the exclude patterns

setDefaultexcludes($useDefaultExcludes)   X-Ref
Sets whether default exclusions should be used or not.

param: boolean $useDefaultExcludes "true"|"on"|"yes" when default exclusions

getDirectoryScanner(PhingFile $baseDir)   X-Ref
Returns the directory scanner needed to access the files to process.

return: DirectoryScanner

setIncludesfile(PhingFile $includesfile)   X-Ref
Sets the name of the file containing the includes patterns.

param: PhingFile $includesfile A string containing the filename to fetch
return: void

setExcludesfile(PhingFile $excludesfile)   X-Ref
Sets the name of the file containing the includes patterns.

param: PhingFile $excludesfile A string containing the filename to fetch
return: void

setCaseSensitive($isCaseSensitive)   X-Ref
Sets case sensitivity of the file system

param: boolean $isCaseSensitive "true"|"on"|"yes" if file system is case
return: void

setFollowSymlinks($followSymlinks)   X-Ref
Sets whether or not symbolic links should be followed.

param: boolean $followSymlinks whether or not symbolic links should be followed
return: void

hasSelectors()   X-Ref
Indicates whether there are any selectors here.

return: boolean Whether any selectors are in this container

selectorCount()   X-Ref
Gives the count of the number of selectors in this container

return: int The number of selectors in this container

getSelectors(Project $p)   X-Ref
Returns the set of selectors as an array.

return: array FileSelector[] An array of selectors in this container

selectorElements()   X-Ref
Returns an enumerator for accessing the set of selectors.

return: an enumerator that goes through each of the selectors

appendSelector(FileSelector $selector)   X-Ref
Add a new selector into this container.

param: FileSelector $selector the new selector to add
return: void

createSelector()   X-Ref
add a "Select" selector entry on the selector list

return: SelectSelector

createAnd()   X-Ref
add an "And" selector entry on the selector list

return: AndSelector

createOr()   X-Ref
add an "Or" selector entry on the selector list

return: void

createNot()   X-Ref
add a "Not" selector entry on the selector list

return: NotSelector

createNone()   X-Ref
add a "None" selector entry on the selector list

return: NoneSelector

createMajority()   X-Ref
add a majority selector entry on the selector list

return: MajoritySelector

createDate()   X-Ref
add a selector date entry on the selector list

return: DateSelector

createSize()   X-Ref
add a selector size entry on the selector list

return: SizeSelector

createFilename()   X-Ref
add a selector filename entry on the selector list

return: FilenameSelector

createCustom()   X-Ref
add an extended selector entry on the selector list

return: ExtendSelector

createContains()   X-Ref
add a contains selector entry on the selector list

return: ContainsSelector

createPresent()   X-Ref
add a present selector entry on the selector list

return: PresentSelector

createDepth()   X-Ref
add a depth selector entry on the selector list

return: DepthSelector

createDepend()   X-Ref
add a depends selector entry on the selector list

return: DependSelector

getImplicitFileSet()   X-Ref
Accessor for the implict fileset.

return: FileSet



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7