Returns PDOStatement in all cases

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240194 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2007-07-23 09:16:19 +00:00
parent 6a2c0dcfb6
commit 29da5999cb

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<refentry xml:id="function.PDO-query" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>PDO->query()</refname>
@ -20,7 +20,7 @@
<classsynopsis>
<ooclass><classname>PDO</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>query</methodname>
<type>PDOStatement</type><methodname>query</methodname>
<methodparam><type>string</type><parameter>statement</parameter></methodparam>
<methodparam><type>int</type><parameter>PDO::FETCH_COLUMN</parameter></methodparam>
<methodparam><type>int</type><parameter>colno</parameter></methodparam>
@ -30,7 +30,7 @@
<classsynopsis>
<ooclass><classname>PDO</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>query</methodname>
<type>PDOStatement</type><methodname>query</methodname>
<methodparam><type>string</type><parameter>statement</parameter></methodparam>
<methodparam><type>int</type><parameter>PDO::FETCH_CLASS</parameter></methodparam>
<methodparam><type>string</type><parameter>classname</parameter></methodparam>
@ -41,7 +41,7 @@
<classsynopsis>
<ooclass><classname>PDO</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>query</methodname>
<type>PDOStatement</type><methodname>query</methodname>
<methodparam><type>string</type><parameter>statement</parameter></methodparam>
<methodparam><type>int</type><parameter>PDO::FETCH_INTO</parameter></methodparam>
<methodparam><type>object</type><parameter>object</parameter></methodparam>