HTML_CSS::getAtRuleStyle

HTML_CSS::getAtRuleStyle() – Get style value of an existing At-Rule

Synopsis

require_once 'HTML/CSS.php';

void|PEAR_Error HTML_CSS::getAtRuleStyle ( string $atKeyword , string $arguments , string $selectors , string $property )

Description

Retrieve arguments or style value of an existing At-Rule. See HTML_CSS::getAtRulesList() for a full list of supported At-Rules.

Parameter

string $atKeyword

at-rule keyword

string $arguments

argument list (optional for @font-face)

string $selectors

selectors of declaration style block (optional for @media, @page, @font-face)

string $property

property of a single declaration style block

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Since

since version 1.5.0 (2008-01-15)

Note

This function can not be called statically.

Remove an existing At-Rule (Previous) Define a conditional/informative At-Rule (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.