HTML_CSS::grepStyle

HTML_CSS::grepStyle() – Retrieve styles corresponding to an element filter

Synopsis

require_once 'HTML/CSS.php';

array|PEAR_Error HTML_CSS::grepStyle ( string $elmPattern , string $proPattern )

Description

Return array entries of styles that match patterns (Perl compatible)

Parameter

string $elmPattern

Element or class pattern to retrieve

string $proPattern

(optional) Property pattern to retrieve

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Since

since version 1.1.0 (2007-01-01)

Note

This function can not be called statically.

Searching for selectors and/or properties (Previous) Handling At-Rules (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.