SelectorContainer

Extends

This is the interface for selectors that can contain other selectors.

author

Bruce Atherton

package

phing.types.selectors

Methods

add an "And" selector entry on the selector list

addAnd(\AndSelector $selector) 

Arguments

$selector

\AndSelector

add a contains selector entry on the selector list

addContains(\ContainsSelector $selector) 

Arguments

$selector

\ContainsSelector

add a contains selector entry on the selector list

addContainsRegexp(\ContainsRegexpSelector $selector) 

Arguments

add an extended selector entry on the selector list

addCustom(\ExtendSelector $selector) 

Arguments

$selector

\ExtendSelector

add a selector date entry on the selector list

addDate(\DateSelector $selector) 

Arguments

$selector

\DateSelector

add a depends selector entry on the selector list

addDepend(\DependSelector $selector) 

Arguments

$selector

\DependSelector

add a depth selector entry on the selector list

addDepth(\DepthSelector $selector) 

Arguments

$selector

\DepthSelector

add a different selector entry on the selector list

addDifferent(\DifferentSelector $selector) 

Arguments

$selector

\DifferentSelector

add a executable selector entry on the selector list

addExecutable(\ExecutableSelector $selector) 

Arguments

add a selector filename entry on the selector list

addFilename(\FilenameSelector $selector) 

Arguments

$selector

\FilenameSelector

add a majority selector entry on the selector list

addMajority(\MajoritySelector $selector) 

Arguments

$selector

\MajoritySelector

add a "None" selector entry on the selector list

addNone(\NoneSelector $selector) 

Arguments

$selector

\NoneSelector

add a "Not" selector entry on the selector list

addNot(\NotSelector $selector) 

Arguments

$selector

\NotSelector

add an "Or" selector entry on the selector list

addOr(\OrSelector $selector) 

Arguments

$selector

\OrSelector

add a present selector entry on the selector list

addPresent(\PresentSelector $selector) 

Arguments

$selector

\PresentSelector

add a readable selector entry on the selector list

addReadable(\ReadableSelector $selector) 

Arguments

$selector

\ReadableSelector

add a "Select" selector entry on the selector list

addSelector(\SelectSelector $selector) 

Arguments

$selector

\SelectSelector

add a selector size entry on the selector list

addSize(\SizeSelector $selector) 

Arguments

$selector

\SizeSelector

add a type selector entry on the selector list

addType(\TypeSelector $selector) 

Arguments

$selector

\TypeSelector

add a writable selector entry on the selector list

addWritable(\WritableSelector $selector) 

Arguments

$selector

\WritableSelector

Add a new selector into this container.

appendSelector(\FileSelector $selector) : \FileSelector

Arguments

$selector

\FileSelector

the new selector to add

Response

\FileSelector

the selector that was added

Returns a *copy* of the set of selectors as an array.

getSelectors(\Project $p) : array<mixed,\BaseSelectorContainer>

Arguments

Response

array<mixed,\BaseSelectorContainer>

an array of selectors in this container

Indicates whether there are any selectors here.

hasSelectors() : boolean

Response

boolean

whether any selectors are in this container

Gives the count of the number of selectors in this container

selectorCount() : integer

Response

integer

the number of selectors in this container

Returns an array for accessing the set of selectors.

selectorElements() : array<mixed,\BaseSelectorContainer>

Response

array<mixed,\BaseSelectorContainer>

an enumerator that goes through each of the selectors