1: <?php
2: /**
3: * @copyright Copyright (c) 2009-2012 NADEO (http://www.nadeo.com)
4: * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
5: * @version $Revision: 140 $:
6: * @author $Author: melot.philippe $:
7: * @date $Date: 2012-08-03 11:47:54 +0200 (ven., 03 août 2012) $:
8: */
9:
10: namespace Maniaplanet\WebServices\ManiaHome;
11:
12: class Comments extends \Maniaplanet\WebServices\HTTPClient
13: {
14:
15: /**
16: *
17: * @param int $notificationId
18: * @return int number of parameters
19: */
20: function count($notificationId)
21: {
22: return $this->execute('GET', sprintf('/maniahome/notifications/%d/comments/count/', $notificationId));
23: }
24:
25: }
26:
27: ?>