Esempio n. 1
0
 /**
  *
  */
 public function reconnectAs($username, $password)
 {
     if ($this->pdoMain) {
         $this->pdoMain = null;
     }
     $this->dbConfig->setPersistent(false);
     $this->dbConfig->setUsername($username);
     $this->dbConfig->setPassword($password);
     return true;
 }