diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-06 22:02:16 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-06 22:02:16 +0200 |
commit | 5d55c709dddad44984446efa49ceb7084fc16b3f (patch) | |
tree | fd7d0a280ab436eb40d89a3acc9e00ee8ed284f4 /lib/public/response.php | |
parent | 2edf59c026ef7c59551072ab5bfcdac576e3d65b (diff) | |
download | nextcloud-server-5d55c709dddad44984446efa49ceb7084fc16b3f.tar.gz nextcloud-server-5d55c709dddad44984446efa49ceb7084fc16b3f.zip |
some more documentation cleanups. much more is needed.
And greeting from the Atlanta airport. ;-)
Diffstat (limited to 'lib/public/response.php')
-rw-r--r-- | lib/public/response.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/public/response.php b/lib/public/response.php index 2efa74ef840..5049b0c54cf 100644 --- a/lib/public/response.php +++ b/lib/public/response.php @@ -40,8 +40,8 @@ class Response { * 0 and <0 enable default browser caching * null cache indefinitly */ - static public function enableCaching($cache_time = null) { - return(\OC_Response::enableCaching($cache_time)); + static public function enableCaching( $cache_time = null ) { + return(\OC_Response::enableCaching( $cache_time )); } @@ -50,8 +50,8 @@ class Response { * 'not modified' response * @param $lastModified time when the reponse was last modified */ - static public function setLastModifiedHeader($lastModified) { - return(\OC_Response::setLastModifiedHeader($lastModified)); + static public function setLastModifiedHeader( $lastModified ) { + return(\OC_Response::setLastModifiedHeader( $lastModified )); } @@ -69,8 +69,8 @@ class Response { * 'not modified' response * @param $etag token to use for modification check */ - static public function setETagHeader($etag) { - return(\OC_Response::setETagHeader($etag)); + static public function setETagHeader( $etag ) { + return(\OC_Response::setETagHeader( $etag )); } @@ -78,8 +78,8 @@ class Response { * @brief Send file as response, checking and setting caching headers * @param $filepath of file to send */ - static public function sendFile($filepath) { - return(\OC_Response::sendFile($filepath)); + static public function sendFile( $filepath ) { + return(\OC_Response::sendFile( $filepath )); } /** @@ -88,16 +88,16 @@ class Response { * string for DateInterval from now * DateTime object when to expire response */ - static public function setExpiresHeader($expires) { - return(\OC_Response::setExpiresHeader($expires)); + static public function setExpiresHeader( $expires ) { + return(\OC_Response::setExpiresHeader( $expires )); } /** * @brief Send redirect response * @param $location to redirect to */ - static public function redirect($location) { - return(\OC_Response::redirect($location)); + static public function redirect( $location ) { + return(\OC_Response::redirect( $location )); } |