[Yadis] element index

All elements
a c d e g i m n p r s x y
a
top
attributes
Return the attributes of a specified node.
attributes
attributes
c
top
cleanup
Clean up Yadis-related services in the session and return the most-recently-attempted service from the manager, if one exists.
content
Return the textual content of a specified node.
content
content
d
top
del
Remove a key/value pair from the session.
discover
This should be called statically and will build a Yadis instance if the discovery process succeeds. This implements Yadis discovery as specified in the Yadis specification.
e
top
evalXPath
Evaluate an XPath expression and return the resulting node list. This should be overridden by subclasses.
evalXPath
evalXPath
g
top
get
Get a key's value from the session.
getElements
Used to get XML elements from this object's <Service> element.
getHTTPFetcher
Returns an HTTP fetcher object. If the CURL extension is present, an instance of Services_Yadis_ParanoidHTTPFetcher is returned. If not, an instance of Services_Yadis_PlainHTTPFetcher is returned.
getNextService
Return the next authentication service for the pair of user_input and session. This function handles fallback.
getPriority
Returns the "priority" attribute value of this <Service> element, if the attribute is present. Returns null if not.
getTypes
Return the URIs in the "Type" elements, if any, of this Service element.
getURIs
Return the URIs in the "URI" elements, if any, of this Service element. The URIs are returned sorted in priority order.
i
top
init
Initialize an instance of Services_Yadis_XMLParser with some XML and namespaces. This SHOULD NOT be overridden by subclasses.
m
top
Manager.php
Manager.php in Manager.php
n
top
nextService
Return the next service
p
top
parseXRDS
Parse an XML string (XRDS document) and return either a Services_Yadis_XRDS object or null, depending on whether the XRDS XML is valid.
r
top
registerNamespace
registerNamespace
Register a namespace with the XML parser. This should be overridden by subclasses.
registerNamespace
s
top
services
Returns the list of service objects as described by the XRDS document, if this yadis object represents a successful Yadis discovery.
services
Returns a list of service objects which correspond to <Service> elements in the XRDS XML document for this object.
Services_Yadis_Discovery
State management for discovery.
Services_Yadis_Discovery
Initialize a discovery object.
Services_Yadis_dom
This concrete implementation of Services_Yadis_XMLParser implements
Services_Yadis_dom
Services_Yadis_domxml
This concrete implementation of Services_Yadis_XMLParser implements
Services_Yadis_domxml
Services_Yadis_getXMLParser
Returns an instance of a Services_Yadis_XMLParser subclass based on the availability of PHP extensions for XML parsing. If Services_Yadis_setDefaultParser has been called, the parser used in that call will be returned instead.
Services_Yadis_Manager
Services_Yadis_Manager in Manager.php
The Yadis service manager which stores state in a session and iterates over <Service> elements in a Yadis XRDS document and lets a caller attempt to use each one. This is used by the Yadis library internally.
SERVICES_YADIS_MATCH_ALL
This match mode means a given service must match ALL filters passed to the Services_Yadis_XRDS::services() call.
SERVICES_YADIS_MATCH_ANY
This match mode means a given service must match ANY filters (at least one) passed to the Services_Yadis_XRDS::services() call.
SERVICES_YADIS_MAX_PRIORITY
Services_Yadis_PHPSession
The base session class used by the Services_Yadis_Manager. This class wraps the default PHP session machinery and should be subclassed if your application doesn't use PHP sessioning.
Services_Yadis_Service
Creates an empty service object.
Services_Yadis_Service
This class represents a <Service> element in an XRDS document.
Services_Yadis_setDefaultParser
Set a default parser to override the extension-driven selection of available parser classes. This is helpful in a test environment or one in which multiple parsers can be used but one is more desirable.
Services_Yadis_XMLParser
The base class for wrappers for available PHP XML-parsing
Services_Yadis_XRDS
Instantiate a Services_Yadis_XRDS object. Requires an XPath instance which has been used to parse a valid XRDS document.
Services_Yadis_XRDS
This class performs parsing of XRDS documents.
Services_Yadis_Yadis
This is the core of the PHP Yadis library. This is the only class a user needs to use to perform Yadis discovery. This class performs the discovery AND stores the result of the discovery.
Services_Yadis_Yadis
Instantiates an empty Services_Yadis_Yadis object. This constructor should not be used by any user of the library.
set
Set a session key/value pair.
setXML
setXML
setXML
Set this parser object's XML payload. This should be overridden by subclasses.
x
top
XML.php
XML.php in XML.php
XRDS.php
XRDS.php in XRDS.php
y
top
Yadis.php
Yadis.php in Yadis.php
a c d e g i m n p r s x y