Example #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();
 }
Example #2
0
 public function __construct()
 {
     $this->SQL = PDO_Mysql::getInstance();
 }
Example #3
0
 public function __construct()
 {
     $this->SQL = PDO_Mysql::getInstance();
     $this->_login = $this->_password = '';
     $this->_name = $this->_firstname = $this->_email = '';
 }