SiteTreeFutureState::requireFutureStateTempTable
Create a temporary table mapping each database record to its version on the given date.
This gives us an easy way of querying the future state at the date passed to this function: we simply join SiteTree_versions to the future table, inner joining on RecordID and Version.
Signature
protected function requireFutureStateTempTable(string
$baseTable,
[string
$date = NULL] )
Parameters
$baseTable
— string- The base table.
$date
— string- The date.