ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
StyleAttribute.php
Go to the documentation of this file.
1 <?php
2 
8 {
9 
10  public $name = 'StyleAttribute';
11  public $attr_collections = array(
12  // The inclusion routine differs from the Abstract Modules but
13  // is in line with the DTD and XML Schemas.
14  'Style' => array('style' => false), // see constructor
15  'Core' => array(0 => array('Style'))
16  );
17 
18  public function setup($config) {
19  $this->attr_collections['Style']['style'] = new HTMLPurifier_AttrDef_CSS();
20  }
21 
22 }
23 
24 // vim: et sw=4 sts=4
XHTML 1.1 Edit Module, defines editing-related elements.
Represents an XHTML 1.1 module, with information on elements, tags and attributes.
Definition: HTMLModule.php:18
Validates the HTML attribute style, otherwise known as CSS.
Definition: CSS.php:14