cvs: phpdoc /en/reference/dbx/functions dbx-compare.xml dbx-sort.xml

From: Date: Thu, 15 Jan 2004 12:42:13 +0000
Subject: cvs: phpdoc /en/reference/dbx/functions dbx-compare.xml dbx-sort.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358196@lists.php.net to get a copy of this message
didou Thu Jan 15 07:42:13 2004 EDT Modified files: /phpdoc/en/reference/dbx/functions dbx-compare.xml dbx-sort.xml Log: CS : Function declarations follow the 'one true brace' convention Index: phpdoc/en/reference/dbx/functions/dbx-compare.xml diff -u phpdoc/en/reference/dbx/functions/dbx-compare.xml:1.3 phpdoc/en/reference/dbx/functions/dbx-compare.xml:1.4 --- phpdoc/en/reference/dbx/functions/dbx-compare.xml:1.3 Mon Dec 15 11:48:49 2003 +++ phpdoc/en/reference/dbx/functions/dbx-compare.xml Thu Jan 15 07:42:13 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/dbx.xml, last change in rev 1.3 --> <refentry id="function.dbx-compare"> <refnamediv> @@ -69,7 +69,8 @@ <programlisting role="php"> <![CDATA[ <?php -function user_re_order($a, $b) { +function user_re_order($a, $b) +{ $rv = dbx_compare($a, $b, "parentid", DBX_CMP_DESC); if (!$rv) { $rv = dbx_compare($a, $b, "id", DBX_CMP_NUMBER); Index: phpdoc/en/reference/dbx/functions/dbx-sort.xml diff -u phpdoc/en/reference/dbx/functions/dbx-sort.xml:1.4 phpdoc/en/reference/dbx/functions/dbx-sort.xml:1.5 --- phpdoc/en/reference/dbx/functions/dbx-sort.xml:1.4 Mon Dec 15 11:48:49 2003 +++ phpdoc/en/reference/dbx/functions/dbx-sort.xml Thu Jan 15 07:42:13 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/dbx.xml, last change in rev 1.3 --> <refentry id="function.dbx-sort"> <refnamediv> @@ -30,7 +30,8 @@ <programlisting role="php"> <![CDATA[ <?php -function user_re_order($a, $b) { +function user_re_order($a, $b) +{ $rv = dbx_compare($a, $b, "parentid", DBX_CMP_DESC); if (!$rv) { $rv = dbx_compare($a, $b, "id", DBX_CMP_NUMBER);

« previous php.doc (#969358196) next »