PHP Class Auth_OpenID_Parse

Datei anzeigen Open project: openid/php-openid Class Usage Examples

Public Properties

Property Type Description
$_attr_find
$_close_tag_expr
$_open_tag_expr
$_re_flags Specify some flags for use with regex matching.
$_removed_re Stuff to remove before we start looking for tags
$_tag_expr Starts with the tag name at a word boundary, where the tag name is not a namespace

Public Methods

Method Description
__construct ( )
closeTag ( $tag_name )
findFirstHref ( $link_attrs_list, $target_rel )
findLinksRel ( $link_attrs_list, $target_rel )
headFind ( )
htmlBegin ( $s )
htmlEnd ( $s )
linkHasRel ( $link_attrs, $target_rel )
match ( $regexp, $text, &$match )
openTag ( $tag_name )
parseLinkAttrs ( string $html ) : array Find all link tags in a string representing a HTML document and return a list of their attributes.
relMatches ( $rel_attr, $target_rel )
removeQuotes ( $str )
replaceEntities ( $str )
tagMatcher ( $tag_name, $close_tags = null ) Returns a regular expression that will match a given tag in an SGML string.

Method Details

__construct() public method

public __construct ( )

closeTag() public method

public closeTag ( $tag_name )

findFirstHref() public method

public findFirstHref ( $link_attrs_list, $target_rel )

findLinksRel() public method

public findLinksRel ( $link_attrs_list, $target_rel )

headFind() public method

public headFind ( )

htmlBegin() public method

public htmlBegin ( $s )

htmlEnd() public method

public htmlEnd ( $s )

linkHasRel() public method

public linkHasRel ( $link_attrs, $target_rel )

match() public method

public match ( $regexp, $text, &$match )

openTag() public method

public openTag ( $tag_name )

parseLinkAttrs() public method

Find all link tags in a string representing a HTML document and return a list of their attributes.
public parseLinkAttrs ( string $html ) : array
$html string The text to parse
return array $list An array of arrays of attributes, one for each link tag

relMatches() public method

public relMatches ( $rel_attr, $target_rel )

removeQuotes() public method

public removeQuotes ( $str )

replaceEntities() public method

public replaceEntities ( $str )

tagMatcher() public method

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

Property Details

$_attr_find public_oe property

public $_attr_find

$_close_tag_expr public_oe property

public $_close_tag_expr

$_open_tag_expr public_oe property

public $_open_tag_expr

$_re_flags public_oe property

Specify some flags for use with regex matching.
public $_re_flags

$_removed_re public_oe property

Stuff to remove before we start looking for tags
public $_removed_re

$_tag_expr public_oe property

Starts with the tag name at a word boundary, where the tag name is not a namespace
public $_tag_expr