library/Services/Library/DatabaseRestorer/DatabaseRestorer.php
public function resetTable($table)
    {
        $data = $this->getDumpData();

        $this->executeQuery("TRUNCATE TABLE `$table`");
        if (isset($data[$table]["_sql_"])) {
            $this->executeQuery($data[$table]["_sql_"]);
        }
    }
public function resetTable($table)
    {
        $data = $this->getDumpData();

        $this->executeQuery("TRUNCATE TABLE `$table`");
        if (isset($data[$table]["_sql_"])) {
            $this->executeQuery($data[$table]["_sql_"]);
        }
    }
public function resetTable ( $ table ) { $ data = $ this -> getDumpData ( ) ; $ this -> executeQuery ( "TRUNCATE TABLE `$table`" ) ; if ( isset ( $ data [ $ table ] [ "_sql_" ] ) ) { $ this -> executeQuery ( $ data [ $ table ] [ "_sql_" ] ) ; } }
Drops all table records and adds them back from dump

@param string $table
Drops all table records and adds them back from dump