public function fetchAll($sql, $params = array(), $types = array())
    {
        return $this->query($sql, $params, $types)->fetchAll();
    }
public function fetchAll($sql, $params = array(), $types = array())
    {
        return $this->query($sql, $params, $types)->fetchAll();
    }
public function fetchAll ( $ sql , $ params = array ( ) , $ types = array ( ) ) { return $ this -> query ( $ sql , $ params , $ types ) -> fetchAll ( ) ; }
Executes a query and returns all array results

@param string $sql The SQL query
@param mixed $params The query parameters
@param array $types The parameter types to bind
@return array|false Return an array or false when no result found
Executes a query and returns all array results