eZPublish  3.8
eZExpiryHandler Class Reference

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

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.

Member Function Documentation

eZExpiryHandler::eZExpiryHandler ( )

Constructor

Referenced by instance().

eZExpiryHandler::hasTimestamp (   $name)
Returns
true if the expiry key $name exists.
eZExpiryHandler::isModified ( )
Returns
true if the expiry handler has modified data.
eZExpiryHandler::restore ( )

Will load timestamp values from disk.

Referenced by eZExpiryHandler().

eZExpiryHandler::setTimestamp (   $name,
  $value 
)

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

eZExpiryHandler::store ( )

Will store the current timestamp values to disk.

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

Member Data Documentation

eZExpiryHandler::$IsModified
private

Referenced by isModified().

eZExpiryHandler::$Timestamps
private

Referenced by restore().


The documentation for this class was generated from the following file: