Quota¶
-
class
OC\Files\Storage\Wrapper\Quota¶ Source: lib/private/Files/Storage/Wrapper/Quota.php#40 Parent: OC\Files\Storage\Wrapper\Wrapper
Properties¶
-
protected static property
OC\Files\Storage\Wrapper\Quota::$quota¶ Source: lib/private/Files/Storage/Wrapper/Quota.php#45 Type: int
-
protected static property
OC\Files\Storage\Wrapper\Quota::$sizeRoot¶ Source: lib/private/Files/Storage/Wrapper/Quota.php#50 Type: string
Methods¶
-
public
OC\Files\Storage\Wrapper\Quota::__construct($parameters)¶ Source: Parameters: - $parameters (array)
-
public
OC\Files\Storage\Wrapper\Quota::getQuota()¶ Source: lib/private/Files/Storage/Wrapper/Quota.php#67 Returns: int quota value
-
protected
OC\Files\Storage\Wrapper\Quota::getSize($path, $storage=null)¶ Source: Parameters: - $path (string)
- $storage (
OC\Files\Storage\Storage)
-
public
OC\Files\Storage\Wrapper\Quota::free_space($path)¶ - Get free space as limited by the quota
Source: Parameters: - $path (string)
Returns: int | bool
-
public
OC\Files\Storage\Wrapper\Quota::file_put_contents($path, $data)¶ -
Source: Parameters: - $path (string)
- $data (mixed)
Returns: int | bool
-
public
OC\Files\Storage\Wrapper\Quota::copy($source, $target)¶ -
Source: Parameters: - $source (string)
- $target (string)
Returns: bool
-
public
OC\Files\Storage\Wrapper\Quota::fopen($path, $mode)¶ -
Source: Parameters: - $path (string)
- $mode (string)
Returns: resource | bool
-
public
OC\Files\Storage\Wrapper\Quota::copyFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath)¶ Source: Parameters: - $sourceStorage (
OCP\Files\Storage\IStorage) - $sourceInternalPath (string)
- $targetInternalPath (string)
Returns: bool
- $sourceStorage (
-
public
OC\Files\Storage\Wrapper\Quota::moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath)¶ Source: Parameters: - $sourceStorage (
OCP\Files\Storage\IStorage) - $sourceInternalPath (string)
- $targetInternalPath (string)
Returns: bool
- $sourceStorage (
-
public
OC\Files\Storage\Wrapper\Quota::mkdir($path)¶ Source: lib/private/Files/Storage/Wrapper/Quota.php#229
-
public
OC\Files\Storage\Wrapper\Quota::touch($path, $mtime=null)¶ Source: lib/private/Files/Storage/Wrapper/Quota.php#238