]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/WebFinger/lib/webfingerresource/notice.php
9510a690f75f35dc3e54c5a9447b76ed5d938f21
[quix0rs-gnu-social.git] / plugins / WebFinger / lib / webfingerresource / notice.php
1 <?php
2 /**
3  * WebFinger resource for Notice objects
4  *
5  * @package   GNUsocial
6  * @author    Mikael Nordfeldth
7  * @copyright 2013 Free Software Foundation, Inc.
8  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
9  * @link      http://status.net/
10  */
11
12 class WebFingerResource_Notice extends WebFingerResource
13 {
14     public function __construct(Notice $object)
15     {
16         // The type argument above verifies that it's our class
17         parent::__construct($object);
18     }
19
20     public function updateXRD(XML_XRD $xrd)
21     {
22         parent::updateXRD($xrd);
23
24         // TODO: Add atom and json representation links here
25         // TODO: Add Salmon/callback links and stuff here
26     }
27 }