Public Member Functions | Private Member Functions | Private Attributes

PGTStorageDB Class Reference
[InternalPGTStorageDB]

The PGTStorageDB class is a class for PGT database storage. More...

Inheritance diagram for PGTStorageDB:
Collaboration diagram for PGTStorageDB:

Public Member Functions

 getStorageType ()
 This method returns an informational string giving the type of storage used by the object (used for debugging purposes).
 getStorageInfo ()
 This method returns an informational string giving informations on the parameters of the storage.
 PGTStorageDB ($cas_parent, $user, $password, $database_type, $hostname, $port, $database, $table)
 The class constructor, called by CASClient::SetPGTStorageDB().
 init ()
 This method is used to initialize the storage.

Private Member Functions

 getURL ()
 This method returns the PEAR DB URL to use to connect to the database.
 getLink ()
 This method returns the handle of the connection to the database where PGT's are stored.
 getTable ()
 This method returns the name of the table where PGT's are stored.

Private Attributes

 $_url
 a string representing a PEAR DB URL to connect to the database.
 $_link
 The handle of the connection to the database where PGT's are stored.
 $_table
 The name of the table where PGT's are stored.

Detailed Description

The PGTStorageDB class is a class for PGT database storage.

An instance of this class is returned by CASClient::SetPGTStorageDB().

Author:
Pascal Aubry <pascal.aubry at univ-rennes1.fr>

Definition at line 24 of file pgt-db.php.


The documentation for this class was generated from the following file: