aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/XMLRPCIntParameter.php
blob: 2305a66a7e2184061920befaadb807477e219447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * @class XMLRPCIntParameter An Integer.
 * @author Curverider Ltd
 */
class XMLRPCIntParameter extends XMLRPCParameter
{
	function __construct($value)
	{
		parent::__construct();
		
		$this->value = (int)$value; 
	}
	
	function __toString() 
	{
		return "<value><i4>{$this->value}</i4></value>";
	}
}