cvs: peardoc /en/package/database/db-dataobject intro-configuration.xml

From: Date: Sat, 15 Jan 2005 04:12:51 +0000
Subject: cvs: peardoc /en/package/database/db-dataobject intro-configuration.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5437@lists.php.net to get a copy of this message
alan_k Fri Jan 14 23:12:51 2005 EDT Modified files: /peardoc/en/package/database/db-dataobject intro-configuration.xml Log: document a few more options http://cvs.php.net/diff.php/peardoc/en/package/database/db-dataobject/intro-configuration.xml?r1=1.10&r2=1.11&ty=u Index: peardoc/en/package/database/db-dataobject/intro-configuration.xml diff -u peardoc/en/package/database/db-dataobject/intro-configuration.xml:1.10 peardoc/en/package/database/db-dataobject/intro-configuration.xml:1.11 --- peardoc/en/package/database/db-dataobject/intro-configuration.xml:1.10 Wed Jan 12 06:56:06 2005 +++ peardoc/en/package/database/db-dataobject/intro-configuration.xml Fri Jan 14 23:12:51 2005 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry id="package.database.db-dataobject.intro-configuration"> <refnamediv> @@ -240,6 +240,37 @@ </listitem> </varlistentry> + + + + <varlistentry> + <term> + <parameter>quote_identifiers</parameter> + <type>boolean</type> + </term> + <listitem> + <para> + To force the quotation of identifiers in the SQL statements, set this to 1 + <example> + <title>Statement Generated with and without quote_identifiers</title> + <programlisting role="ini"><![CDATA[ +quote_identifiers = 1; +SELECT 'somecol' FROM 'sometable' WHERE 'somevalue'=1; + +quote_identifiers = 0; +SELECT somecol FROM sometable WHERE somevalue=1; + + ]]></programlisting> + </example> + + + </para> + </listitem> + </varlistentry> + + + + </variablelist> @@ -460,8 +491,33 @@ </listitem> </varlistentry> + <varlistentry> + <term> + <parameter>generator_novars</parameter> + <type>boolean</type> + </term> + <listitem> + <para> + If True, the generator does not write a private or var's definition + for the columns so you can overload get/set. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <parameter>generator_add_validate_stubs</parameter> + <type>boolean</type> + </term> + <listitem> + <para> + If True, the generator will insert / (or add to existing files) + stubs for validate methods. + </para> + </listitem> + </varlistentry> </variablelist>

« previous php.pear.doc (#5437) next »