|
| handlersExist ($handlers) |
| Check if the handlers exist. More...
|
|
| handler ($name) |
| Get a stream handler. More...
|
|
| search ($handlers, $mask=' *') |
| Search for files. More...
|
|
| exists ($handlers, $filename, $params=null) |
| Check if a file exists. More...
|
|
| time ($handlers, $filename, $params=null) |
| Modification time of a file. More...
|
|
| read ($handlers, $filename, $params=null) |
| Read a file. More...
|
|
| save ($handlers, $filename, $params, $data) |
| Save a file. More...
|
|
| delete ($handlers, $filename, $params=null) |
| Save a file. More...
|
|
| __construct ($fred, $config=null) |
|
| __destruct () |
|
| clientConfig () |
| Public configuration. More...
|
|
| config ($key, $default=null) |
| Retrieve a config value. More...
|
|
| ping () |
| Ping function. More...
|
|
| filemtime ($filename) |
| Filemtime with session cache. More...
|
|
| component ($name) |
| Get a component (local or default). More...
|
|
| components (... $names) |
| Get multiple components in an array. More...
|
|
| propertyExists ($property) |
| Check if a property exists (public or published). More...
|
|
| constants ($prefix=null) |
| Return all constants. More...
|
|
| get ($key) |
| Get one or more properties. More...
|
|
| set ($key, $value=null) |
| Set one or more properties. More...
|
|
| __get ($key) |
|
| __set ($key, $value) |
|
|
| init () |
|
| init () |
|
| done () |
|
| getSession () |
|
| publish ($property, $visibility=self::READABLE) |
| Publish a property (or hide it again). More...
|
|
| configure ($config) |
| Configure the object. More...
|
|
| _get ($key) |
| Default getter if no specific setter is defined, and the property is also not published (readable). More...
|
|
| _set ($key, $value) |
| Default setter if no specific setter is defined, and the property is also not published (writeable). More...
|
|
Definition at line 5 of file Stream.php.
◆ delete()
delete |
( |
|
$handlers, |
|
|
|
$filename, |
|
|
|
$params = null |
|
) |
| |
Save a file.
- Parameters
-
array | $handlers | Downstream handlers. |
string | $filename | Filename. |
array | $params | Parameters. |
- Returns
- bool True when succesful.
Definition at line 105 of file Stream.php.
◆ exists()
exists |
( |
|
$handlers, |
|
|
|
$filename, |
|
|
|
$params = null |
|
) |
| |
Check if a file exists.
- Parameters
-
array | $handlers | Downstream handlers. |
string | $filename | Filename. |
array | $params | Parameters. |
- Returns
- bool
Definition at line 56 of file Stream.php.
◆ handler()
◆ handlersExist()
handlersExist |
( |
|
$handlers | ) |
|
Check if the handlers exist.
- Parameters
-
- Returns
- bool True if all handlers exist.
Definition at line 21 of file Stream.php.
◆ init()
◆ read()
read |
( |
|
$handlers, |
|
|
|
$filename, |
|
|
|
$params = null |
|
) |
| |
Read a file.
- Parameters
-
array | $handlers | Downstream handlers. |
string | $filename | Filename. |
array | $params | Parameters. |
- Returns
- string Binary data.
Definition at line 80 of file Stream.php.
◆ save()
save |
( |
|
$handlers, |
|
|
|
$filename, |
|
|
|
$params, |
|
|
|
$data |
|
) |
| |
Save a file.
- Parameters
-
array | $handlers | Downstream handlers. |
string | $filename | Filename. |
array | $params | Parameters. |
string | $data | Binary data. |
- Returns
- bool True when succesful.
Definition at line 93 of file Stream.php.
◆ search()
search |
( |
|
$handlers, |
|
|
|
$mask = '*' |
|
) |
| |
Search for files.
- Parameters
-
array | $handlers | Downstream handlers. |
string | $mask | Filter mask. |
- Returns
- array Filenames found.
Definition at line 44 of file Stream.php.
◆ time()
time |
( |
|
$handlers, |
|
|
|
$filename, |
|
|
|
$params = null |
|
) |
| |
Modification time of a file.
- Parameters
-
array | $handlers | Downstream handlers. |
string | $filename | Filename. |
array | $params | Parameters. |
- Returns
- int Unix timestamp.
Definition at line 68 of file Stream.php.
◆ $className
$className = __CLASS__ . '\\Wrapper' |
◆ $handlers
◆ $protocol
The documentation for this class was generated from the following file:
- /var/www/fred.local/vendor/rsi/fred/src/Rsi/Fred/Stream.php