|
ILIAS
Release_3_10_x_branch Revision 61812
|
The PGTStorage class is a generic class for PGT storage. More...
Inheritance diagram for PGTStorage:
Collaboration diagram for PGTStorage:Public Member Functions | |
| getStorageType () | |
| This virtual method returns an informational string giving the type of storage used by the object (used for debugging purposes). | |
| getStorageInfo () | |
| This virtual method returns an informational string giving informations on the parameters of the storage. | |
| getErrorMessage () | |
| This method returns an error message set by PGTStorage::setErrorMessage(). | |
Protected Member Functions | |
| PGTStorage ($cas_parent) | |
| The constructor of the class, should be called only by inherited classes. | |
| setErrorMessage ($error_message) | |
| This method sets en error message, which can be read later by PGTStorage::getErrorMessage(). | |
| isInitialized () | |
| This method tells if the storage has already been intialized. | |
| init () | |
| This virtual method initializes the object. | |
| write ($pgt, $pgt_iou) | |
| This virtual method stores a PGT and its corresponding PGT Iuo. | |
| read ($pgt_iou) | |
| This virtual method reads a PGT corresponding to a PGT Iou and deletes the corresponding storage entry. | |
Private Attributes | |
| $_error_message | |
| string used to store an error message. | |
| $_initialized | |
| a boolean telling if the storage has already been initialized. | |
The PGTStorage 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 18 of file pgt-main.php.