2 namespace Elgg\Filesystem;
$content
Set robots.txt action.
A simple directory abstraction.
getFiles($path='', $recursive=true)
List the files in the given directory path.
getFile($path)
A reference to the file at the given path, even if it doesn't exist yet.
putContents($path, $content)
Write a file, overwriting the contents if necessary.
getDirectories($path='', $recursive=true)
List the directories in the given directory path.
chroot($path)
Returns a subdirectory with access limited to the given directory.
getContents($path)
Read the file off the filesystem.
isFile($path)
Whether this directory has an existing file at the given location.
includeFile($path)
Do a PHP include of the file and return the result.
getPath($path='')
Get the absolute path to the given directory-relative path.