PHP Class Essence\Dom\Document

Afficher le fichier Open project: benjamminf/craft-embedded-assets Class Usage Examples

Protected Properties

Свойство Type Description
$_html string HTML source.

Méthodes publiques

Méthode Description
__construct ( string $html ) Contructor.
tags ( string $name, Closure $filter = null ) : array Returns all tags identified by the given name.

Method Details

__construct() public méthode

Contructor.
public __construct ( string $html )
$html string HTML source.

tags() abstract public méthode

Returns all tags identified by the given name.
abstract public tags ( string $name, Closure $filter = null ) : array
$name string Tag name.
$filter Closure A callback to filter tags.
Résultat array Tags.

Property Details

$_html protected_oe property

HTML source.
protected string $_html
Résultat string