SilverStripe\Versioned\Versioned::get_including_deleted
Return the equivalent of a DataList::create() call, querying the latest version of each record stored in the (class)_Versions tables.
In particular, this will query deleted records as well as active ones.
Signature
public function get_including_deleted(string
$class,
[string
$filter = "",
[string
$sort = ""]] )
Parameters
$class
— string$filter
— string$sort
— string
Returns
- DataList