aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/XMLRPCIntParameter.php
blob: 1029d855b7044515312f869ebc0f780d7f5a8e1f (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>";
	}
}