|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for League\Flysystem\Adapter\AbstractFtpAdapter:
Collaboration diagram for League\Flysystem\Adapter\AbstractFtpAdapter:Public Member Functions | |||||||
| __construct (array $config) | |||||||
| Constructor. More... | |||||||
| setConfig (array $config) | |||||||
| Set the config. More... | |||||||
| getHost () | |||||||
| Returns the host. More... | |||||||
| setHost ($host) | |||||||
| Set the host. More... | |||||||
| setPermPublic ($permPublic) | |||||||
| Set the public permission value. More... | |||||||
| setPermPrivate ($permPrivate) | |||||||
| Set the private permission value. More... | |||||||
| getPort () | |||||||
| Returns the ftp port. More... | |||||||
| getRoot () | |||||||
| Returns the root folder to work from. More... | |||||||
| setPort ($port) | |||||||
| Set the ftp port. More... | |||||||
| setRoot ($root) | |||||||
| Set the root folder to work from. More... | |||||||
| getUsername () | |||||||
| Returns the ftp username. More... | |||||||
| setUsername ($username) | |||||||
| Set ftp username. More... | |||||||
| getPassword () | |||||||
| Returns the password. More... | |||||||
| setPassword ($password) | |||||||
| Set the ftp password. More... | |||||||
| getTimeout () | |||||||
| Returns the amount of seconds before the connection will timeout. More... | |||||||
| setTimeout ($timeout) | |||||||
| Set the amount of seconds before the connection should timeout. More... | |||||||
| getSystemType () | |||||||
| Return the FTP system type. More... | |||||||
| setSystemType ($systemType) | |||||||
| Set the FTP system type (windows or unix). More... | |||||||
| listContents ($directory='', $recursive=false) | |||||||
List contents of a directory.
| |||||||
| removeDotDirectories (array $list) | |||||||
| Filter out dot-directories. More... | |||||||
| has ($path) | |||||||
Check whether a file exists.
| |||||||
| getSize ($path) | |||||||
Get the size of a file.
| |||||||
| getVisibility ($path) | |||||||
Get the visibility of a file.
| |||||||
| ensureDirectory ($dirname) | |||||||
| Ensure a directory exists. More... | |||||||
| getConnection () | |||||||
| getPermPublic () | |||||||
| Get the public permission value. More... | |||||||
| getPermPrivate () | |||||||
| Get the private permission value. More... | |||||||
| __destruct () | |||||||
| Disconnect on destruction. More... | |||||||
| connect () | |||||||
| Establish a connection. More... | |||||||
| disconnect () | |||||||
| Close the connection. More... | |||||||
| isConnected () | |||||||
| Check if a connection is active. More... | |||||||
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... | |||||||
Public Member Functions inherited from League\Flysystem\ReadInterface | |||||||
| 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... | |||||||
Protected Member Functions | |
| listDirectoryContents ($directory, $recursive=false) | |
| normalizeListing (array $listing, $prefix='') | |
| Normalize a directory listing. More... | |
| sortListing (array $result) | |
| Sort a directory listing. More... | |
| normalizeObject ($item, $base) | |
| Normalize a file entry. More... | |
| normalizeUnixObject ($item, $base) | |
| Normalize a Unix file entry. More... | |
| normalizeWindowsObject ($item, $base) | |
| Normalize a Windows/DOS file entry. More... | |
| detectSystemType ($item) | |
| Get the system type from a listing item. More... | |
| detectType ($permissions) | |
| Get the file type from the permissions. More... | |
| normalizePermissions ($permissions) | |
| Normalize a permissions string. More... | |
Protected Attributes | |
| $connection | |
| $host | |
| $port = 21 | |
| $ssl = false | |
| $timeout = 90 | |
| $passive = true | |
| $separator = '/' | |
| $root | |
| $permPublic = 0744 | |
| $permPrivate = 0700 | |
| $configurable = [] | |
| $systemType | |
| $alternativeRecursion = false | |
| $safeStorage | |
Protected Attributes inherited from League\Flysystem\Adapter\AbstractAdapter | |
| $pathPrefix | |
| $pathSeparator = '/' | |
Additional Inherited Members | |
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... | |
Definition at line 12 of file AbstractFtpAdapter.php.
| League\Flysystem\Adapter\AbstractFtpAdapter::__construct | ( | array | $config | ) |
Constructor.
| array | $config |
Definition at line 89 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\setConfig().
Here is the call graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::__destruct | ( | ) |
Disconnect on destruction.
Definition at line 609 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\disconnect().
Here is the call graph for this function:
|
abstract |
Establish a connection.
Reimplemented in League\Flysystem\Adapter\Ftp.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\getConnection().
Here is the caller graph for this function:
|
protected |
Get the system type from a listing item.
| string | $item |
Definition at line 469 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\normalizeObject().
Here is the caller graph for this function:
|
protected |
Get the file type from the permissions.
| string | $permissions |
Definition at line 481 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\normalizeUnixObject().
Here is the caller graph for this function:
|
abstract |
Close the connection.
Reimplemented in League\Flysystem\Adapter\Ftp.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\__destruct(), and League\Flysystem\Adapter\AbstractFtpAdapter\getConnection().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::ensureDirectory | ( | $dirname | ) |
Ensure a directory exists.
| string | $dirname |
Definition at line 563 of file AbstractFtpAdapter.php.
References League\Flysystem\AdapterInterface\createDir(), and League\Flysystem\Adapter\AbstractFtpAdapter\has().
Referenced by League\Flysystem\Adapter\Ftp\writeStream().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::getConnection | ( | ) |
Definition at line 573 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$connection, League\Flysystem\Adapter\AbstractFtpAdapter\connect(), League\Flysystem\Adapter\AbstractFtpAdapter\disconnect(), and League\Flysystem\Adapter\AbstractFtpAdapter\isConnected().
Referenced by League\Flysystem\Adapter\Ftp\createDir(), League\Flysystem\Adapter\Ftp\delete(), League\Flysystem\Adapter\Ftp\deleteDir(), League\Flysystem\Adapter\Ftp\ftpRawlist(), League\Flysystem\Adapter\Ftp\getMetadata(), League\Flysystem\Adapter\Ftpd\getMetadata(), League\Flysystem\Adapter\Ftp\getTimestamp(), League\Flysystem\Adapter\Ftpd\listDirectoryContents(), League\Flysystem\Adapter\Ftp\readStream(), League\Flysystem\Adapter\Ftp\rename(), League\Flysystem\Adapter\Ftp\setVisibility(), and League\Flysystem\Adapter\Ftp\writeStream().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::getHost | ( | ) |
Returns the host.
Definition at line 124 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$host.
Referenced by League\Flysystem\Adapter\Ftp\connect(), League\Flysystem\Adapter\Ftp\login(), League\Flysystem\Adapter\Ftp\setConnectionPassiveMode(), and League\Flysystem\Adapter\Ftp\setUtf8Mode().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::getPassword | ( | ) |
Returns the password.
Definition at line 250 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\Ftp\login().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::getPermPrivate | ( | ) |
Get the private permission value.
Definition at line 601 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$permPrivate.
Referenced by League\Flysystem\Adapter\Ftp\setVisibility().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::getPermPublic | ( | ) |
Get the public permission value.
Definition at line 591 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$permPublic.
Referenced by League\Flysystem\Adapter\Ftp\setVisibility().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::getPort | ( | ) |
Returns the ftp port.
Definition at line 176 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$port.
Referenced by League\Flysystem\Adapter\Ftp\connect(), League\Flysystem\Adapter\Ftp\login(), League\Flysystem\Adapter\Ftp\setConnectionPassiveMode(), and League\Flysystem\Adapter\Ftp\setUtf8Mode().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::getRoot | ( | ) |
Returns the root folder to work from.
Definition at line 186 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$root.
Referenced by League\Flysystem\Adapter\Ftp\setConnectionRoot().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::getSize | ( | $path | ) |
Get the size of a file.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 545 of file AbstractFtpAdapter.php.
References $path, and League\Flysystem\ReadInterface\getMetadata().
Here is the call graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::getSystemType | ( | ) |
Return the FTP system type.
Definition at line 298 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$systemType.
| League\Flysystem\Adapter\AbstractFtpAdapter::getTimeout | ( | ) |
Returns the amount of seconds before the connection will timeout.
Definition at line 274 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$timeout.
Referenced by League\Flysystem\Adapter\Ftp\connect().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::getUsername | ( | ) |
Returns the ftp username.
Definition at line 224 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\Ftp\login().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::getVisibility | ( | $path | ) |
Get the visibility of a file.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 553 of file AbstractFtpAdapter.php.
References $path, and League\Flysystem\ReadInterface\getMetadata().
Here is the call graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::has | ( | $path | ) |
Check whether a file exists.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 537 of file AbstractFtpAdapter.php.
References $path, and League\Flysystem\ReadInterface\getMetadata().
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\ensureDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstract |
Check if a connection is active.
Reimplemented in League\Flysystem\Adapter\Ftp.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\getConnection().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::listContents | ( | $directory = '', |
|
$recursive = false |
|||
| ) |
List contents of a directory.
| string | $directory | |
| bool | $recursive |
Implements League\Flysystem\ReadInterface.
Definition at line 320 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\listDirectoryContents().
Here is the call graph for this function:
|
abstractprotected |
Reimplemented in League\Flysystem\Adapter\Ftp, and League\Flysystem\Adapter\Ftpd.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\listContents().
Here is the caller graph for this function:
|
protected |
Normalize a directory listing.
| array | $listing | |
| string | $prefix |
Definition at line 335 of file AbstractFtpAdapter.php.
References $base, $result, League\Flysystem\Adapter\AbstractFtpAdapter\normalizeObject(), League\Flysystem\Adapter\AbstractFtpAdapter\removeDotDirectories(), and League\Flysystem\Adapter\AbstractFtpAdapter\sortListing().
Referenced by League\Flysystem\Adapter\Ftp\listDirectoryContents(), League\Flysystem\Adapter\Ftpd\listDirectoryContents(), and League\Flysystem\Adapter\Ftp\listDirectoryContentsRecursive().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Normalize a file entry.
| string | $item | |
| string | $base |
| NotSupportedException |
Definition at line 381 of file AbstractFtpAdapter.php.
References $base, League\Flysystem\Adapter\AbstractFtpAdapter\$systemType, League\Flysystem\Adapter\AbstractFtpAdapter\detectSystemType(), League\Flysystem\NotSupportedException\forFtpSystemType(), League\Flysystem\Adapter\AbstractFtpAdapter\normalizeUnixObject(), and League\Flysystem\Adapter\AbstractFtpAdapter\normalizeWindowsObject().
Referenced by League\Flysystem\Adapter\Ftp\getMetadata(), League\Flysystem\Adapter\Ftpd\getMetadata(), and League\Flysystem\Adapter\AbstractFtpAdapter\normalizeListing().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Normalize a permissions string.
| string | $permissions |
Definition at line 493 of file AbstractFtpAdapter.php.
References $map.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\normalizeUnixObject().
Here is the caller graph for this function:
|
protected |
Normalize a Unix file entry.
| string | $item | |
| string | $base |
Definition at line 402 of file AbstractFtpAdapter.php.
References $base, $name, $path, $size, $type, League\Flysystem\Adapter\AbstractFtpAdapter\detectType(), League\Flysystem\Adapter\AbstractFtpAdapter\normalizePermissions(), League\Flysystem\AdapterInterface\VISIBILITY_PRIVATE, and League\Flysystem\AdapterInterface\VISIBILITY_PUBLIC.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\normalizeObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Normalize a Windows/DOS file entry.
| string | $item | |
| string | $base |
Definition at line 433 of file AbstractFtpAdapter.php.
References $base, $format, $name, $path, $size, $time, $timestamp, $type, and League\Flysystem\AdapterInterface\VISIBILITY_PUBLIC.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\normalizeObject().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::removeDotDirectories | ( | array | $list | ) |
Filter out dot-directories.
| array | $list |
Definition at line 521 of file AbstractFtpAdapter.php.
References $list.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\normalizeListing().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::setConfig | ( | array | $config | ) |
Set the config.
| array | $config |
Definition at line 102 of file AbstractFtpAdapter.php.
References $config.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\__construct().
Here is the caller graph for this function:| League\Flysystem\Adapter\AbstractFtpAdapter::setHost | ( | $host | ) |
Set the host.
| string | $host |
Definition at line 136 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$host.
| League\Flysystem\Adapter\AbstractFtpAdapter::setPassword | ( | $password | ) |
Set the ftp password.
| string | $password |
Definition at line 262 of file AbstractFtpAdapter.php.
References $password.
| League\Flysystem\Adapter\AbstractFtpAdapter::setPermPrivate | ( | $permPrivate | ) |
Set the private permission value.
| int | $permPrivate |
Definition at line 164 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$permPrivate.
| League\Flysystem\Adapter\AbstractFtpAdapter::setPermPublic | ( | $permPublic | ) |
Set the public permission value.
| int | $permPublic |
Definition at line 150 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$permPublic.
| League\Flysystem\Adapter\AbstractFtpAdapter::setPort | ( | $port | ) |
Set the ftp port.
| int | string | $port |
Definition at line 198 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$port.
| League\Flysystem\Adapter\AbstractFtpAdapter::setRoot | ( | $root | ) |
Set the root folder to work from.
| string | $root |
Definition at line 212 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$root, and League\Flysystem\Adapter\AbstractFtpAdapter\$separator.
| League\Flysystem\Adapter\AbstractFtpAdapter::setSystemType | ( | $systemType | ) |
Set the FTP system type (windows or unix).
| string | $systemType |
Definition at line 310 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$systemType.
| League\Flysystem\Adapter\AbstractFtpAdapter::setTimeout | ( | $timeout | ) |
Set the amount of seconds before the connection should timeout.
| int | $timeout |
Definition at line 286 of file AbstractFtpAdapter.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$timeout.
| League\Flysystem\Adapter\AbstractFtpAdapter::setUsername | ( | $username | ) |
Set ftp username.
| string | $username |
Definition at line 238 of file AbstractFtpAdapter.php.
|
protected |
Sort a directory listing.
| array | $result |
Definition at line 360 of file AbstractFtpAdapter.php.
References $result.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\normalizeListing().
Here is the caller graph for this function:
|
protected |
Definition at line 77 of file AbstractFtpAdapter.php.
|
protected |
Definition at line 67 of file AbstractFtpAdapter.php.
|
protected |
Definition at line 17 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\Ftp\createActualDirectory(), League\Flysystem\Adapter\Ftp\createDir(), League\Flysystem\Adapter\Ftp\deleteDir(), League\Flysystem\Adapter\Ftp\ftpRawlist(), League\Flysystem\Adapter\AbstractFtpAdapter\getConnection(), League\Flysystem\Adapter\Ftp\getMetadata(), and League\Flysystem\Adapter\Ftp\setConnectionRoot().
|
protected |
Definition at line 22 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\getHost(), and League\Flysystem\Adapter\AbstractFtpAdapter\setHost().
|
protected |
Definition at line 42 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\Ftp\setPassive().
|
protected |
Definition at line 62 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\getPermPrivate(), and League\Flysystem\Adapter\AbstractFtpAdapter\setPermPrivate().
|
protected |
Definition at line 57 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\getPermPublic(), and League\Flysystem\Adapter\AbstractFtpAdapter\setPermPublic().
|
protected |
Definition at line 27 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\getPort(), and League\Flysystem\Adapter\AbstractFtpAdapter\setPort().
|
protected |
Definition at line 52 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\getRoot(), League\Flysystem\Adapter\Ftp\setConnectionRoot(), and League\Flysystem\Adapter\AbstractFtpAdapter\setRoot().
|
protected |
Definition at line 82 of file AbstractFtpAdapter.php.
|
protected |
Definition at line 47 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\setRoot().
|
protected |
Definition at line 32 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\Ftp\setSsl().
|
protected |
Definition at line 72 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\getSystemType(), League\Flysystem\Adapter\AbstractFtpAdapter\normalizeObject(), and League\Flysystem\Adapter\AbstractFtpAdapter\setSystemType().
|
protected |
Definition at line 37 of file AbstractFtpAdapter.php.
Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\getTimeout(), and League\Flysystem\Adapter\AbstractFtpAdapter\setTimeout().