{
/**
* Is read only?
- *
+ *
* @return boolean true
*/
function isReadOnly()
- {
+ {
return true;
}
/**
* Class handler.
- *
+ *
* @param array $args query arguments
*
* @return void
/**
* Show XRDS for a user.
- *
+ *
* @param class $user XRDS for this user.
*
* @return void
function showXrds($user)
{
header('Content-Type: application/xrds+xml');
- common_start_xml();
+ $this->startXML();
$this->elementStart('XRDS', array('xmlns' => 'xri://$xrds'));
$this->elementStart('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)',
'#omb');
$this->elementEnd('XRD');
$this->elementEnd('XRDS');
- common_end_xml();
+ $this->endXML();
}
/**
* Show service.
- *
+ *
* @param string $type XRDS type
* @param string $uri URI
* @param array $params type parameters, null by default