[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/openid/Auth/OpenID/ -> Parse.php (summary)

This module implements a VERY limited parser that finds <link> tags in the head of HTML or XHTML documents and parses out their attributes according to the OpenID spec. It is a liberal parser, but it requires these things from the data in order to work: - There must be an open <html> tag

Author: JanRain, Inc. <openid@janrain.com>
Copyright: 2005-2008 Janrain, Inc.
License: http://www.apache.org/licenses/LICENSE-2.0 Apache
File Size: 355 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Auth_OpenID_Parse:: (15 methods):
  Auth_OpenID_Parse()
  tagMatcher()
  openTag()
  closeTag()
  htmlBegin()
  htmlEnd()
  headFind()
  replaceEntities()
  removeQuotes()
  parseLinkAttrs()
  relMatches()
  linkHasRel()
  findLinksRel()
  findFirstHref()
  Auth_OpenID_legacy_discover()


Class: Auth_OpenID_Parse  - X-Ref

Require Auth_OpenID::arrayGet().

Auth_OpenID_Parse()   X-Ref
No description

tagMatcher($tag_name, $close_tags = null)   X-Ref
Returns a regular expression that will match a given tag in an
SGML string.


openTag($tag_name)   X-Ref
No description

closeTag($tag_name)   X-Ref
No description

htmlBegin($s)   X-Ref
No description

htmlEnd($s)   X-Ref
No description

headFind()   X-Ref
No description

replaceEntities($str)   X-Ref
No description

removeQuotes($str)   X-Ref
No description

parseLinkAttrs($html)   X-Ref
Find all link tags in a string representing a HTML document and
return a list of their attributes.

param: string $html The text to parse
return: array $list An array of arrays of attributes, one for each

relMatches($rel_attr, $target_rel)   X-Ref
No description

linkHasRel($link_attrs, $target_rel)   X-Ref
No description

findLinksRel($link_attrs_list, $target_rel)   X-Ref
No description

findFirstHref($link_attrs_list, $target_rel)   X-Ref
No description

Auth_OpenID_legacy_discover($html_text, $server_rel,$delegate_rel)   X-Ref
No description



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1