70 if (!$cas_parent->isProxy()) {
72 'defining PGT storage makes no sense when not using a CAS proxy' 92 phpCAS::error(__CLASS__ .
'::' . __FUNCTION__ .
'() should never be called');
105 phpCAS::error(__CLASS__ .
'::' . __FUNCTION__ .
'() should never be called');
133 $this->_error_message = $error_message;
180 $this->_initialized =
true;
198 public function write($pgt, $pgt_iou)
200 phpCAS::error(__CLASS__ .
'::' . __FUNCTION__ .
'() should never be called');
215 phpCAS::error(__CLASS__ .
'::' . __FUNCTION__ .
'() should never be called');
$_error_message
string used to store an error message.
static error($msg)
This method is used by interface methods to print an error and where the function was originally call...
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.
static traceEnd($res='')
This method is used to indicate the end of the execution of a function in debug mode.
write($pgt, $pgt_iou)
This virtual method stores a PGT and its corresponding PGT Iuo.
init()
This virtual method initializes the object.
getStorageInfo()
This virtual method returns an informational string giving informations on the parameters of the stor...
getErrorMessage()
This method returns an error message set by PGTStorage::setErrorMessage().
Basic class for PGT storage The CAS_PGTStorage_AbstractStorage class is a generic class for PGT stora...
read($pgt_iou)
This virtual method reads a PGT corresponding to a PGT Iou and deletes the corresponding storage entr...
__construct($cas_parent)
The constructor of the class, should be called only by inherited classes.
static traceBegin()
This method is used to indicate the start of the execution of a function in debug mode...
getStorageType()
This virtual method returns an informational string giving the type of storage used by the object (us...
$_initialized
a boolean telling if the storage has already been initialized.