blob: 96cf230213543249e5fa79203e82a284001f2632 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
/**
* @class XMLRPCStringParameter A string.
* @author Curverider Ltd
*/
class XMLRPCStringParameter extends XMLRPCParameter
{
function __construct($value)
{
parent::__construct();
$this->value = $value;
}
function __toString()
{
$value = htmlentities($this->value);
return "<value><string>{$value}</string></value>";
}
}
|