svn: /phpdoc/en/trunk/reference/sqlite/functions/ sqlite-fetch-column-types.xml

From: Date: Tue, 17 May 2011 23:15:27 +0000
Subject: svn: /phpdoc/en/trunk/reference/sqlite/functions/ sqlite-fetch-column-types.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8140@lists.php.net to get a copy of this message
salathe Tue, 17 May 2011 23:15:27 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=311168 Log: clarify result_type param for sqlite_fetch_column_types() (doc #54780) Bug: http://bugs.php.net/54780 (Open) Missing default argument value in sqlite_fetch_column_types Changed paths: U phpdoc/en/trunk/reference/sqlite/functions/sqlite-fetch-column-types.xml Modified: phpdoc/en/trunk/reference/sqlite/functions/sqlite-fetch-column-types.xml =================================================================== --- phpdoc/en/trunk/reference/sqlite/functions/sqlite-fetch-column-types.xml 2011-05-17 23:09:17 UTC (rev 311167) +++ phpdoc/en/trunk/reference/sqlite/functions/sqlite-fetch-column-types.xml 2011-05-17 23:15:27 UTC (rev 311168) @@ -15,7 +15,7 @@ <type>array</type><methodname>sqlite_fetch_column_types</methodname> <methodparam><type>string</type><parameter>table_name</parameter></methodparam> <methodparam><type>resource</type><parameter>dbhandle</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>result_type</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_ASSOC</initializer></methodparam> </methodsynopsis> <para>Object oriented style (method):</para> <classsynopsis> @@ -23,7 +23,7 @@ <methodsynopsis> <type>array</type><methodname>fetchColumnTypes</methodname> <methodparam><type>string</type><parameter>table_name</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>result_type</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_ASSOC</initializer></methodparam> </methodsynopsis> </classsynopsis> <para> @@ -63,8 +63,7 @@ <constant>SQLITE_ASSOC</constant> will return only associative indices (named fields) while <constant>SQLITE_NUM</constant> will return only numerical indices (ordinal field numbers). - <constant>SQLITE_BOTH</constant> will return both associative and - numerical indices. <constant>SQLITE_ASSOC</constant> is the default for + <constant>SQLITE_ASSOC</constant> is the default for this function. </para> </listitem>

« previous php.doc.cvs (#8140) next »