didou Thu Dec 18 12:45:43 2003 EDT
Modified files:
/phpdoc/en/reference/ming/functions swfaction.xml swfbutton.xml
swfmorph.xml swfsprite.xml
/phpdoc/en/reference/misc/functions highlight-file.xml
/phpdoc/en/reference/mnogosearch/functions udm-api-version.xml
/phpdoc/en/reference/msql/functions msql-query.xml
/phpdoc/en/reference/mysql/functions mysql-result.xml
Log:
some more CS
Index: phpdoc/en/reference/ming/functions/swfaction.xml
diff -u phpdoc/en/reference/ming/functions/swfaction.xml:1.4
phpdoc/en/reference/ming/functions/swfaction.xml:1.5
--- phpdoc/en/reference/ming/functions/swfaction.xml:1.4 Mon Dec 15 11:52:03
2003
+++ phpdoc/en/reference/ming/functions/swfaction.xml Thu Dec 18 12:45:40 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 -->
<refentry id="function.swfaction">
<refnamediv>
@@ -412,11 +412,11 @@
$f = $s->addFill(0xff, 0, 0);
$s->setRightFill($f);
- $s->movePenTo(-500,-500);
- $s->drawLineTo(500,-500);
- $s->drawLineTo(500,500);
- $s->drawLineTo(-500,500);
- $s->drawLineTo(-500,-500);
+ $s->movePenTo(-500, -500);
+ $s->drawLineTo(500, -500);
+ $s->drawLineTo(500, 500);
+ $s->drawLineTo(-500, 500);
+ $s->drawLineTo(-500, -500);
$p = new SWFSprite();
$i = $p->add($s);
@@ -430,7 +430,7 @@
$m = new SWFMovie();
$m->setBackground(0xff, 0xff, 0xff);
- $m->setDimension(6000,4000);
+ $m->setDimension(6000, 4000);
$i = $m->add($p);
$i->setDepth(1);
Index: phpdoc/en/reference/ming/functions/swfbutton.xml
diff -u phpdoc/en/reference/ming/functions/swfbutton.xml:1.3
phpdoc/en/reference/ming/functions/swfbutton.xml:1.4
--- phpdoc/en/reference/ming/functions/swfbutton.xml:1.3 Mon Dec 15 11:52:03
2003
+++ phpdoc/en/reference/ming/functions/swfbutton.xml Thu Dec 18 12:45:40 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 -->
<refentry id="function.swfbutton">
<refnamediv>
@@ -44,7 +44,7 @@
$t->setFont($f);
$t->addString($string);
$t->setHeight(200);
- $t->setBounds(3200,200);
+ $t->setBounds(3200, 200);
return $t;
}
@@ -69,10 +69,10 @@
function rect($r, $g, $b) {
$s = new SWFShape();
$s->setRightFill($s->addFill($r, $g, $b));
- $s->drawLine(600,0);
- $s->drawLine(0,600);
- $s->drawLine(-600,0);
- $s->drawLine(0,-600);
+ $s->drawLine(600, 0);
+ $s->drawLine(0, 600);
+ $s->drawLine(-600, 0);
+ $s->drawLine(0, -600);
return $s;
}
@@ -104,14 +104,14 @@
SWFBUTTON_DRAGOUT);
$m = new SWFMovie();
- $m->setDimension(4000,3000);
+ $m->setDimension(4000, 3000);
$i = $m->add($p);
$i->setName("label");
- $i->moveTo(400,1900);
+ $i->moveTo(400, 1900);
$i = $m->add($b);
- $i->moveTo(400,900);
+ $i->moveTo(400, 900);
header('Content-type: application/x-shockwave-flash');
$m->output();
Index: phpdoc/en/reference/ming/functions/swfmorph.xml
diff -u phpdoc/en/reference/ming/functions/swfmorph.xml:1.3
phpdoc/en/reference/ming/functions/swfmorph.xml:1.4
--- phpdoc/en/reference/ming/functions/swfmorph.xml:1.3 Mon Dec 15 11:52:03 2003
+++ phpdoc/en/reference/ming/functions/swfmorph.xml Thu Dec 18 12:45:40 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 -->
<refentry id="function.swfmorph">
<refnamediv>
@@ -43,7 +43,7 @@
$p = new SWFMorph();
$s = $p->getShape1();
- $s->setLine(0,0,0,0);
+ $s->setLine(0, 0, 0, 0);
/* Note that this is backwards from normal shapes (left instead of right).
I have no idea why, but this seems to work.. */
Index: phpdoc/en/reference/ming/functions/swfsprite.xml
diff -u phpdoc/en/reference/ming/functions/swfsprite.xml:1.2
phpdoc/en/reference/ming/functions/swfsprite.xml:1.3
--- phpdoc/en/reference/ming/functions/swfsprite.xml:1.2 Wed Apr 17 02:40:33
2002
+++ phpdoc/en/reference/ming/functions/swfsprite.xml Thu Dec 18 12:45:40 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 -->
<refentry id="function.swfsprite">
<refnamediv>
@@ -33,11 +33,11 @@
<?php
$s = new SWFShape();
$s->setRightFill($s->addFill(0xff, 0, 0));
- $s->movePenTo(-500,-500);
- $s->drawLineTo(500,-500);
- $s->drawLineTo(500,500);
- $s->drawLineTo(-500,500);
- $s->drawLineTo(-500,-500);
+ $s->movePenTo(-500, -500);
+ $s->drawLineTo(500, -500);
+ $s->drawLineTo(500, 500);
+ $s->drawLineTo(-500, 500);
+ $s->drawLineTo(-500, -500);
$p = new SWFSprite();
$i = $p->add($s);
@@ -55,11 +55,11 @@
$m = new SWFMovie();
$i = $m->add($p);
- $i->moveTo(1500,1000);
+ $i->moveTo(1500, 1000);
$i->setName("blah");
$m->setBackground(0xff, 0xff, 0xff);
- $m->setDimension(3000,2000);
+ $m->setDimension(3000, 2000);
header('Content-type: application/x-shockwave-flash');
$m->output();
Index: phpdoc/en/reference/misc/functions/highlight-file.xml
diff -u phpdoc/en/reference/misc/functions/highlight-file.xml:1.12
phpdoc/en/reference/misc/functions/highlight-file.xml:1.13
--- phpdoc/en/reference/misc/functions/highlight-file.xml:1.12 Thu Dec 18 09:14:26
2003
+++ phpdoc/en/reference/misc/functions/highlight-file.xml Thu Dec 18 12:45:41
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<!-- splitted from ./en/functions/misc.xml, last change in rev 1.22 -->
<refentry id="function.highlight-file">
<refnamediv>
@@ -92,7 +92,7 @@
echo "<h1>ERROR: Only PHP or include script names are allowed</h1>";
}
}
- echo "<hr />Processed: ". date("Y/M/d H:i:s", time());
+ echo "<hr />Processed: " . date("Y/M/d H:i:s", time());
?>
</BODY>
</HTML>
Index: phpdoc/en/reference/mnogosearch/functions/udm-api-version.xml
diff -u phpdoc/en/reference/mnogosearch/functions/udm-api-version.xml:1.4
phpdoc/en/reference/mnogosearch/functions/udm-api-version.xml:1.5
--- phpdoc/en/reference/mnogosearch/functions/udm-api-version.xml:1.4 Mon Dec 15
11:52:04 2003
+++ phpdoc/en/reference/mnogosearch/functions/udm-api-version.xml Thu Dec 18
12:45:42 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/mnogosearch.xml, last change in rev 1.18 -->
<refentry id="function.udm-api-version">
<refnamediv>
@@ -30,7 +30,7 @@
<![CDATA[
<?php
if (udm_api_version() >= 30111) {
- echo "Total number of urls in database: ".udm_get_doc_count($udm)."<br \>\n";
+ echo "Total number of urls in database: " . udm_get_doc_count($udm) . "<br \>\n";
}
?>
]]>
Index: phpdoc/en/reference/msql/functions/msql-query.xml
diff -u phpdoc/en/reference/msql/functions/msql-query.xml:1.3
phpdoc/en/reference/msql/functions/msql-query.xml:1.4
--- phpdoc/en/reference/msql/functions/msql-query.xml:1.3 Thu Feb 13 21:48:51
2003
+++ phpdoc/en/reference/msql/functions/msql-query.xml Thu Dec 18 12:45:42 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/msql.xml, last change in rev 1.2 -->
<refentry id="function.msql-query">
<refnamediv>
@@ -31,13 +31,13 @@
<![CDATA[
<?php
$link = msql_connect("dbserver")
- or die("unable to connect to msql server: ".msql_error());
+ or die("unable to connect to msql server: " . msql_error());
msql_select_db("db", $link)
- or die("unable to select database 'db': ".msql_error());
+ or die("unable to select database 'db': " . msql_error());
$result = msql_query("SELECT * FROM table WHERE id=1", $link);
if (!$result) {
- die("query failed: ".msql_error());
+ die("query failed: " . msql_error());
}
while ($row = msql_fetch_array($result)) {
Index: phpdoc/en/reference/mysql/functions/mysql-result.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-result.xml:1.4
phpdoc/en/reference/mysql/functions/mysql-result.xml:1.5
--- phpdoc/en/reference/mysql/functions/mysql-result.xml:1.4 Thu Dec 11 10:42:01
2003
+++ phpdoc/en/reference/mysql/functions/mysql-result.xml Thu Dec 18 12:45:43
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-result">
<refnamediv>
@@ -49,7 +49,7 @@
$result = mysql_query("SELECT name FROM work.employee")
or die("Could not query:" . mysql_error());
- echo mysql_result($result,2); // outputs third employee's name
+ echo mysql_result($result, 2); // outputs third employee's name
mysql_close($link);
?>