SilverStripe\Versioned\Versioned::stageTable
Given a table and stage determine the table name.
Note: Stages this asset does not exist in will default to the draft table.
Signature
public function stageTable(string
$table,
string
$stage )
Parameters
$table
— string- Main table
$stage
— string
Returns
- string
- Staged table name