PHP Класс Auth_OpenID_Parse

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$_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

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

public __construct ( )

closeTag() публичный Метод

public closeTag ( $tag_name )

findFirstHref() публичный Метод

public findFirstHref ( $link_attrs_list, $target_rel )

findLinksRel() публичный Метод

public findLinksRel ( $link_attrs_list, $target_rel )

headFind() публичный Метод

public headFind ( )

htmlBegin() публичный Метод

public htmlBegin ( $s )

htmlEnd() публичный Метод

public htmlEnd ( $s )

linkHasRel() публичный Метод

public linkHasRel ( $link_attrs, $target_rel )

match() публичный Метод

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

openTag() публичный Метод

public openTag ( $tag_name )

parseLinkAttrs() публичный Метод

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
Результат array $list An array of arrays of attributes, one for each link tag

relMatches() публичный Метод

public relMatches ( $rel_attr, $target_rel )

removeQuotes() публичный Метод

public removeQuotes ( $str )

replaceEntities() публичный Метод

public replaceEntities ( $str )

tagMatcher() публичный Метод

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

Описание свойств

$_attr_find публичное свойство

public $_attr_find

$_close_tag_expr публичное свойство

public $_close_tag_expr

$_open_tag_expr публичное свойство

public $_open_tag_expr

$_re_flags публичное свойство

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

$_removed_re публичное свойство

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

$_tag_expr публичное свойство

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