Classes | |
class | PGTStorageFile |
Functions | |
PGTStorageFile::getPath () | |
PGTStorageFile::getFormat () | |
PGTStorageFile::getStorageType () | |
PGTStorageFile::getStorageInfo () | |
PGTStorageFile::PGTStorageFile ($cas_parent, $format, $path) | |
PGTStorageFile::init () | |
PGTStorageFile::getPGTIouFilename ($pgt_iou) | |
PGTStorageFile::write ($pgt, $pgt_iou) | |
PGTStorageFile::read ($pgt_iou) | |
Variables | |
PGTStorageFile::$_path | |
PGTStorageFile::$_format |
|
This method returns the format to use when storing PGT's on the filesystem.
Definition at line 61 of file pgt-file.php. Referenced by PGTStorageFile::getPGTIouFilename(). |
|
This method returns the name of the directory where PGT's should be stored on the filesystem.
Definition at line 41 of file pgt-file.php. Referenced by PGTStorageFile::getPGTIouFilename(). |
|
This method returns the filename corresponding to a PGT Iou.
Definition at line 170 of file pgt-file.php. References PGTStorageFile::getFormat(), PGTStorageFile::getPath(), PGTStorageFile::getPGTIouFilename(), and phpCAS::traceBegin(). Referenced by PGTStorageFile::getPGTIouFilename(). |
|
This method returns an informational string giving informations on the parameters of the storage.(used for debugging purposes).
Reimplemented from PGTStorage. Definition at line 89 of file pgt-file.php. |
|
This method returns an informational string giving the type of storage used by the object (used for debugging purposes).
Reimplemented from PGTStorage. Definition at line 77 of file pgt-file.php. |
|
This method is used to initialize the storage. Halts on error. Reimplemented from PGTStorage. Definition at line 147 of file pgt-file.php. References PGTStorage::isInitialized(), and phpCAS::traceBegin(). |
|
The class constructor, called by CASClient::SetPGTStorageFile().
Definition at line 107 of file pgt-file.php. References CAS_PGT_STORAGE_FILE_DEFAULT_FORMAT, CAS_PGT_STORAGE_FILE_DEFAULT_PATH, CAS_PGT_STORAGE_FILE_FORMAT_PLAIN, CAS_PGT_STORAGE_FILE_FORMAT_XML, and phpCAS::traceBegin(). |
|
This method reads a PGT corresponding to a PGT Iou and deletes the corresponding file.
Reimplemented from PGTStorage. Definition at line 211 of file pgt-file.php. References PGTStorageFile::read(), and phpCAS::traceBegin(). Referenced by PGTStorageFile::read(). |
|
This method stores a PGT and its corresponding PGT Iou into a file. Echoes a warning on error.
Reimplemented from PGTStorage. Definition at line 186 of file pgt-file.php. References phpCAS::traceBegin(), and PGTStorageFile::write(). Referenced by PGTStorageFile::write(). |
|
a string telling the format to use to store PGT's (plain or xml). Written by PGTStorageFile::PGTStorageFile(), read by getFormat(). Definition at line 52 of file pgt-file.php. |
|
a string telling where PGT's should be stored on the filesystem. Written by PGTStorageFile::PGTStorageFile(), read by getPath(). Definition at line 31 of file pgt-file.php. |