ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Namespaces | |
PhpCAS | |
Functions | |
CAS_PGTStorage_File::getPath () | |
This method returns the name of the directory where PGT's should be stored on the filesystem. More... | |
CAS_PGTStorage_File::getStorageType () | |
This method returns an informational string giving the type of storage used by the object (used for debugging purposes). More... | |
CAS_PGTStorage_File::getStorageInfo () | |
This method returns an informational string giving informations on the parameters of the storage. More... | |
CAS_PGTStorage_File::__construct ($cas_parent, $path) | |
The class constructor, called by CAS_Client::SetPGTStorageFile(). More... | |
CAS_PGTStorage_File::init () | |
This method is used to initialize the storage. More... | |
CAS_PGTStorage_File::getPGTIouFilename ($pgt_iou) | |
This method returns the filename corresponding to a PGT Iou. More... | |
CAS_PGTStorage_File::write ($pgt, $pgt_iou) | |
This method stores a PGT and its corresponding PGT Iou into a file. More... | |
CAS_PGTStorage_File::read ($pgt_iou) | |
This method reads a PGT corresponding to a PGT Iou and deletes the corresponding file. More... | |
Variables | |
CAS_PGTStorage_File::$_path | |
a string telling where PGT's should be stored on the filesystem. More... | |
CAS_PGTStorage_File::__construct | ( | $cas_parent, | |
$path | |||
) |
The class constructor, called by CAS_Client::SetPGTStorageFile().
CAS_Client | $cas_parent | the CAS_Client instance that creates the object. |
string | $path | the path where the PGT's should be stored |
Definition at line 115 of file File.php.
References $path, CAS_PGT_STORAGE_FILE_DEFAULT_PATH, phpCAS\error(), phpCAS\traceBegin(), and phpCAS\traceEnd().
|
private |
This method returns the name of the directory where PGT's should be stored on the filesystem.
Definition at line 68 of file File.php.
References CAS_PGTStorage_File\$_path.
Referenced by CAS_PGTStorage_File\getPGTIouFilename().
|
private |
This method returns the filename corresponding to a PGT Iou.
string | $pgt_iou | the PGT iou. |
Definition at line 180 of file File.php.
References $filename, CAS_PGTStorage_File\getPath(), GuzzleHttp\Psr7\hash(), phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceEnd().
Referenced by CAS_PGTStorage_File\read(), and CAS_PGTStorage_File\write().
CAS_PGTStorage_File::getStorageInfo | ( | ) |
CAS_PGTStorage_File::getStorageType | ( | ) |
CAS_PGTStorage_File::init | ( | ) |
This method is used to initialize the storage.
Halts on error.
Definition at line 156 of file File.php.
References CAS_PGTStorage_AbstractStorage\isInitialized(), phpCAS\traceBegin(), and phpCAS\traceEnd().
CAS_PGTStorage_File::read | ( | $pgt_iou | ) |
This method reads a PGT corresponding to a PGT Iou and deletes the corresponding file.
string | $pgt_iou | the PGT iou |
Definition at line 234 of file File.php.
References phpCAS\error(), CAS_PGTStorage_File\getPGTIouFilename(), phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceEnd().
CAS_PGTStorage_File::write | ( | $pgt, | |
$pgt_iou | |||
) |
This method stores a PGT and its corresponding PGT Iou into a file.
Echoes a warning on error.
string | $pgt | the PGT |
string | $pgt_iou | the PGT iou |
Definition at line 201 of file File.php.
References phpCAS\error(), CAS_PGTStorage_File\getPGTIouFilename(), phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceEnd().
|
private |
a string telling where PGT's should be stored on the filesystem.
Written by PGTStorageFile::PGTStorageFile(), read by getPath().
Definition at line 58 of file File.php.
Referenced by CAS_PGTStorage_File\getPath().