classes/phing/util/DirectoryScanner.php
protected function isIncluded($_name)
    {
        for ($i = 0, $_i = count($this->includes); $i < $_i; $i++) {
            if ($this->matchPath($this->includes[$i], $_name, $this->isCaseSensitive)) {
                return true;
            }
        }

        return false;
    }
protected function isIncluded($_name)
    {
        for ($i = 0, $_i = count($this->includes); $i < $_i; $i++) {
            if ($this->matchPath($this->includes[$i], $_name, $this->isCaseSensitive)) {
                return true;
            }
        }

        return false;
    }
protected function isIncluded ( $ _name ) { for ( $ i = 0 , $ _i = count ( $ this -> includes ) ; $ i < $ _i ; $ i ++ ) { if ( $ this -> matchPath ( $ this -> includes [ $ i ] , $ _name , $ this -> isCaseSensitive ) ) { return true ; } } return false ; }
Tests whether a name matches against at least one include pattern.

@param  string $_name the name to match
@return bool <code>true</code> when the name matches against at least one
Tests whether a name matches against at least one include pattern .