code/panels/DashboardRecentEditsPanel.php
public function RecentEdits() {
		$records = SiteTree::get()->sort("LastEdited DESC")->limit($this->Count);
		$set = ArrayList::create(array());
		foreach($records as $r) {
			$set->push(ArrayData::create(array(
				'EditLink' => Injector::inst()->get("CMSPagesController")->Link("edit/show/{$r->ID}"),
				'Title' => $r->Title
			)));
		}
		return $set;
	}
public function RecentEdits() {
		$records = SiteTree::get()->sort("LastEdited DESC")->limit($this->Count);
		$set = ArrayList::create(array());
		foreach($records as $r) {
			$set->push(ArrayData::create(array(
				'EditLink' => Injector::inst()->get("CMSPagesController")->Link("edit/show/{$r->ID}"),
				'Title' => $r->Title
			)));
		}
		return $set;
	}
Gets the recent edited pages, limited to a user provided number of records

@return ArrayList