types/selectors/SelectSelector.php

Show: inherited
Table of Contents

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

Package: phing\types\selectors

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

methodpublicappendSelector( \selector $selector ) : \the

Add a new selector into this container.

Parameters
Name Type Description
$selector \selector

the new selector to add

Returns
Type Description
\the selector that was added
methodpubliccircularReference( ) : void
methodpubliccreateAnd( ) : void
methodpubliccreateContains( ) : void
methodpubliccreateContainsRegexp( ) : void
methodpubliccreateCustom( ) : void
methodpubliccreateDate( ) : void
methodpubliccreateDepend( ) : void
methodpubliccreateDepth( ) : void
methodpubliccreateFilename( ) : void
methodpubliccreateMajority( ) : void
methodpubliccreateNone( ) : void
methodpubliccreateNot( ) : void
methodpubliccreateOr( ) : void
methodpubliccreatePresent( ) : void
methodpubliccreateSelector( ) : void
methodpubliccreateSize( ) : void
methodpubliccreateType( ) : void
methodpublicdieOnCircularReference( ) : void
methodpublicgetCheckedRef( ) : void
methodpublicgetDescription( ) : void
methodpublicgetError( ) : void
methodpublicgetProject( ) : void
methodprivategetRef( ) : void

Performs the check for circular references and returns the referenced Selector.

methodpublicgetSelectors(  $p ) : void

Returns the set of selectors as an array.

Parameters
Name Type Description
$p
methodpublichasSelectors( ) : void

Indicates whether there are any selectors here.

methodpublicisReference( ) : void
methodpublicisSelected( \basedir $basedir, \filename $filename, \file $file ) : \whether
inherited

Returns true (the file is selected) only if all other selectors agree that the file should be selected.

Inherited from: \AndSelector::isSelected()
Parameters
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

Returns
Type Description
\whether the file should be selected or not
methodpubliclog( ) : void
inherited

Inherited from: ProjectComponent::log()\AndSelector::log()
methodpublicnoChildrenAllowed( ) : void
methodpublicparsingComplete( ) : void
methodpublicselectorCount( ) : void

Gives the count of the number of selectors in this container

methodpublicselectorElements( ) : void

Returns an enumerator for accessing the set of selectors.

methodpublicsetDescription( ) : void
methodpublicsetError( ) : void
methodpublicsetProject( ) : void
methodpublicsetRefid( ) : void
methodpublictoString( ) : void

methodpublictooManyAttributes( ) : void
methodpublicvalidate( ) : void
methodpublicverifySettings( ) : void

Makes sure that there is only one entry, sets an error message if not.

Documentation was generated by DocBlox 0.17.1.