concrete/src/Legacy/FileList.php
public function get($itemsToGet = 0, $offset = 0)
    {
        $files = array();
        $this->createQuery();
        $r = parent::get($itemsToGet, $offset);
        foreach ($r as $row) {
            $f = ConcreteFile::getByID($row['fID']);
            $files[] = $f;
        }

        return $files;
    }
public function get($itemsToGet = 0, $offset = 0)
    {
        $files = array();
        $this->createQuery();
        $r = parent::get($itemsToGet, $offset);
        foreach ($r as $row) {
            $f = ConcreteFile::getByID($row['fID']);
            $files[] = $f;
        }

        return $files;
    }
public function get ( $ itemsToGet = 0 , $ offset = 0 ) { $ files = array ( ) ; $ this -> createQuery ( ) ; $ r = parent :: get ( $ itemsToGet , $ offset ) ; foreach ( $ r as $ row ) { $ f = ConcreteFile :: getByID ( $ row [ 'fID' ] ) ; $ files [ ] = $ f ; } return $ files ; }
Returns an array of file objects based on current settings.
Returns an array of file objects based on current settings .