PHP Class Apple_Exporter\Components\Embed_Web_Video

Since: 0.2.0
Inheritance: extends Component
Afficher le fichier Open project: alleyinteractive/apple-news Class Usage Examples

Méthodes publiques

Méthode Description
is_embed_web_video ( DomNode $node, string $pattern ) : boolean Test if this node is a match based on the node type and URL format.
node_matches ( DomNode $node ) : mixed Look for node matches for this component.

Méthodes protégées

Méthode Description
build ( string $text ) Build the component.

Method Details

build() protected méthode

Build the component.
protected build ( string $text )
$text string

is_embed_web_video() public static méthode

Test if this node is a match based on the node type and URL format.
public static is_embed_web_video ( DomNode $node, string $pattern ) : boolean
$node DomNode
$pattern string
Résultat boolean

node_matches() public static méthode

Look for node matches for this component.
public static node_matches ( DomNode $node ) : mixed
$node DomNode
Résultat mixed