concrete/src/File/Set/Set.php
public function getFiles()
    {
        if (!$this->fileSetFiles) {
            $this->populateFiles();
        }
        $files = array();
        foreach ($this->fileSetFiles as $file) {
            $files[] = ConcreteFile::getByID($file->fID);
        }

        return $files;
    }
public function getFiles()
    {
        if (!$this->fileSetFiles) {
            $this->populateFiles();
        }
        $files = array();
        foreach ($this->fileSetFiles as $file) {
            $files[] = ConcreteFile::getByID($file->fID);
        }

        return $files;
    }
public function getFiles ( ) { if ( ! $ this -> fileSetFiles ) { $ this -> populateFiles ( ) ; } $ files = array ( ) ; foreach ( $ this -> fileSetFiles as $ file ) { $ files [ ] = ConcreteFile :: getByID ( $ file -> fID ) ; } return $ files ; }
Returns an array of File objects from the current set.

@return ConcreteFile[]
Returns an array of File objects from the current set .