Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Yadis

License

Content on this site is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5. Some parts of this website may be subject to other licenses.

 Class Services_Yadis_ParseHTML

Description

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 /openid/Services/Yadis/ParseHTML.php (line 23)

Class Services_Yadis_ParseHTML
Method Summary
Constructor Services_Yadis_ParseHTML Services_Yadis_ParseHTML ()
Method mixed getHTTPEquiv (string $html_string)
Methods
Constructor Services_Yadis_ParseHTML (line 40)
Services_Yadis_ParseHTML Services_Yadis_ParseHTML ()
getHTTPEquiv (line 225)

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.

  • return: The "content" attribute value of the META tag, if found, or null if no such tag was found.
mixed getHTTPEquiv (string $html_string)
  • string $html_string: An HTML document in string format

Documentation generated on Tue, 29 Jan 2008 18:48:56 +0000 by phpDocumentor 1.3.1