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
(from parent 1:
caec526
)
remove from the phpxmlrpcval class the support for arrayiterator and countable, in...
author
gggeek
<giunta.gaetano@gmail.com>
Wed, 20 Jan 2016 23:00:19 +0000
(23:00 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Wed, 20 Jan 2016 23:00:19 +0000
(23:00 +0000)
lib/xmlrpc.inc
patch
|
blob
|
history
diff --git
a/lib/xmlrpc.inc
b/lib/xmlrpc.inc
index
0ae42fd
..
28b47d3
100644
(file)
--- a/
lib/xmlrpc.inc
+++ b/
lib/xmlrpc.inc
@@
-136,6
+136,16
@@
class xmlrpcval extends PhpXmlRpc\Value
return $b;
}
+ /// reset functionality added by parent class: same as it would happen if no interface was declared
+ public function count()
+ {
+ return 1;
+ }
+
+ /// reset functionality added by parent class: same as it would happen if no interface was declared
+ public function getIterator() {
+ return new ArrayIterator($this);
+ }
}
class xmlrpcmsg extends PhpXmlRpc\Request