git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
449de1d
)
Nitpicks: formatting, commented-out code
author
gggeek
<giunta.gaetano@gmail.com>
Mon, 26 May 2014 22:12:35 +0000
(23:12 +0100)
committer
gggeek
<giunta.gaetano@gmail.com>
Mon, 26 May 2014 22:12:35 +0000
(23:12 +0100)
lib/phpxmlrpc.php
patch
|
blob
|
history
lib/xmlrpc_client.php
patch
|
blob
|
history
lib/xmlrpcmsg.php
patch
|
blob
|
history
lib/xmlrpcresp.php
patch
|
blob
|
history
lib/xmlrpcval.php
patch
|
blob
|
history
diff --git
a/lib/phpxmlrpc.php
b/lib/phpxmlrpc.php
index
8c3d34c
..
fa04f70
100644
(file)
--- a/
lib/phpxmlrpc.php
+++ b/
lib/phpxmlrpc.php
@@
-1,6
+1,7
@@
<?php
<?php
-class Phpxmlrpc {
+class Phpxmlrpc
+{
public $xmlrpcI4 = "i4";
public $xmlrpcInt = "int";
public $xmlrpcI4 = "i4";
public $xmlrpcInt = "int";
@@
-45,12
+46,12
@@
class Phpxmlrpc {
/// These will NOT be present in true ISO-8859-1, but will save the unwary
/// windows user from sending junk (though no luck when reciving them...)
/*
/// These will NOT be present in true ISO-8859-1, but will save the unwary
/// windows user from sending junk (though no luck when reciving them...)
/*
-
$GLOBALS['xml_cp1252_Entities']
=array();
+
public $xml_cp1252_Entities'
=array();
for ($i = 128; $i < 160; $i++)
{
$GLOBALS['xml_cp1252_Entities']['in'][] = chr($i);
}
for ($i = 128; $i < 160; $i++)
{
$GLOBALS['xml_cp1252_Entities']['in'][] = chr($i);
}
-
$GLOBALS['xml_cp1252_Entities']
['out'] = array(
+
public $xml_cp1252_Entities
['out'] = array(
'€', '?', '‚', 'ƒ',
'„', '…', '†', '‡',
'ˆ', '‰', 'Š', '‹',
'€', '?', '‚', 'ƒ',
'„', '…', '†', '‡',
'ˆ', '‰', 'Š', '‹',
diff --git
a/lib/xmlrpc_client.php
b/lib/xmlrpc_client.php
index
0a75f4c
..
8885388
100644
(file)
--- a/
lib/xmlrpc_client.php
+++ b/
lib/xmlrpc_client.php
@@
-2,7
+2,7
@@
class xmlrpc_client
{
class xmlrpc_client
{
- /// @todo: do
es
these need to be public?
+ /// @todo: do these need to be public?
public $path;
public $server;
public $port=0;
public $path;
public $server;
public $port=0;
diff --git
a/lib/xmlrpcmsg.php
b/lib/xmlrpcmsg.php
index
569a549
..
1c26af0
100644
(file)
--- a/
lib/xmlrpcmsg.php
+++ b/
lib/xmlrpcmsg.php
@@
-1,7
+1,9
@@
<?php
<?php
-class xmlrpcmsg {
- /// @todo: does these need to be public?
+class xmlrpcmsg
+{
+
+ /// @todo: do these need to be public?
public $payload;
public $methodname;
public $params=array();
public $payload;
public $methodname;
public $params=array();
diff --git
a/lib/xmlrpcresp.php
b/lib/xmlrpcresp.php
index
527b463
..
22c9909
100644
(file)
--- a/
lib/xmlrpcresp.php
+++ b/
lib/xmlrpcresp.php
@@
-1,7
+1,9
@@
<?php
<?php
-class xmlrpcresp {
- /// @todo: does these need to be public?
+class xmlrpcresp
+{
+
+ /// @todo: do these need to be public?
public $val = 0;
public $valtyp;
public $errno = 0;
public $val = 0;
public $valtyp;
public $errno = 0;
diff --git
a/lib/xmlrpcval.php
b/lib/xmlrpcval.php
index
56c7af3
..
7cfca96
100644
(file)
--- a/
lib/xmlrpcval.php
+++ b/
lib/xmlrpcval.php
@@
-1,6
+1,7
@@
<?php
<?php
-class xmlrpcval {
+class xmlrpcval
+{
/// @todo: does these need to be public?
public $me=array();
/// @todo: does these need to be public?
public $me=array();