HTML_CSS::getAtRulesList

HTML_CSS::getAtRulesList() – Return list of supported At-Rules

Synopsis

require_once 'HTML/CSS.php';

void HTML_CSS::getAtRulesList ( )

Description

Return the list of At-Rules supported by API 1.5.0 of HTML_CSS

Throws

throws no exceptions thrown

Since

since version 1.5.0 (2008-01-15)

Note

This function can not be called statically.

Example

<?php
require_once 'HTML/CSS.php';

$list $css->getAtRulesList();
var_export($list);

// will output:
//
// array (
//   0 => '@charset',
//   1 => '@font-face',
//   2 => '@import',
//   3 => '@media',
//   4 => '@page',
//   5 => '@namespace',
// )
?>
Handling At-Rules (Previous) Create a new simple declarative 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.