HTML_CSS::createAtRule()

HTML_CSS::createAtRule()  -- Create a new simple declarative At-Rule

Synopsis

require_once 'HTML/CSS.php';

void|PEAR_Error HTML_CSS::createAtRule (string $atKeyword, string [$arguments = ''])

Beschreibung

Create a simple at-rule without declaration style blocks. That include @charset, @import and @namespace

Parameter

string $atKeyword

at-rule keyword

string $arguments

argument list for @charset, @import or @namespace

Fehler-Meldungen

throws HTML_CSS_ERROR_INVALID_INPUT

Siehe auch

see HTML_CSS::unsetAtRule()

Seit

since version 1.5.0 (2008-01-15)

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.