public prefixTable ( string $Table ) | ||
$Table | string | The table name to prefix. |
public function prefixTable($Table)
{
$Prefix = $this->Database->DatabasePrefix;
if ($Prefix != '' && substr($Table, 0, strlen($Prefix)) != $Prefix) {
$Table = $Prefix . $Table;
}
return $Table;
}