Exemple #1
0
 /**
  * 
  * @return PDOObject Initialize a PDO object
  */
 public function connect()
 {
     if (!is_null($this->statement)) {
         return $this->statement;
     }
     return $this->statement = PDO_Mysql::getInstance();
 }
 public function __construct()
 {
     $this->SQL = PDO_Mysql::getInstance();
 }
Exemple #3
0
 public function __construct()
 {
     $this->SQL = PDO_Mysql::getInstance();
     $this->_login = $this->_password = '';
     $this->_name = $this->_firstname = $this->_email = '';
 }