ILIAS
release_4-4 Revision
|
The PGTStorage class is a generic class for PGT storage. More...
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... | |
getErrorMessage () | |
This method returns an error message set by PGTStorage::setErrorMessage(). More... | |
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... | |
getErrorMessage () | |
This method returns an error message set by PGTStorage::setErrorMessage(). More... | |
Protected Member Functions | |
PGTStorage ($cas_parent) | |
The constructor of the class, should be called only by inherited classes. More... | |
setErrorMessage ($error_message) | |
This method sets en error message, which can be read later by PGTStorage::getErrorMessage(). More... | |
isInitialized () | |
This method tells if the storage has already been intialized. 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... | |
PGTStorage ($cas_parent) | |
The constructor of the class, should be called only by inherited classes. More... | |
setErrorMessage ($error_message) | |
This method sets en error message, which can be read later by PGTStorage::getErrorMessage(). More... | |
isInitialized () | |
This method tells if the storage has already been intialized. 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... | |
Private Attributes | |
$_error_message | |
string used to store an error message. More... | |
$_initialized | |
a boolean telling if the storage has already been initialized. More... | |
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 45 of file pgt-main.php.
PGTStorage::getErrorMessage | ( | ) |
This method returns an error message set by PGTStorage::setErrorMessage().
Definition at line 108 of file pgt-main.php.
References $_error_message, and $_initialized.
PGTStorage::getStorageInfo | ( | ) |
This virtual method returns an informational string giving informations on the parameters of the storage.
(used for debugging purposes).
Definition at line 66 of file pgt-main.php.
References $_error_message, and phpCAS\error().
PGTStorage::getStorageType | ( | ) |
This virtual method returns an informational string giving the type of storage used by the object (used for debugging purposes).
Definition at line 55 of file pgt-main.php.
References phpCAS\error().
|
protected |
This virtual method initializes the object.
Definition at line 143 of file pgt-main.php.
|
protected |
This method tells if the storage has already been intialized.
Definition at line 133 of file pgt-main.php.
References $_initialized.
|
protected |
The constructor of the class, should be called only by inherited classes.
$cas_parent | the CASclient instance that creates the current object. |
Definition at line 36 of file pgt-main.php.
References phpCAS\error(), phpCAS\traceBegin(), and phpCAS\traceEnd().
|
protected |
This virtual method reads a PGT corresponding to a PGT Iou and deletes the corresponding storage entry.
$pgt_iou | the PGT iou |
Definition at line 175 of file pgt-main.php.
References phpCAS\error().
|
protected |
This method sets en error message, which can be read later by PGTStorage::getErrorMessage().
$error_message | an error message |
Definition at line 94 of file pgt-main.php.
|
protected |
This virtual method stores a PGT and its corresponding PGT Iuo.
$pgt | the PGT |
$pgt_iou | the PGT iou |
Definition at line 161 of file pgt-main.php.
References phpCAS\error().