classes/phing/types/selectors/ExtendSelector.php

Selector that selects files by forwarding the request on to other classes.

TODO - Consider adding Path (phing.types.Path) support to this class and to the Mappers class. See Ant versions for implimentation details.

author
Hans Lellelid (Phing)
author
Bruce Atherton (Ant)
package
phing.types.selectors

\ExtendSelector

Selector that selects files by forwarding the request on to other classes.

TODO - Consider adding Path (phing.types.Path) support to this class and to the Mappers class. See Ant versions for implimentation details.

Extends from
\BaseSelector
author
Hans Lellelid (Phing)
author
Bruce Atherton (Ant)
package
phing.types.selectors
version
$Revision: 526 $

Properties

Propertyprivate  $classname= ''
Details
Type
Propertyprivate  $dynselector= ''
Details
Type
Propertyprivate  $parameters= 'array'
Default valuearrayDetails
Type

Methods

methodpublic  addParam( \p $p ) :
Create new parameters to pass to custom selector.
Parameters
Name Type Description
$p \p The new Parameter object
methodpublic  isSelected(  $basedir,  $filename,  $file ) :
Allows the custom selector to choose whether to select a file. This is also where the Parameters are passed to the custom selector.
Parameters
Name Type Description
$basedir
$filename
$file
Details
throws
methodpublic  selectorCreate( ) :
Instantiates the identified custom selector class.
methodpublic  setClassname( \classname $classname ) :
Sets the classname of the custom selector.
Parameters
Name Type Description
$classname \classname is the class which implements this selector
methodpublic  verifySettings( ) :
These are errors specific to ExtendSelector only. If there are errors in the custom selector, it should throw a BuildException when isSelected() is called.
Documentation was generated by DocBlox 0.13.1.