library/database/class.sqldriver.php
public function PrefixTable($Table) {
      $Prefix = $this->Database->DatabasePrefix;
      
      if ($Prefix != '' && substr($Table, 0, strlen($Prefix)) != $Prefix)
         $Table = $Prefix.$Table;

      return $Table;
   }
public function PrefixTable($Table) {
      $Prefix = $this->Database->DatabasePrefix;
      
      if ($Prefix != '' && substr($Table, 0, strlen($Prefix)) != $Prefix)
         $Table = $Prefix.$Table;

      return $Table;
   }
public function PrefixTable ( $ Table ) { $ Prefix = $ this -> Database -> DatabasePrefix ; if ( $ Prefix != '' && substr ( $ Table , 0 , strlen ( $ Prefix ) ) != $ Prefix ) $ Table = $ Prefix . $ Table ; return $ Table ; }
Prefixes a table with the database prefix if it is not already there.

@param string $Table The table name to prefix.
Prefixes a table with the database prefix if it is not already there .