object))) { $xrd->links[] = new XML_XRD_Element_Link('alternate', common_local_url('ApiStatusesShow', array('id'=>$this->object->id, 'format'=>'atom')), 'application/atom+xml'); $xrd->links[] = new XML_XRD_Element_Link('alternate', common_local_url('ApiStatusesShow', array('id'=>$this->object->id, 'format'=>'json')), 'application/json'); Event::handle('EndWebFingerNoticeLinks', array($xrd, $this->object)); } } }