1 backup.file.inc | public BackupFile::write($data) |
Write a line to the file.
File
- core/
includes/ backup/ backup.file.inc, line 133 - Contains the BackupFile class.
Class
- BackupFile
- Provides a utility object for reading and writing local backup files.
Code
public function write($data) {
if (!$this->handle) {
$this->handle = $this->open(TRUE);
}
if ($this->handle) {
fwrite($this->handle, $data);
}
}