[Yadis] element index

Package indexes

All elements
a c d e f g i m n p r s t x y
a
top
attributes
Return the attributes of a specified node.
attributes
attributes
Auth_OpenID_ServiceEndpointLoader
A session helper class designed to translate between arrays and
c
top
check
check
check
Override this.
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
contents
Return the contents of the session in array form.
curlPresent
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
f
top
fromSession
Given a session data value (an array), this creates an object
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
newObject
newObject
newObject
Returns a new instance of this loader's class, using the session data to construct it if necessary. The object need only be created; $this->fromSession() will take care of setting the object's attributes.
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.
prepareForLoad
prepareForLoad
Prepares the data array by making any necessary changes.
prepareForSave
prepareForSave
Override this.
r
top
registerNamespace
registerNamespace
registerNamespace
Register a namespace with the XML parser. This should be overridden by subclasses.
requiredKeys
requiredKeys
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
Initialize a discovery object.
Services_Yadis_Discovery
State management for discovery.
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_getNSMap
Services_Yadis_getSupportedExtensions
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_ManagerLoader
A session helper class designed to translate between arrays and
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
The priority value used for service elements with no priority specified.
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_SessionLoader
A session helper class designed to translate between arrays and
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
Instantiates an empty Services_Yadis_Yadis object. This constructor should not be used by any user of the library.
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.
set
Set a session key/value pair.
setXML
setXML
setXML
Set this parser object's XML payload. This should be overridden by subclasses.
t
top
toSession
Returns an array of keys and values built from the attributes of $obj. If $this->prepareForSave($obj) returns an array, its keys and values are used to update the $data array of attributes from $obj.
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 f g i m n p r s t x y