Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
class SimpleService
4
{
5
	/**
6
	 * Highlights a string as php code
7
	 * @param string $input The php code to highlight
8
	 * @return string The highlighted text.
9
	 * @soapmethod
10
	 */
11
	public function highlight($input)
12
	{
13
		return highlight_string($input, true);
14
	}
15
 
16
	/**
17
	 * Simply add two operands
18
	 * @param int $a
19
	 * @param int $b
20
	 * @return int The result
21
	 * @soapmethod
22
	 */
23
	public function add($a, $b)
24
	{
25
		return $a + $b;
26
	}
27
}
28
 
29
?>