classes/SQL.php
public function prepare($query, $pdo_params=[]){
    if(!$this->connection()) return false;
    return isset($this->queries[$query]) ? $this->queries[$query] : ($this->queries[$query] = $this->connection()->prepare($query, $pdo_params));
  }
public function prepare($query, $pdo_params=[]){
    if(!$this->connection()) return false;
    return isset($this->queries[$query]) ? $this->queries[$query] : ($this->queries[$query] = $this->connection()->prepare($query, $pdo_params));
  }
public function prepare ( $ query , $ pdo_params = [ ] ) { if ( ! $ this -> connection ( ) ) return false ; return isset ( $ this -> queries [ $ query ] ) ? $ this -> queries [ $ query ] : ( $ this -> queries [ $ query ] = $ this -> connection ( ) -> prepare ( $ query , $ pdo_params ) ) ; }
Prepares a SQL query string

@param      string   $query       The query
@param      array    $pdo_params  The extra PDO parameters

@return     boolean
Prepares a SQL query string