[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/htmlpurifier/library/HTMLPurifier/HTMLModule/ -> Object.php (source)

   1  <?php
   2  
   3  /**
   4   * XHTML 1.1 Object Module, defines elements for generic object inclusion
   5   * @warning Users will commonly use <embed> to cater to legacy browsers: this
   6   *      module does not allow this sort of behavior
   7   */
   8  class HTMLPurifier_HTMLModule_Object extends HTMLPurifier_HTMLModule
   9  {
  10  
  11      public $name = 'Object';
  12      public $safe = false;
  13  
  14      public function setup($config) {
  15  
  16          $this->addElement('object', 'Inline', 'Optional: #PCDATA | Flow | param', 'Common',
  17              array(
  18                  'archive' => 'URI',
  19                  'classid' => 'URI',
  20                  'codebase' => 'URI',
  21                  'codetype' => 'Text',
  22                  'data' => 'URI',
  23                  'declare' => 'Bool#declare',
  24                  'height' => 'Length',
  25                  'name' => 'CDATA',
  26                  'standby' => 'Text',
  27                  'tabindex' => 'Number',
  28                  'type' => 'ContentType',
  29                  'width' => 'Length'
  30              )
  31          );
  32  
  33          $this->addElement('param', false, 'Empty', false,
  34              array(
  35                  'id' => 'ID',
  36                  'name*' => 'Text',
  37                  'type' => 'Text',
  38                  'value' => 'Text',
  39                  'valuetype' => 'Enum#data,ref,object'
  40             )
  41          );
  42  
  43      }
  44  
  45  }
  46  
  47  // vim: et sw=4 sts=4


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1