Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: OpenID

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 Auth_OpenID_Parse

Description

Located in /openid/Auth/OpenID/Parse.php (line 87)

Class Auth_OpenID_Parse
Variable Summary
Variable mixed $_attr_find
Variable mixed $_removed_re
Variable mixed $_re_flags
Variable mixed $_tag_expr
Method Summary
Constructor Auth_OpenID_Parse Auth_OpenID_Parse ()
Method void findFirstHref ( $link_attrs_list,  $target_rel)
Method void findLinksRel ( $link_attrs_list,  $target_rel)
Method void headFind ()
Method void htmlFind ()
Method void linkHasRel ( $link_attrs,  $target_rel)
Method array parseLinkAttrs (string $html)
Method void relMatches ( $rel_attr,  $target_rel)
Method void removeQuotes ( $str)
Method void replaceEntities ( $str)
Method void tagMatcher ( $tag_name, [ $close_tags = null])
Variables
mixed $_attr_find = '\b(\w+)=("[^"]*"|\'[^\']*\'|[^\'"\s\/<>]+)' (line 106)
mixed $_removed_re =
"<!--.*?-->|<!\[CDATA\[.*?\]\]>|<script\b(?!:)[^>]*>.*?<\/script>"
(line 97)

Stuff to remove before we start looking for tags

mixed $_re_flags = "si" (line 92)

Specify some flags for use with regex matching.

mixed $_tag_expr = "<%s\b(?!:)([^>]*?)(?:\/>|>(.*?)(?:<\/?%s\s*>|\Z))" (line 104)

Starts with the tag name at a word boundary, where the tag name

is not a namespace

Methods
Constructor Auth_OpenID_Parse (line 108)
Auth_OpenID_Parse Auth_OpenID_Parse ()
findFirstHref (line 275)
void findFirstHref ( $link_attrs_list,  $target_rel)
  • $link_attrs_list
  • $target_rel
findLinksRel (line 260)
void findLinksRel ( $link_attrs_list,  $target_rel)
  • $link_attrs_list
  • $target_rel
headFind (line 155)
void headFind ()
htmlFind (line 150)
void htmlFind ()
linkHasRel (line 251)
void linkHasRel ( $link_attrs,  $target_rel)
  • $link_attrs
  • $target_rel
parseLinkAttrs (line 191)

Find all link tags in a string representing a HTML document and return a list of their attributes.

  • return: An array of arrays of attributes, one for each link tag
array parseLinkAttrs (string $html)
  • string $html: The text to parse
relMatches (line 236)
void relMatches ( $rel_attr,  $target_rel)
  • $rel_attr
  • $target_rel
removeQuotes (line 168)
void removeQuotes ( $str)
  • $str
replaceEntities (line 160)
void replaceEntities ( $str)
  • $str
tagMatcher (line 137)

Returns a regular expression that will match a given tag in an SGML string.

void tagMatcher ( $tag_name, [ $close_tags = null])
  • $tag_name
  • $close_tags

Documentation generated on Mon, 05 Mar 2007 21:13:26 +0000 by phpDocumentor 1.3.1