ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
CAS_PGTStorage_AbstractStorage Class Reference

Basic class for PGT storage The CAS_PGTStorage_AbstractStorage class is a generic class for PGT storage. More...

+ Inheritance diagram for CAS_PGTStorage_AbstractStorage:
+ Collaboration diagram for CAS_PGTStorage_AbstractStorage:

Public Member Functions

 getStorageType ()
 This virtual method returns an informational string giving the type of storage used by the object (used for debugging purposes). More...
 
 getStorageInfo ()
 This virtual method returns an informational string giving informations on the parameters of the storage. More...
 
 setErrorMessage ($error_message)
 This method sets en error message, which can be read later by PGTStorage::getErrorMessage(). More...
 
 getErrorMessage ()
 This method returns an error message set by PGTStorage::setErrorMessage(). More...
 
 init ()
 This virtual method initializes the object. More...
 
 write ($pgt, $pgt_iou)
 This virtual method stores a PGT and its corresponding PGT Iuo. More...
 
 read ($pgt_iou)
 This virtual method reads a PGT corresponding to a PGT Iou and deletes the corresponding storage entry. More...
 

Data Fields

 $_error_message
 string used to store an error message. More...
 
 $_initialized
 a boolean telling if the storage has already been initialized. More...
 

Protected Member Functions

 __construct ($cas_parent)
 The constructor of the class, should be called only by inherited classes. More...
 
 isInitialized ()
 This method tells if the storage has already been intialized. More...
 

Detailed Description

Basic class for PGT storage The CAS_PGTStorage_AbstractStorage class is a generic class for PGT storage.

This class should not be instanciated itself but inherited by specific PGT storage classes.

Definition at line 46 of file AbstractStorage.php.


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