Quota

class OC\Files\Stream\Quota
stream wrapper limits the amount of data that can be written to a stream
usage: resource \OC\Files\Stream\Quota::wrap($stream, $limit)
Source:lib/private/Files/Stream/Quota.php#36
Parent:Icewind\Streams\Wrapper

Properties

Methods

public static OC\Files\Stream\Quota::wrap($stream, $limit)
Source:

lib/private/Files/Stream/Quota.php#47

Parameters:
  • $stream (resource)
  • $limit (int)
Returns:

bool | resource

public OC\Files\Stream\Quota::stream_open($path, $mode, $options, &$opened_path)
Source:lib/private/Files/Stream/Quota.php#57
public OC\Files\Stream\Quota::dir_opendir($path, $options)
Source:lib/private/Files/Stream/Quota.php#65
public OC\Files\Stream\Quota::stream_seek($offset, $whence=SEEK_SET)
Source:lib/private/Files/Stream/Quota.php#69
public OC\Files\Stream\Quota::stream_read($count)
Source:lib/private/Files/Stream/Quota.php#89
public OC\Files\Stream\Quota::stream_write($data)
Source:lib/private/Files/Stream/Quota.php#94