WACT_CONTROLLERS
[ class tree: WACT_CONTROLLERS ] [ index: WACT_CONTROLLERS ] [ all elements ]

Class: ServerCachedPageController

Source Location: /framework/controllers/cachecontroller.inc.php

http://wact.sourceforge.net/index.php/ServerCachedPageController

Class Overview


Page Controller for file caching output

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

Page Controller for file caching output

Class Variables


$Age =

* Last file modification time (Unix Timestamp)
access:  private
Type:   int

$CachePath =

*
access:  private
Type:   string

$FileName =

*
access:  private
Type:   string

Class Methods


method DisplayCachedPage

Echoes the page stored in the cache to the output buffer, sending the corresponding content length HTTP header as well

void DisplayCachedPage( )

API Tags:

access:  private

method IsCached

Determine whether page is cached

boolean IsCached( )

API Tags:

access:  public

method IsExpired

Determine whether cache page has expired

boolean IsExpired( int $Age)

API Tags:

access:  public

Parameters:

int   $Age   timestamp - the age of the cache

method run

Run the controller, displaying the page

void run( )

API Tags:

access:  public
WACT: Copyright 2003 Procata, Inc. Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html)
Documentation generated on Sun, 28 Nov 2004 19:44:21 -0800 by phpDocumentor 1.2.3