eZExpiryHandler Class Reference

Keeps track of expiry keys and their timestamps. More...

List of all members.

Public Member Functions

 eZExpiryHandler ()
 hasTimestamp ($name)
 isModified ()
 restore ()
 setTimestamp ($name, $value)
 store ()
 timestamp ($name)

Static Public Member Functions

instance ()

Private Attributes

 $IsModified
 $Timestamps

Detailed Description

Keeps track of expiry keys and their timestamps.

Definition at line 42 of file ezexpiryhandler.php.


Member Function Documentation

eZExpiryHandler::eZExpiryHandler (  ) 

Constructor

Definition at line 47 of file ezexpiryhandler.php.

Referenced by instance().

eZExpiryHandler::hasTimestamp ( name  ) 
Returns:
true if the expiry key $name exists.

Definition at line 129 of file ezexpiryhandler.php.

& eZExpiryHandler::instance (  )  [static]
eZExpiryHandler::isModified (  ) 
Returns:
true if the expiry handler has modified data.

Definition at line 164 of file ezexpiryhandler.php.

eZExpiryHandler::restore (  ) 

Will load timestamp values from disk.

Definition at line 57 of file ezexpiryhandler.php.

Referenced by eZExpiryHandler().

eZExpiryHandler::setTimestamp ( name,
value 
)

Sets the timestamp value $value for expiry key $name.

Definition at line 120 of file ezexpiryhandler.php.

eZExpiryHandler::store (  ) 

Will store the current timestamp values to disk.

Definition at line 83 of file ezexpiryhandler.php.

eZExpiryHandler::timestamp ( name  ) 
Returns:
the timestamp value for the expiry key $name if it exists or false if not,

Definition at line 137 of file ezexpiryhandler.php.


Member Data Documentation

eZExpiryHandler::$IsModified [private]

Definition at line 171 of file ezexpiryhandler.php.

eZExpiryHandler::$Timestamps [private]

Definition at line 170 of file ezexpiryhandler.php.

Referenced by restore().


The documentation for this class was generated from the following file:
Generated on Mon Jul 12 07:10:26 2010 for eZ publish by  doxygen 1.6.3