SilverStripe\CMS\Controllers\CMSMain::getRecord
Get a database record to be managed by the CMS.
Signature
public function getRecord(int
$id,
[int
$versionID = NULL] )
Parameters
$id
— int- Record ID
$versionID
— int- optional Version id of the given record
Returns
- SiteTree