YANA 4 PHP Framework
Docs For Class SecureInputStream
checked reading of file sources
This class adds functionality to compute the checksum of a resource and failsafe reading of resources.
Located in /includes/class_secureinputstream.php
Object | --InputStream | --SecureInputStream
Class | Description |
---|---|
SecureFileStream | checked reading and writing of file sources |
VDrive | virtual Drive |
Name | Type | Description |
---|---|---|
$filename | string |
The filename parameter became available in version 2.8.5
Automatically restarts reading if the file-resource is temporarily not available after waiting for 0.5 seconds.
The process is aborted if it fails 3 times.
Redefinition of: InputStream::get()
Name | Type | Description |
---|---|---|
$filename |
Usefull to check whether or not a file has been changed since last access.
Note: results are cached for the file itself.
Returns bool(true) on success and bool(false) on error.
You accidently did something wrong with the file? Calling this will reload the file from disk while reseting its current state.
Redefinition of: Object::toString()
Inherited From InputStream
Inherited From Object
Documentation generated on Wed, 22 Nov 2006 20:19:15 +0100 by phpDocumentor 1.3.1