$v)
$this->addField($k, $v);
}
}
/**
* Add a field to the container.
*
* @param string $name The name of the field.
* @param XMLRPCParameter $value The value.
*/
public function addField($name, XMLRPCParameter $value)
{
if (!is_array($this->value))
$this->value = array();
$this->value[$name] = $value;
}
function __toString()
{
$params = "";
foreach ($this->value as $k => $v)
{
$params .= "$k$v";
}
return "$params";
}
}