a php YQL class in PDO Style