FastFileResponder Class Info:
- Class Declaration:
class FastFileResponder
- File name:
- app/fast_file_responder.php
- Description:
This class enables a fast file response without the framework stack of CakePHP. It checks the session and the URL and returns a valid file */
Properties:
Show/Hide parent properties
-
items
-
sessionCookie
Should be same as in app/config/core.php Session.cookie */
-
sessionKey
checkClientCache
topEvaluates the client file cache and response if the client has still a valid file
- Parameters:
-
-
$filename required
-
- Method defined in:
- app/fast_file_responder.php on line 117
deleteExpiredItems
topDeletes expired itemes from the session list */
- Method defined in:
- app/fast_file_responder.php on line 50
exists
topEvaluates if a valid cache file exists */
- Method defined in:
- app/fast_file_responder.php on line 139
getFilename
topgetItemKey
topExtracts the item key from the url and returns it. Returns false if no key could be found */
- Method defined in:
- app/fast_file_responder.php on line 71
getRequestHeaders
toplog
topSimple log function for debug purpos */
- Parameters:
-
-
$msg required
-
- Method defined in:
- app/fast_file_responder.php on line 63
send
topSends the cache file if it exists and exit. If it returns an error occured */
- Method defined in:
- app/fast_file_responder.php on line 145
sendResponseHeaders
topstartSession
topStarts the session if the session sessionCookie is set */
- Method defined in:
- app/fast_file_responder.php on line 37
