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

 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 51)
Services_Yadis_ParseHTML Services_Yadis_ParseHTML ()
getHTTPEquiv (line 251)

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 Mon, 05 Mar 2007 21:13:32 +0000 by phpDocumentor 1.3.1