public function schema($output_file) { $command = sprintf("sqlite3 '%s' .schema > '%s'", $this->db_info['database'], $output_file); return system($command); }