Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Yadis

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5
Element index for package Yadis

Other package element indexes


a c d e f g h i m n p r s t x y _
_
Function _escape_xref
_escape_xref() in XRI.php
a
Method attributes
Return the attributes of a specified node.
Method attributes
Method attributes
Class Auth_OpenID_ServiceEndpointLoader
A session helper class designed to translate between arrays and
c
Method check
Method check
Method check
Override this.
Method cleanup
Clean up Yadis-related services in the session and return the most-recently-attempted service from the manager, if one exists.
Method content
Return the textual content of a specified node.
Method content
Method content
Method contents
Return the contents of the session in array form.
Method curlPresent
d
Method del
Remove a key/value pair from the session.
Method 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
Method evalXPath
Evaluate an XPath expression and return the resulting node list. This should be overridden by subclasses.
Method evalXPath
Method evalXPath
f
Method fromSession
Given a session data value (an array), this creates an object
g
Method get
Method get
Method get
Get a key's value from the session.
Method getElements
Used to get XML elements from this object's <Service> element.
Method getHTTPEquiv
Looks for a META tag with an "http-equiv" attribute whose value is one of ("x-xrds-location", "x-yadis-location"), ignoring case. If such a META tag is found, its "content" attribute value is returned.
Method 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.
Method getNextService
Return the next authentication service for the pair of user_input and session. This function handles fallback.
Method getPriority
Returns the "priority" attribute value of this <Service> element, if the attribute is present. Returns null if not.
Method getTypes
Return the URIs in the "Type" elements, if any, of this Service element.
Method getURIs
Return the URIs in the "URI" elements, if any, of this Service element. The URIs are returned sorted in priority order.
h
File HTTPFetcher.php
HTTPFetcher.php in HTTPFetcher.php
i
Method init
Initialize an instance of Services_Yadis_XMLParser with some XML and namespaces. This SHOULD NOT be overridden by subclasses.
m
File Manager.php
Manager.php in Manager.php
n
Method newObject
Method newObject
Method 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.
Method nextService
Return the next service
p
File ParanoidHTTPFetcher.php
ParanoidHTTPFetcher.php in ParanoidHTTPFetcher.php
File ParseHTML.php
ParseHTML.php in ParseHTML.php
File PlainHTTPFetcher.php
PlainHTTPFetcher.php in PlainHTTPFetcher.php
Method 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.
Method post
Method post
Method prepareForLoad
Prepares the data array by making any necessary changes.
Method prepareForLoad
Method prepareForSave
Method prepareForSave
Override this.
r
Method registerNamespace
Method registerNamespace
Method registerNamespace
Register a namespace with the XML parser. This should be overridden by subclasses.
Method requiredKeys
Method requiredKeys
Method reset
s
Method services
Returns the list of service objects as described by the XRDS document, if this yadis object represents a successful Yadis discovery.
Method services
Returns a list of service objects which correspond to <Service> elements in the XRDS XML document for this object.
Constructor Services_Yadis_Discovery
Initialize a discovery object.
Class Services_Yadis_Discovery
State management for discovery.
Constructor Services_Yadis_dom
Class Services_Yadis_dom
This concrete implementation of Services_Yadis_XMLParser implements
Constructor Services_Yadis_domxml
Class Services_Yadis_domxml
This concrete implementation of Services_Yadis_XMLParser implements
Function Services_Yadis_escapeForIRI
Function Services_Yadis_getCanonicalID
Function 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.
Class Services_Yadis_HTTPResponse
Services_Yadis_HTTPResponse in HTTPFetcher.php
This module contains the HTTP fetcher interface
Constructor Services_Yadis_HTTPResponse
Function Services_Yadis_identifierScheme
Function Services_Yadis_iriToURI
Class 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.
Class Services_Yadis_ManagerLoader
A session helper class designed to translate between arrays and
Constant SERVICES_YADIS_MATCH_ALL
This match mode means a given service must match ALL filters passed to the Services_Yadis_XRDS::services() call.
Constant 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.
Constant SERVICES_YADIS_MAX_PRIORITY
Constructor Services_Yadis_ParanoidHTTPFetcher
Class Services_Yadis_ParanoidHTTPFetcher
Services_Yadis_ParanoidHTTPFetcher in ParanoidHTTPFetcher.php
A paranoid Services_Yadis_HTTPFetcher class which uses CURL for fetching.
Class Services_Yadis_ParseHTML
Services_Yadis_ParseHTML in ParseHTML.php
This class is responsible for scanning an HTML string to find META tags and their attributes. This is used by the Yadis discovery process. This class must be instantiated to be used.
Constructor Services_Yadis_ParseHTML
Class 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.
Class Services_Yadis_PlainHTTPFetcher
Services_Yadis_PlainHTTPFetcher in PlainHTTPFetcher.php
This class implements a plain, hand-built socket-based fetcher which will be used in the event that CURL is unavailable.
Function Services_Yadis_providerIsAuthoritative
Function Services_Yadis_rootAuthority
Class Services_Yadis_Service
This class represents a <Service> element in an XRDS document.
Constructor Services_Yadis_Service
Creates an empty service object.
Class Services_Yadis_SessionLoader
A session helper class designed to translate between arrays and
Function 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.
Function Services_Yadis_toIRINormal
Function Services_Yadis_toURINormal
Class Services_Yadis_XMLParser
The base class for wrappers for available PHP XML-parsing
Constructor Services_Yadis_XRDS
Instantiate a Services_Yadis_XRDS object. Requires an XPath instance which has been used to parse a valid XRDS document.
Class Services_Yadis_XRDS
This class performs parsing of XRDS documents.
Function Services_Yadis_XRI
Function Services_Yadis_XRIAppendArgs
Constructor Services_Yadis_Yadis
Instantiates an empty Services_Yadis_Yadis object. This constructor should not be used by any user of the library.
Class 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.
Method set
Set a session key/value pair.
Method setXML
Method setXML
Set this parser object's XML payload. This should be overridden by subclasses.
Method setXML
t
Method 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
File XML.php
XML.php in XML.php
File XRDS.php
XRDS.php in XRDS.php
File XRI.php
XRI.php in XRI.php
y
File Yadis.php
Yadis.php in Yadis.php
a c d e f g h i m n p r s t x y _

Documentation generated on Mon, 05 Mar 2007 20:51:47 +0000 by phpDocumentor 1.3.1