Elgg
Version 1.11
|
A wrapper around Gaufrette that implements Elgg's filesystem API. More...
Public Member Functions | |
chroot ($path) | |
isFile ($path) | |
getContents ($path) | |
getFile ($path) | |
getFiles ($path= '') | |
includeFile ($path) | |
putContents ($path, $content) | |
Static Public Member Functions | |
static | createLocal ($path) |
Shorthand for generating a new local filesystem. More... | |
static | createInMemory () |
Shorthand for generating a new in-memory-only filesystem. More... | |
A wrapper around Gaufrette that implements Elgg's filesystem API.
private
Definition at line 16 of file GaufretteDirectory.php.
Elgg\Filesystem\GaufretteDirectory::chroot | ( | $path | ) |
Implements Elgg\Filesystem\Directory.
Definition at line 41 of file GaufretteDirectory.php.
|
static |
Shorthand for generating a new in-memory-only filesystem.
Definition at line 152 of file GaufretteDirectory.php.
|
static |
Shorthand for generating a new local filesystem.
string | $path | absolute path to directory on local filesystem. |
Definition at line 143 of file GaufretteDirectory.php.
Elgg\Filesystem\GaufretteDirectory::getContents | ( | $path | ) |
Implements Elgg\Filesystem\Directory.
Definition at line 64 of file GaufretteDirectory.php.
Elgg\Filesystem\GaufretteDirectory::getFile | ( | $path | ) |
Implements Elgg\Filesystem\Directory.
Definition at line 73 of file GaufretteDirectory.php.
Elgg\Filesystem\GaufretteDirectory::getFiles | ( | $path = '' | ) |
Implements Elgg\Filesystem\Directory.
Definition at line 82 of file GaufretteDirectory.php.
Elgg\Filesystem\GaufretteDirectory::includeFile | ( | $path | ) |
Implements Elgg\Filesystem\Directory.
Definition at line 116 of file GaufretteDirectory.php.
Elgg\Filesystem\GaufretteDirectory::isFile | ( | $path | ) |
Implements Elgg\Filesystem\Directory.
Definition at line 58 of file GaufretteDirectory.php.
Elgg\Filesystem\GaufretteDirectory::putContents | ( | $path, | |
$content | |||
) |
Implements Elgg\Filesystem\Directory.
Definition at line 132 of file GaufretteDirectory.php.