original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: This method creates the database table used to store pgt's and pgtiou's
  
  @return void
docstring_tokens: This method creates the database table used to store pgt s and pgtiou s