classes/phing/types/selectors/ExtendSelector.php
public function isSelected(PhingFile $basedir, $filename, PhingFile $file)
    {
        $this->validate();

        if (count($this->parameters) > 0 && $this->dynselector instanceof ExtendFileSelector) {
            // We know that dynselector must be non-null if no error message
            $this->dynselector->setParameters($this->parameters);
        }

        return $this->dynselector->isSelected($basedir, $filename, $file);
    }
public function isSelected(PhingFile $basedir, $filename, PhingFile $file)
    {
        $this->validate();

        if (count($this->parameters) > 0 && $this->dynselector instanceof ExtendFileSelector) {
            // We know that dynselector must be non-null if no error message
            $this->dynselector->setParameters($this->parameters);
        }

        return $this->dynselector->isSelected($basedir, $filename, $file);
    }
public function isSelected ( PhingFile $ basedir , $ filename , PhingFile $ file ) { $ this -> validate ( ) ; if ( count ( $ this -> parameters ) > 0 && $ this -> dynselector instanceof ExtendFileSelector ) { // We know that dynselector must be non-null if no error message $ this -> dynselector -> setParameters ( $ this -> parameters ) ; } return $ this -> dynselector -> 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.

@param  PhingFile $basedir
@param  string $filename The filename
@param  PhingFile $file
@return bool
@throws BuildException
Allows the custom selector to choose whether to select a file . This is also where the Parameters are passed to the custom selector .