SilverStripe\VersionedAdmin\ArchiveAdmin::getVersionedModels
Returns versioned objects, can be filtered for 'main' (has a tab) or 'other' and is exposed through the 'Others' tab, returns all by default
Signature
public function getVersionedModels([string|null
$filter = NULL,
[boolean
$forDisplay = false]] )
Parameters
$filter
—
object
- Filter by 'main' or 'other'
$forDisplay
—
boolean
- Include titles as values in the returned array
Returns
- array