ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
FileWriteAccess.php
Go to the documentation of this file.
1<?php
2
20
24
30{
41 public function write(string $path, string $content): void;
42
55 public function update(string $path, string $new_content): void;
56
68 public function put(string $path, string $content): void;
69
80 public function delete(string $path): void;
81
93 public function readAndDelete(string $path): string;
94
107 public function rename(string $path, string $new_path): void;
108
121 public function copy(string $path, string $copy_path): void;
122}
Indicates that a file is missing or not found.
Indicates general problems with the input or output operations.
Definition: IOException.php:28
copy(string $path, string $copy_path)
Copy the source file to a destination.
rename(string $path, string $new_path)
Moves a file from the source to the destination.
put(string $path, string $content)
Creates a file or updates an existing one.
write(string $path, string $content)
Writes the content to a new file.
readAndDelete(string $path)
Reads the entire file content into a string and removes the file afterwards.
update(string $path, string $new_content)
Updates the content of a file.
$path
Definition: ltiservices.php:30
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...