public function createTable()
    {
        phpCAS::traceBegin();

        // initialize this PGTStorage object if it hasn't been initialized yet
        if ( !$this->isInitialized() ) {
            $this->init();
        }

        // initialize the PDO object for this method
        $pdo = $this->_getPdo();
        $this->_setErrorMode();

        try {
            $pdo->beginTransaction();

            $query = $pdo->query($this->createTableSQL());
            $query->closeCursor();

            $pdo->commit();
        }
        catch(PDOException $e) {
            // attempt rolling back the transaction before throwing a phpCAS error
            try {
                $pdo->rollBack();
            }
            catch(PDOException $e) {
            }
            phpCAS::error('error creating PGT storage table: ' . $e->getMessage());
        }

        // reset the PDO object
        $this->_resetErrorMode();

        phpCAS::traceEnd();
    }
public function createTable()
    {
        phpCAS::traceBegin();

        // initialize this PGTStorage object if it hasn't been initialized yet
        if ( !$this->isInitialized() ) {
            $this->init();
        }

        // initialize the PDO object for this method
        $pdo = $this->_getPdo();
        $this->_setErrorMode();

        try {
            $pdo->beginTransaction();

            $query = $pdo->query($this->createTableSQL());
            $query->closeCursor();

            $pdo->commit();
        }
        catch(PDOException $e) {
            // attempt rolling back the transaction before throwing a phpCAS error
            try {
                $pdo->rollBack();
            }
            catch(PDOException $e) {
            }
            phpCAS::error('error creating PGT storage table: ' . $e->getMessage());
        }

        // reset the PDO object
        $this->_resetErrorMode();

        phpCAS::traceEnd();
    }
public function createTable ( ) { phpCAS :: traceBegin ( ) ; // initialize this PGTStorage object if it hasn't been initialized yet if ( ! $ this -> isInitialized ( ) ) { $ this -> init ( ) ; } // initialize the PDO object for this method $ pdo = $ this -> _getPdo ( ) ; $ this -> _setErrorMode ( ) ; try { $ pdo -> beginTransaction ( ) ; $ query = $ pdo -> query ( $ this -> createTableSQL ( ) ) ; $ query -> closeCursor ( ) ; $ pdo -> commit ( ) ; } catch ( PDOException $ e ) { // attempt rolling back the transaction before throwing a phpCAS error try { $ pdo -> rollBack ( ) ; } catch ( PDOException $ e ) { } phpCAS :: error ( 'error creating PGT storage table: ' . $ e -> getMessage ( ) ) ; } // reset the PDO object $ this -> _resetErrorMode ( ) ; phpCAS :: traceEnd ( ) ; }
This method creates the database table used to store pgt's and pgtiou's

@return void
This method creates the database table used to store pgt s and pgtiou s