Proxy for files that are outside of the public document root.
More...
|
| | getFiles () |
| |
| | 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...
|
| |
Proxy for files that are outside of the public document root.
Definition at line 8 of file Proxy.php.
◆ add()
| add |
( |
|
$filename, |
|
|
|
$alias = null |
|
) |
| |
Add a file to the list.
- Parameters
-
| string | $filename | |
| string | $alias | Alias for the file (a unique alias will be created when empty). |
- Returns
- string URL for the file.
Definition at line 40 of file Proxy.php.
◆ alias()
Create a unique alias for a filename.
- Parameters
-
- Returns
- string The generated alias.
Definition at line 27 of file Proxy.php.
◆ getFiles()
◆ serve()
Serve a file.
- Parameters
-
| string | $alias | Alias for the file. |
Definition at line 49 of file Proxy.php.
◆ url()
Create a URL for an alias.
- Parameters
-
| string | $alias | Alias for the file. |
- Returns
- string URL for the proxy call.
Definition at line 19 of file Proxy.php.
◆ $_files
◆ $controllerName
| $controllerName = 'Proxy' |
The documentation for this class was generated from the following file:
- /var/www/fred.local/vendor/rsi/fred/src/Rsi/Fred/Proxy.php