[ class tree: OpenID ] [ index: OpenID ] [ all elements ]

Class: Auth_Yadis_ParseHTML

Source Location: /zp-extensions/federated_logon/Auth/Yadis/ParseHTML.php

Class Auth_Yadis_ParseHTML

Class Overview

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.

Located in /zp-extensions/federated_logon/Auth/Yadis/ParseHTML.php [line 23]



		
		
		
		

Methods

[ Top ]
Method Summary
Auth_Yadis_ParseHTML   Auth_Yadis_ParseHTML()  
mixed   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.

[ Top ]
Methods
Constructor Auth_Yadis_ParseHTML  [line 46]

  Auth_Yadis_ParseHTML Auth_Yadis_ParseHTML( )



[ Top ]
getHTTPEquiv  [line 240]

  mixed getHTTPEquiv( string $html_string  )

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.

Parameters:
string   $html_string:  An HTML document in string format

API Tags:
Return:  The "content" attribute value of the META tag, if found, or null if no such tag was found.


[ Top ]

Documentation generated on Tue, 20 Dec 2011 16:07:56 +0100 by phpDocumentor 1.4.3