cvs: phpdoc /en/reference/hwapi/functions hwapi-object.xml

From: Date: Thu, 15 Jan 2004 12:42:31 +0000
Subject: cvs: phpdoc /en/reference/hwapi/functions hwapi-object.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358202@lists.php.net to get a copy of this message
didou Thu Jan 15 07:42:31 2004 EDT Modified files: /phpdoc/en/reference/hwapi/functions hwapi-object.xml Log: CS : Function declarations follow the 'one true brace' convention Index: phpdoc/en/reference/hwapi/functions/hwapi-object.xml diff -u phpdoc/en/reference/hwapi/functions/hwapi-object.xml:1.7 phpdoc/en/reference/hwapi/functions/hwapi-object.xml:1.8 --- phpdoc/en/reference/hwapi/functions/hwapi-object.xml:1.7 Wed Dec 17 09:32:22 2003 +++ phpdoc/en/reference/hwapi/functions/hwapi-object.xml Thu Jan 15 07:42:31 2004 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1' ?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 --> <refentry id="function.hwapi-object"> <refnamediv> @@ -30,7 +30,8 @@ <programlisting role="php"> <![CDATA[ <?php -function handle_error($error) { +function handle_error($error) +{ $reason = $error->reason(0); echo "Type: <b>"; switch ($reason->type()) { @@ -48,7 +49,8 @@ echo "Description: " . $reason->description("en") . "<br />\n"; } -function list_attr($obj) { +function list_attr($obj) +{ echo "<table>\n"; $count = $obj->count(); for ($i=0; $i<$count; $i++) {

« previous php.doc (#969358202) next »