Namespace for generating local filesystems.
More...
Namespace for generating local filesystems.
- Since
- 1.10.0
Definition at line 14 of file Local.php.
static Elgg\Filesystem\Directory\Local::elggRoot |
( |
| ) |
|
|
static |
static Elgg\Filesystem\Directory\Local::fromPath |
( |
|
$path | ) |
|
|
static |
Shorthand for generating a new local filesystem.
- Parameters
-
string | $path | Absolute path to directory on local filesystem. |
- Returns
- Directory
Definition at line 23 of file Local.php.
static Elgg\Filesystem\Directory\Local::projectRoot |
( |
| ) |
|
|
static |
Get the root composer install directory.
- Note
- This is not the same as the Elgg root! In the Elgg 1.x series, Elgg was always at the install root, but as of 2.0, Elgg can be installed as a composer dependency, so you cannot assume that it is at the root anymore.
- Returns
- Directory
Definition at line 36 of file Local.php.
The documentation for this class was generated from the following file:
- engine/classes/Elgg/Filesystem/Directory/Local.php