PHP 클래스 Horde_Core_HashTable_Vfs, horde

This is a common use-case for Horde applications (i.e. it allows direct manipulation of filedata uploaded from the browser without needing to read the file into memory), and allows us to take advantage of these VFS features in combination with the cleanup and simplicity features of HashTable.
부터: 2.13.0
저자: Michael Slusarz ([email protected])
상속: extends Horde_HashTable_Vfs
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_stream boolean Return get data as stream objects?

공개 메소드들

메소드 설명
__construct ( array $params = [] )
gc ( integer $expire ) Perform garbage collection on the VFS path.
getStream ( mixed $keys ) : mixed Get data associated with a key(s).

보호된 메소드들

메소드 설명
_get ( $keys )
_set ( $key, $val, array $opts )

메소드 상세

__construct() 공개 메소드

public __construct ( array $params = [] )
$params array

_get() 보호된 메소드

protected _get ( $keys )

_set() 보호된 메소드

protected _set ( $key, $val, array $opts )
$opts array Additional option honored in this driver: - filename: (boolean) If true, $val is a filename containing the data to be saved rather than the data itself.

gc() 공개 메소드

Perform garbage collection on the VFS path.
public gc ( integer $expire )
$expire integer Expire entries older than this value (in seconds).

getStream() 공개 메소드

Get data associated with a key(s).
public getStream ( mixed $keys ) : mixed
$keys mixed The key or an array of keys.
리턴 mixed The string/array on success (return type is the type of $keys); Horde_Stream objects are returned on success, false value(s) on failure.

프로퍼티 상세

$_stream 보호되어 있는 프로퍼티

Return get data as stream objects?
protected bool $_stream
리턴 boolean