|  | FRED™
    3.0
    FRED™: Framework for Rapid and Easy Development | 
 
  
 | Public Member Functions | |
| __construct ($stream, $config) | |
| 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... | |
|  Public Member Functions inherited from Thing | |
| 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) | |
| Protected Attributes | |
| $_stream | |
| $_config = null | |
|  Protected Attributes inherited from Thing | |
| $_published = [] | |
| Published properties (key = name of property, value = visibility).  More... | |
| Additional Inherited Members | |
|  Data Fields inherited from Thing | |
| const | HIDDEN = 0 | 
| Property is hidden.  More... | |
| const | READABLE = 1 | 
| Property is readable.  More... | |
| const | WRITEABLE = 2 | 
| Property is writeable.  More... | |
| const | READWRITE = 3 | 
| Property is readable and writeable.  More... | |
|  Protected Member Functions inherited from Thing | |
| 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... | |
Stream handler.
In this default implementation all requests are forwarded to the next handler in the chain.
Definition at line 9 of file Handler.php.
| __construct | ( | $stream, | |
| $config | |||
| ) | 
Definition at line 14 of file Handler.php.
| delete | ( | $handlers, | |
| $filename, | |||
| $params = null | |||
| ) | 
Save a file.
| array | $handlers | Downstream handlers. | 
| string | $filename | Filename. | 
| array | $params | Parameters. | 
Definition at line 75 of file Handler.php.
| exists | ( | $handlers, | |
| $filename, | |||
| $params = null | |||
| ) | 
Check if a file exists.
| array | $handlers | Downstream handlers. | 
| string | $filename | Filename. | 
| array | $params | Parameters. | 
Definition at line 34 of file Handler.php.
| read | ( | $handlers, | |
| $filename, | |||
| $params = null | |||
| ) | 
Read a file.
| array | $handlers | Downstream handlers. | 
| string | $filename | Filename. | 
| array | $params | Parameters. | 
Definition at line 54 of file Handler.php.
| save | ( | $handlers, | |
| $filename, | |||
| $params, | |||
| $data | |||
| ) | 
Save a file.
| array | $handlers | Downstream handlers. | 
| string | $filename | Filename. | 
| array | $params | Parameters. | 
| string | $data | Binary data. | 
Definition at line 65 of file Handler.php.
| search | ( | $handlers, | |
| $mask = '*' | |||
| ) | 
Search for files.
| array | $handlers | Downstream handlers. | 
| string | $mask | Filter mask. | 
Definition at line 24 of file Handler.php.
| time | ( | $handlers, | |
| $filename, | |||
| $params = null | |||
| ) | 
Modification time of a file.
| array | $handlers | Downstream handlers. | 
| string | $filename | Filename. | 
| array | $params | Parameters. | 
Definition at line 44 of file Handler.php.
| 
 | protected | 
Definition at line 12 of file Handler.php.
| 
 | protected | 
Definition at line 11 of file Handler.php.