Support Joomla!

Packages

Package: OpenID

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class Auth_OpenID_Parse

Description

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

Class Auth_OpenID_Parse
Variable Summary
Method Summary
Constructor Auth_OpenID_Parse Auth_OpenID_Parse ()
Method void closeTag ( $tag_name)
Method void findFirstHref ( $link_attrs_list,  $target_rel)
Method void findLinksRel ( $link_attrs_list,  $target_rel)
Method void headFind ()
Method void htmlBegin ( $s)
Method void htmlEnd ( $s)
Method void linkHasRel ( $link_attrs,  $target_rel)
Method void openTag ( $tag_name)
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 109)
mixed $_close_tag_expr = "<((\/%s\b)|(%s[^>\/]*\/))>" (line 112)
mixed $_open_tag_expr = "<%s\b" (line 111)
mixed $_removed_re =
"<!--.*?-->|<!\[CDATA\[.*?\]\]>|<script\b(?!:)[^>]*>.*?<\/script>"
(line 100)

Stuff to remove before we start looking for tags

mixed $_re_flags = "si" (line 95)

Specify some flags for use with regex matching.

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

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

is not a namespace

Methods
Constructor Auth_OpenID_Parse (line 114)
Auth_OpenID_Parse Auth_OpenID_Parse ()
closeTag (line 164)
void closeTag ( $tag_name)
  • $tag_name
findFirstHref (line 321)
void findFirstHref ( $link_attrs_list,  $target_rel)
  • $link_attrs_list
  • $target_rel
findLinksRel (line 306)
void findLinksRel ( $link_attrs_list,  $target_rel)
  • $link_attrs_list
  • $target_rel
headFind (line 194)
void headFind ()
htmlBegin (line 170)
void htmlBegin ( $s)
  • $s
htmlEnd (line 182)
void htmlEnd ( $s)
  • $s
linkHasRel (line 297)
void linkHasRel ( $link_attrs,  $target_rel)
  • $link_attrs
  • $target_rel
openTag (line 158)
void openTag ( $tag_name)
  • $tag_name
parseLinkAttrs (line 230)

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 282)
void relMatches ( $rel_attr,  $target_rel)
  • $rel_attr
  • $target_rel
removeQuotes (line 207)
void removeQuotes ( $str)
  • $str
replaceEntities (line 199)
void replaceEntities ( $str)
  • $str
tagMatcher (line 143)

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 Sat, 14 Nov 2009 11:16:46 +0000 by phpDocumentor 1.3.1