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 = '' , bool $duplicates = null )

Description

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

boolean $duplicates

(optional) Allow or disallow duplicates

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Since

since version 1.5.0 (2008-01-15)

Note

This function can not be called statically.

Return list of supported At-Rules (Previous) Remove an existing 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.