classes/phing/types/FileList.php
public function getFiles(Project $p)
    {
        if ($this->isReference()) {
            $ret = $this->getRef($p);
            $ret = $ret->getFiles($p);

            return $ret;
        }

        if ($this->listfile !== null) {
            $this->readListFile($p);
        }

        return $this->filenames;
    }
public function getFiles(Project $p)
    {
        if ($this->isReference()) {
            $ret = $this->getRef($p);
            $ret = $ret->getFiles($p);

            return $ret;
        }

        if ($this->listfile !== null) {
            $this->readListFile($p);
        }

        return $this->filenames;
    }
public function getFiles ( Project $ p ) { if ( $ this -> isReference ( ) ) { $ ret = $ this -> getRef ( $ p ) ; $ ret = $ ret -> getFiles ( $ p ) ; return $ ret ; } if ( $ this -> listfile !== null ) { $ this -> readListFile ( $ p ) ; } return $ this -> filenames ; }
Returns the list of files represented by this FileList.

@param  Project $p
@return array
Returns the list of files represented by this FileList .