types/selectors/SelectSelector.php
This selector just holds one other selector and forwards all requests to it. It exists so that there is a single selector type that can exist outside of any targets, as an element of project. It overrides all of the reference stuff so that it works as expected. Note that this is the only selector you can reference.
- Author
- Hans Lellelid
(Phing) - Author
- Bruce Atherton
(Ant) - Package
- phing.types.selectors
- Version
- $Revision: 526 $
\SelectSelector
This selector just holds one other selector and forwards all requests to it. It exists so that there is a single selector type that can exist outside of any targets, as an element of project. It overrides all of the reference stuff so that it works as expected. Note that this is the only selector you can reference.
- Parent(s)
- \AndSelector < \BaseSelectorContainer < \BaseSelector < \DataType < \ProjectComponent
- Author
- Hans Lellelid
(Phing) - Author
- Bruce Atherton
(Ant) - Version
- $Revision: 526 $
Methods

appendSelector(
\selector $selector
)
:
\theAdd a new selector into this container.
| Name | Type | Description |
|---|---|---|
| $selector | \selector | the new selector to add |
| Type | Description |
|---|---|
| \the | selector that was added |

createContainsRegexp(
)
:
void
getSelectors(
$p
)
:
voidReturns the set of selectors as an array.
| Name | Type | Description |
|---|---|---|
| $p |

isSelected(
\basedir $basedir, \filename $filename, \file $file
)
:
\whetherReturns true (the file is selected) only if all other selectors agree that the file should be selected.
Inherited from: \AndSelector::isSelected()| Name | Type | Description |
|---|---|---|
| $basedir | \basedir | the base directory the scan is being done from |
| $filename | \filename | the name of the file to check |
| $file | \file | a PhingFile object for the filename that the selector can use |
| Type | Description |
|---|---|
| \whether | the file should be selected or not |