Static Public Member Functions |
static | set ($seconds=60) |
| Sets the amount of time before a page expires.
|
static | check ($seconds=60) |
| Checks to see if a page should be updated or send Not Modified status.
|
static | check_headers () |
| Check headers already created to not step on download or Img_lib's feet.
|
static | prevent_output () |
| Prevent any output from being displayed.
|
Member Function Documentation
static expires::check |
( |
|
$seconds = 60 | ) |
|
|
static |
Checks to see if a page should be updated or send Not Modified status.
- Parameters
-
integer | Seconds added to the modified time received to calculate what should be sent |
- Returns
- bool FALSE when the request needs to be updated
static expires::check_headers |
( |
| ) |
|
|
static |
Check headers already created to not step on download or Img_lib's feet.
- Returns
- boolean
static expires::prevent_output |
( |
| ) |
|
|
static |
Prevent any output from being displayed.
Executed during system.display.
- Returns
- void
static expires::set |
( |
|
$seconds = 60 | ) |
|
|
static |
Sets the amount of time before a page expires.
- Parameters
-
integer | Seconds before the page expires |
- Returns
- boolean
The documentation for this class was generated from the following file: