Flysystem¶
-
class
OC\Files\Storage\
Flysystem
¶ - Generic adapter between flysystem adapters and owncloud’s storage systemTo use: subclass and call $this->buildFlysystem with the flysystem adapter of choice
Source: lib/private/Files/Storage/Flysystem.php#40 Parent: OC\Files\Storage\Common
Properties¶
-
protected static property
OC\Files\Storage\Flysystem::$
flysystem
¶ Source: lib/private/Files/Storage/Flysystem.php#44 Type: \League\Flysystem\Filesystem
-
protected static property
OC\Files\Storage\Flysystem::$
root
¶ Source: lib/private/Files/Storage/Flysystem.php#49 Type: string
Methods¶
-
protected
OC\Files\Storage\Flysystem::
buildFlySystem
($adapter)¶ - Initialize the storage backend with a flyssytem adapter
Source: Parameters: - $adapter (
League\Flysystem\AdapterInterface
)
- $adapter (
-
protected
OC\Files\Storage\Flysystem::
buildPath
($path)¶ Source: lib/private/Files/Storage/Flysystem.php#61
-
public
OC\Files\Storage\Flysystem::
file_get_contents
($path)¶ -
Source: lib/private/Files/Storage/Flysystem.php#69
-
public
OC\Files\Storage\Flysystem::
file_put_contents
($path, $data)¶ -
Source: lib/private/Files/Storage/Flysystem.php#76
-
public
OC\Files\Storage\Flysystem::
file_exists
($path)¶ -
Source: lib/private/Files/Storage/Flysystem.php#87
-
public
OC\Files\Storage\Flysystem::
unlink
($path)¶ -
Source: lib/private/Files/Storage/Flysystem.php#94
-
public
OC\Files\Storage\Flysystem::
rename
($source, $target)¶ -
Source: lib/private/Files/Storage/Flysystem.php#108
-
public
OC\Files\Storage\Flysystem::
copy
($source, $target)¶ -
Source: lib/private/Files/Storage/Flysystem.php#118
-
public
OC\Files\Storage\Flysystem::
filesize
($path)¶ -
Source: lib/private/Files/Storage/Flysystem.php#128
-
public
OC\Files\Storage\Flysystem::
mkdir
($path)¶ -
Source: lib/private/Files/Storage/Flysystem.php#139
-
public
OC\Files\Storage\Flysystem::
filemtime
($path)¶ -
Source: lib/private/Files/Storage/Flysystem.php#149
-
public
OC\Files\Storage\Flysystem::
rmdir
($path)¶ -
Source: lib/private/Files/Storage/Flysystem.php#156
-
public
OC\Files\Storage\Flysystem::
opendir
($path)¶ -
Source: lib/private/Files/Storage/Flysystem.php#167
-
public
OC\Files\Storage\Flysystem::
fopen
($path, $mode)¶ -
Source: lib/private/Files/Storage/Flysystem.php#182
-
public
OC\Files\Storage\Flysystem::
touch
($path, $mtime=null)¶ -
Source: lib/private/Files/Storage/Flysystem.php#231
-
public
OC\Files\Storage\Flysystem::
stat
($path)¶ -
Source: lib/private/Files/Storage/Flysystem.php#243
-
public
OC\Files\Storage\Flysystem::
filetype
($path)¶ -
Source: lib/private/Files/Storage/Flysystem.php#254