| [ Index ] |
|
Code source de Claroline 188 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 238 lignes (6 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
PGTStorageFile:: (9 méthodes):
getPath()
getFormat()
getStorageType()
getStorageInfo()
PGTStorageFile()
init()
getPGTIouFilename()
write()
read()
Classe: PGTStorageFile - X-Ref
| getPath() X-Ref |
| This method returns the name of the directory where PGT's should be stored on the filesystem. return: the name of a directory (with leading and trailing '/') |
| getFormat() X-Ref |
| This method returns the format to use when storing PGT's on the filesystem. return: a string corresponding to the format used (plain or xml). |
| getStorageType() X-Ref |
| This method returns an informational string giving the type of storage used by the object (used for debugging purposes). return: an informational string. |
| getStorageInfo() X-Ref |
| This method returns an informational string giving informations on the parameters of the storage.(used for debugging purposes). return: an informational string. |
| PGTStorageFile($cas_parent,$format,$path) X-Ref |
| The class constructor, called by CASClient::SetPGTStorageFile(). param: $cas_parent the CASClient instance that creates the object. param: $format the format used to store the PGT's (`plain' and `xml' allowed). param: $path the path where the PGT's should be stored |
| init() X-Ref |
| This method is used to initialize the storage. Halts on error. |
| getPGTIouFilename($pgt_iou) X-Ref |
| This method returns the filename corresponding to a PGT Iou. param: $pgt_iou the PGT iou. return: a filename |
| write($pgt,$pgt_iou) X-Ref |
| This method stores a PGT and its corresponding PGT Iou into a file. Echoes a warning on error. param: $pgt the PGT param: $pgt_iou the PGT iou |
| read($pgt_iou) X-Ref |
| This method reads a PGT corresponding to a PGT Iou and deletes the corresponding file. param: $pgt_iou the PGT iou return: the corresponding PGT, or FALSE on error |
| Généré le : Thu Nov 29 14:38:42 2007 | par Balluche grâce à PHPXref 0.7 |
|