Static Public Member Functions | |
static | forFile ($path, $content=null) |
static | expires ($seconds) |
static | cache ($seconds=null) |
Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales @gen tics. comhttp://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.
Class for helping in work with headers
Definition at line 12 of file HeadersHelper.php.
|
static |
Build cache control header for file
string | $filename | |
int | $seconds | how long the file should be cached in browser |
Definition at line 59 of file HeadersHelper.php.
Referenced by RendererController\actionStatic().
|
static |
Build expires headers for file
int | $seconds | seconds before content expires |
Definition at line 42 of file HeadersHelper.php.
Referenced by RendererController\actionStatic().
|
static |
Build content headers for file content.
string | $path | file path |
string | $content | file content |
Definition at line 23 of file HeadersHelper.php.
Referenced by RendererController\actionStatic().