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',
// )
?>