public function getAll($sql, $params = array())
    {
        $stmt = $this->execute($sql, $params);
        return $stmt->fetchAll($this->fetchMode);
    }
public function getAll($sql, $params = array())
    {
        $stmt = $this->execute($sql, $params);
        return $stmt->fetchAll($this->fetchMode);
    }
public function getAll ( $ sql , $ params = array ( ) ) { $ stmt = $ this -> execute ( $ sql , $ params ) ; return $ stmt -> fetchAll ( $ this -> fetchMode ) ; }
Get all result

@param       $sql
@param array $params

@return array
Get all result