|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for League\Flysystem\Adapter\Local:
Collaboration diagram for League\Flysystem\Adapter\Local:Public Member Functions | |||||||
| __construct ($root, $writeFlags=LOCK_EX, $linkHandling=self::DISALLOW_LINKS, array $permissions=[]) | |||||||
| Constructor. More... | |||||||
| has ($path) | |||||||
Check whether a file exists.
| |||||||
| write ($path, $contents, Config $config) | |||||||
Write a new file.
| |||||||
| writeStream ($path, $resource, Config $config) | |||||||
Write a new file using a stream.
| |||||||
| readStream ($path) | |||||||
Read a file as a stream.
| |||||||
| updateStream ($path, $resource, Config $config) | |||||||
Update a file using a stream.
| |||||||
| update ($path, $contents, Config $config) | |||||||
Update a file.
| |||||||
| read ($path) | |||||||
Read a file.
| |||||||
| rename ($path, $newpath) | |||||||
Rename a file.
| |||||||
| copy ($path, $newpath) | |||||||
Copy a file.
| |||||||
| delete ($path) | |||||||
Delete a file.
| |||||||
| listContents ($directory='', $recursive=false) | |||||||
List contents of a directory.
| |||||||
| getMetadata ($path) | |||||||
Get all the meta data of a file or directory.
| |||||||
| getSize ($path) | |||||||
Get the size of a file.
| |||||||
| getMimetype ($path) | |||||||
Get the mimetype of a file.
| |||||||
| getTimestamp ($path) | |||||||
Get the timestamp of a file.
| |||||||
| getVisibility ($path) | |||||||
Get the visibility of a file.
| |||||||
| setVisibility ($path, $visibility) | |||||||
Set the visibility for a file.
| |||||||
| createDir ($dirname, Config $config) | |||||||
Create a directory.
| |||||||
Public Member Functions inherited from League\Flysystem\Adapter\AbstractAdapter | |||||||
| setPathPrefix ($prefix) | |||||||
| Set the path prefix. More... | |||||||
| getPathPrefix () | |||||||
| Get the path prefix. More... | |||||||
| applyPathPrefix ($path) | |||||||
| Prefix a path. More... | |||||||
| removePathPrefix ($path) | |||||||
| Remove a path prefix. More... | |||||||
Public Member Functions inherited from League\Flysystem\AdapterInterface | |||||||
| write ($path, $contents, Config $config) | |||||||
| Write a new file. More... | |||||||
| writeStream ($path, $resource, Config $config) | |||||||
| Write a new file using a stream. More... | |||||||
| update ($path, $contents, Config $config) | |||||||
| Update a file. More... | |||||||
| updateStream ($path, $resource, Config $config) | |||||||
| Update a file using a stream. More... | |||||||
| rename ($path, $newpath) | |||||||
| Rename a file. More... | |||||||
| copy ($path, $newpath) | |||||||
| Copy a file. More... | |||||||
| delete ($path) | |||||||
| Delete a file. More... | |||||||
| deleteDir ($dirname) | |||||||
| Delete a directory. More... | |||||||
| createDir ($dirname, Config $config) | |||||||
| Create a directory. More... | |||||||
| setVisibility ($path, $visibility) | |||||||
| Set the visibility for a file. More... | |||||||
| has ($path) | |||||||
| Check whether a file exists. More... | |||||||
| read ($path) | |||||||
| Read a file. More... | |||||||
| readStream ($path) | |||||||
| Read a file as a stream. More... | |||||||
| listContents ($directory='', $recursive=false) | |||||||
| List contents of a directory. More... | |||||||
| getMetadata ($path) | |||||||
| Get all the meta data of a file or directory. More... | |||||||
| getSize ($path) | |||||||
| Get the size of a file. More... | |||||||
| getMimetype ($path) | |||||||
| Get the mimetype of a file. More... | |||||||
| getTimestamp ($path) | |||||||
| Get the timestamp of a file. More... | |||||||
| getVisibility ($path) | |||||||
| Get the visibility of a file. More... | |||||||
Data Fields | |
| const | SKIP_LINKS = 0001 |
| const | DISALLOW_LINKS = 0002 |
Data Fields inherited from League\Flysystem\AdapterInterface | |
| const | VISIBILITY_PUBLIC = 'public' |
| @const VISIBILITY_PUBLIC public visibility More... | |
| const | VISIBILITY_PRIVATE = 'private' |
| @const VISIBILITY_PRIVATE private visibility More... | |
Protected Member Functions | |
| ensureDirectory ($root) | |
| Ensure the root directory exists. More... | |
| deleteFileInfoObject (SplFileInfo $file) | |
| normalizeFileInfo (SplFileInfo $file) | |
| Normalize the file info. More... | |
| getFilePath (SplFileInfo $file) | |
| Get the normalized path from a SplFileInfo object. More... | |
| getRecursiveDirectoryIterator ($path, $mode=RecursiveIteratorIterator::SELF_FIRST) | |
| getDirectoryIterator ($path) | |
| mapFileInfo (SplFileInfo $file) | |
| guardAgainstUnreadableFileInfo (SplFileInfo $file) | |
Protected Attributes | |
| $pathSeparator = DIRECTORY_SEPARATOR | |
| $permissionMap | |
| $writeFlags | |
Protected Attributes inherited from League\Flysystem\Adapter\AbstractAdapter | |
| $pathPrefix | |
| $pathSeparator = '/' | |
Static Protected Attributes | |
| static | $permissions |
Private Attributes | |
| $linkHandling | |
| League\Flysystem\Adapter\Local::__construct | ( | $root, | |
$writeFlags = LOCK_EX, |
|||
$linkHandling = self::DISALLOW_LINKS, |
|||
| array | $permissions = [] |
||
| ) |
Constructor.
| string | $root | |
| int | $writeFlags | |
| int | $linkHandling | |
| array | $permissions |
| LogicException |
Definition at line 74 of file Local.php.
References League\Flysystem\Adapter\Local\$linkHandling, League\Flysystem\Adapter\Local\$permissions, League\Flysystem\Adapter\Local\$writeFlags, League\Flysystem\Adapter\Local\ensureDirectory(), and League\Flysystem\Adapter\AbstractAdapter\setPathPrefix().
Here is the call graph for this function:| League\Flysystem\Adapter\Local::copy | ( | $path, | |
| $newpath | |||
| ) |
Copy a file.
| string | $path | |
| string | $newpath |
Implements League\Flysystem\AdapterInterface.
Definition at line 240 of file Local.php.
References $destination, $location, $path, League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix(), League\Flysystem\Adapter\Local\copy(), and League\Flysystem\Adapter\Local\ensureDirectory().
Referenced by League\Flysystem\Adapter\Local\copy().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Local::createDir | ( | $dirname, | |
| Config | $config | ||
| ) |
Create a directory.
| string | $dirname | directory name |
| Config | $config |
Implements League\Flysystem\AdapterInterface.
Definition at line 361 of file Local.php.
References $config, $location, and League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix().
Here is the call graph for this function:| League\Flysystem\Adapter\Local::delete | ( | $path | ) |
Delete a file.
| string | $path |
Implements League\Flysystem\AdapterInterface.
Definition at line 252 of file Local.php.
References $location, $path, and League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix().
Here is the call graph for this function:
|
protected |
| SplFileInfo | $file |
Definition at line 403 of file Local.php.
References $file.
|
protected |
Ensure the root directory exists.
| string | $root | root directory path |
| Exception | in case the root directory can not be created |
Definition at line 98 of file Local.php.
References sprintf.
Referenced by League\Flysystem\Adapter\Local\__construct(), League\Flysystem\Adapter\Local\copy(), League\Flysystem\Adapter\Local\rename(), League\Flysystem\Adapter\Local\write(), and League\Flysystem\Adapter\Local\writeStream().
Here is the caller graph for this function:
|
protected |
| string | $path |
Definition at line 471 of file Local.php.
References $path.
Referenced by League\Flysystem\Adapter\Local\listContents().
Here is the caller graph for this function:
|
protected |
Get the normalized path from a SplFileInfo object.
| SplFileInfo | $file |
Definition at line 444 of file Local.php.
References $file, $location, $path, and League\Flysystem\Adapter\AbstractAdapter\removePathPrefix().
Referenced by League\Flysystem\Adapter\Local\listContents(), and League\Flysystem\Adapter\Local\mapFileInfo().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Local::getMetadata | ( | $path | ) |
Get all the meta data of a file or directory.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 289 of file Local.php.
References $info, $location, $path, League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix(), and League\Flysystem\Adapter\Local\normalizeFileInfo().
Referenced by League\Flysystem\Adapter\Local\getSize(), and League\Flysystem\Adapter\Local\getTimestamp().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Local::getMimetype | ( | $path | ) |
Get the mimetype of a file.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 308 of file Local.php.
References $location, $path, League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix(), and League\Flysystem\Util\MimeType\detectByFilename().
Here is the call graph for this function:
|
protected |
| string | $path | |
| int | $mode |
Definition at line 458 of file Local.php.
References $path.
Referenced by League\Flysystem\Adapter\Local\listContents().
Here is the caller graph for this function:| League\Flysystem\Adapter\Local::getSize | ( | $path | ) |
Get the size of a file.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 300 of file Local.php.
References $path, and League\Flysystem\Adapter\Local\getMetadata().
Here is the call graph for this function:| League\Flysystem\Adapter\Local::getTimestamp | ( | $path | ) |
Get the timestamp of a file.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 324 of file Local.php.
References $path, and League\Flysystem\Adapter\Local\getMetadata().
Here is the call graph for this function:| League\Flysystem\Adapter\Local::getVisibility | ( | $path | ) |
Get the visibility of a file.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 332 of file Local.php.
References $location, $path, League\Flysystem\Adapter\Local\$permissions, League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix(), sprintf, League\Flysystem\AdapterInterface\VISIBILITY_PRIVATE, and League\Flysystem\AdapterInterface\VISIBILITY_PUBLIC.
Here is the call graph for this function:
|
protected |
| SplFileInfo | $file |
| UnreadableFileException |
Definition at line 504 of file Local.php.
References $file, and League\Flysystem\UnreadableFileException\forFileInfo().
Here is the call graph for this function:| League\Flysystem\Adapter\Local::has | ( | $path | ) |
Check whether a file exists.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 114 of file Local.php.
References $location, $path, and League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix().
Here is the call graph for this function:| League\Flysystem\Adapter\Local::listContents | ( | $directory = '', |
|
$recursive = false |
|||
| ) |
List contents of a directory.
| string | $directory | |
| bool | $recursive |
Implements League\Flysystem\ReadInterface.
Definition at line 262 of file Local.php.
References $file, $location, $path, $result, League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix(), League\Flysystem\Adapter\Local\getDirectoryIterator(), League\Flysystem\Adapter\Local\getFilePath(), League\Flysystem\Adapter\Local\getRecursiveDirectoryIterator(), and League\Flysystem\Adapter\Local\normalizeFileInfo().
Here is the call graph for this function:
|
protected |
| SplFileInfo | $file |
Definition at line 483 of file Local.php.
References $file, and League\Flysystem\Adapter\Local\getFilePath().
Referenced by League\Flysystem\Adapter\Local\normalizeFileInfo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Normalize the file info.
| SplFileInfo | $file |
| NotSupportedException |
Definition at line 426 of file Local.php.
References $file, League\Flysystem\NotSupportedException\forLink(), and League\Flysystem\Adapter\Local\mapFileInfo().
Referenced by League\Flysystem\Adapter\Local\getMetadata(), and League\Flysystem\Adapter\Local\listContents().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Local::read | ( | $path | ) |
Read a file.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 212 of file Local.php.
References $contents, $location, $path, and League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix().
Here is the call graph for this function:| League\Flysystem\Adapter\Local::readStream | ( | $path | ) |
Read a file as a stream.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 175 of file Local.php.
References $location, $path, GuzzleHttp\Psr7\$stream, and League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix().
Here is the call graph for this function:| League\Flysystem\Adapter\Local::rename | ( | $path, | |
| $newpath | |||
| ) |
Rename a file.
| string | $path | |
| string | $newpath |
Implements League\Flysystem\AdapterInterface.
Definition at line 227 of file Local.php.
References $destination, $location, $path, League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix(), League\Flysystem\Util\dirname(), League\Flysystem\Adapter\Local\ensureDirectory(), and League\Flysystem\Adapter\Local\rename().
Referenced by League\Flysystem\Adapter\Local\rename().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Local::setVisibility | ( | $path, | |
| $visibility | |||
| ) |
Set the visibility for a file.
| string | $path | |
| string | $visibility |
Implements League\Flysystem\AdapterInterface.
Definition at line 345 of file Local.php.
References $location, $path, $success, $type, and League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix().
Referenced by League\Flysystem\Adapter\Local\write(), and League\Flysystem\Adapter\Local\writeStream().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Local::update | ( | $path, | |
| $contents, | |||
| Config | $config | ||
| ) |
Update a file.
Implements League\Flysystem\AdapterInterface.
Definition at line 194 of file Local.php.
References $contents, $location, $path, $size, $type, League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix(), and League\Flysystem\Util\guessMimeType().
Here is the call graph for this function:| League\Flysystem\Adapter\Local::updateStream | ( | $path, | |
| $resource, | |||
| Config | $config | ||
| ) |
Update a file using a stream.
Implements League\Flysystem\AdapterInterface.
Definition at line 186 of file Local.php.
References $config, $path, and League\Flysystem\Adapter\Local\writeStream().
Here is the call graph for this function:| League\Flysystem\Adapter\Local::write | ( | $path, | |
| $contents, | |||
| Config | $config | ||
| ) |
Write a new file.
Implements League\Flysystem\AdapterInterface.
Definition at line 124 of file Local.php.
References $config, $contents, $location, $path, $result, $size, $type, League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix(), League\Flysystem\Adapter\Local\ensureDirectory(), and League\Flysystem\Adapter\Local\setVisibility().
Here is the call graph for this function:| League\Flysystem\Adapter\Local::writeStream | ( | $path, | |
| $resource, | |||
| Config | $config | ||
| ) |
Write a new file using a stream.
Implements League\Flysystem\AdapterInterface.
Definition at line 147 of file Local.php.
References $config, $location, $path, GuzzleHttp\Psr7\$stream, $type, League\Flysystem\Adapter\AbstractAdapter\applyPathPrefix(), League\Flysystem\Adapter\Local\ensureDirectory(), and League\Flysystem\Adapter\Local\setVisibility().
Referenced by League\Flysystem\Adapter\Local\updateStream().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 62 of file Local.php.
Referenced by League\Flysystem\Adapter\Local\__construct().
|
protected |
|
staticprotected |
Definition at line 34 of file Local.php.
Referenced by League\Flysystem\Adapter\Local\__construct(), and League\Flysystem\Adapter\Local\getVisibility().
|
protected |
Definition at line 58 of file Local.php.
Referenced by League\Flysystem\Adapter\Local\__construct().
| const League\Flysystem\Adapter\Local::DISALLOW_LINKS = 0002 |
Definition at line 29 of file Local.php.
Referenced by ILIAS\Filesystem\Provider\FlySystem\FlySystemLocalFilesystemFactory\mapConfigLinkToLocalLinks().
| const League\Flysystem\Adapter\Local::SKIP_LINKS = 0001 |
Definition at line 24 of file Local.php.
Referenced by ILIAS\Filesystem\Provider\FlySystem\FlySystemLocalFilesystemFactory\mapConfigLinkToLocalLinks().