JavaScript Editor Javascript validator     Web page editor 



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

See

see Regular Expression Functions (Perl-Compatible)

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Since

since version 1.1.0 (2007-01-01)

Note

This function can not be called statically.




JavaScript Editor Javascript validator     Web page editor