public function RecentFiles() {
		$records = File::get()
			->filter(array(
				'ClassName:not' => 'Folder'
			))
			->sort("LastEdited DESC")
			->limit($this->Count);
		$set = ArrayList::create(array());
		foreach($records as $r) {
			$set->push(ArrayData::create(array(
				'EditLink' => Injector::inst()->get("AssetAdmin")->Link("EditForm/field/File/item/{$r->ID}/edit"),
				'Title' => $r->Title
			)));
		}
		return $set;
	}
public function RecentFiles() {
		$records = File::get()
			->filter(array(
				'ClassName:not' => 'Folder'
			))
			->sort("LastEdited DESC")
			->limit($this->Count);
		$set = ArrayList::create(array());
		foreach($records as $r) {
			$set->push(ArrayData::create(array(
				'EditLink' => Injector::inst()->get("AssetAdmin")->Link("EditForm/field/File/item/{$r->ID}/edit"),
				'Title' => $r->Title
			)));
		}
		return $set;
	}
public function RecentFiles ( ) { $ records = File :: get ( ) -> filter ( array ( 'ClassName:not' => 'Folder' ) ) -> sort ( "LastEdited DESC" ) -> limit ( $ this -> Count ) ; $ set = ArrayList :: create ( array ( ) ) ; foreach ( $ records as $ r ) { $ set -> push ( ArrayData :: create ( array ( 'EditLink' => Injector :: inst ( ) -> get ( "AssetAdmin" ) -> Link ( "EditForm/field/File/item/{$r->ID}/edit" ) , 'Title' => $ r -> Title ) ) ) ; } return $ set ; }
Gets a list of the recently uploaded files to the CMS

@return ArrayList
Gets a list of the recently uploaded files to the CMS