Version: current

# Class RecentFiles

Snippets have the following generic variables, that can be used in generic templates:

$Title $URL $Date $ID $EditLink

  Object
  ViewableData implements IteratorAggregate
  DashboardPlugin
  RecentFiles

Located at dashboard/code/dashboard_plugins/RecentFiles.php

## Methods summary

`public` | # `GenericSnippetList( )`

### Methods inherited from DashboardPlugin

`IconCSS()`, `disable()`, `forTemplate()`, `getCaption()`, `getEditLink()`, `getEditPopup()`, `getLink()`, `getLinkText()`, `getNullMessage()`, `getTitle()`, `get_disabled_plugins()`

### Methods inherited from ViewableData

`ATT_val()`, `BaseHref()`, `CSSClasses()`, `ColumnBreak()`, `ColumnCalc()`, `ColumnNumber()`, `ColumnPad()`, `ColumnPos()`, `CurrentMember()`, `CurrentPage()`, `Debug()`, `Even()`, `EvenOdd()`, `First()`, `FirstLast()`, `HasPerm()`, `IsAjax()`, `JS_val()`, `Last()`, `Me()`, `Middle()`, `MiddleString()`, `Modulus()`, `MultipleOf()`, `Odd()`, `Pos()`, `RAW_val()`, `SQL_val()`, `ThemeDir()`, `ThemeName()`, `Top()`, `TotalItems()`, `XML_val()`, `__get()`, `__isset()`, `__set()`, `buildCastingCache()`, `cachedCall()`, `castingClass()`, `castingHelper()`, `castingHelperPair()`, `castingObjectCreator()`, `castingObjectCreatorPair()`, `customise()`, `defineMethods()`, `escapeTypeForField()`, `getField()`, `getIterator()`, `getSecurityID()`, `getXMLValues()`, `hasField()`, `hasValue()`, `i18nLocale()`, `iteratorProperties()`, `obj()`, `renderWith()`, `setCustomisedObj()`, `setField()`

### Methods inherited from Object

`__call()`, `__construct()`, `__toString()`, `__wakeup()`, `addMethodsFrom()`, `addStaticVars()`, `addWrapperMethod()`, `add_extension()`, `add_static_var()`, `allMethodNames()`, `cacheToFile()`, `cacheToFileWithArgs()`, `clearCache()`, `combined_static()`, `create()`, `createMethod()`, `create_from_string()`, `exists()`, `extInstance()`, `extend()`, `getCustomClass()`, `getExtensionInstance()`, `getExtensionInstances()`, `get_extensions()`, `get_static()`, `hasExtension()`, `hasMethod()`, `has_extension()`, `invokeWithExtensions()`, `is_a()`, `loadCache()`, `parentClass()`, `parse_class_spec()`, `remove_extension()`, `sanitiseCachename()`, `saveCache()`, `set_stat()`, `set_static()`, `set_uninherited()`, `stat()`, `strong_create()`, `uninherited()`, `uninherited_static()`, `useCustomClass()`

### Magic methods summary

## Properties summary

`public static string` | $position | # = The position of this plugin on the dashboard. Value must be contained in DashboardPlugin::$positions = The position of this plugin on the dashboard. Value must be contained in DashboardPlugin::$positions
`public static integer` | $sort | # = Index of where the plugin will appear in a given position. = Index of where the plugin will appear in a given position.
`public static string` | $title | # = Title of the plugin on dashboard view = Title of the plugin on dashboard view
`public static string` | $link | # = A link for more info embdedded in the header = A link for more info embdedded in the header
`public static integer` | $limit_count | # = Limiter to set how many items should be displayed = Limiter to set how many items should be displayed
`public static string` | $caption | # = Short caption to appear at the top of your plugin = Short caption to appear at the top of your plugin
`public static string` | $null_message | # = Short message to return if no data is returned = Short message to return if no data is returned
`public static string` | $edit_link | # = URL for edit button, if it exists = URL for edit button, if it exists
`public static boolean` | $edit_popup | # = Boolean value of whether an edit link should generate a popup = Boolean value of whether an edit link should generate a popup

### Properties inherited from DashboardPlugin

`$icon`, `$link_text`, `$positions`

### Properties inherited from ViewableData

`$casting`, `$customisedObject`, `$default_cast`, `$failover`, `$iteratorPos`, `$iteratorTotalItems`

### Properties inherited from Object

`$class`, `$extension_instances`, `$extensions`

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -