Ejemplo n.º 1
0
 public function __construct($public = 'strict', $url = '')
 {
     if ($public == 'strict') {
         $public = '-//W3C//DTD HTML 4.01//EN';
         $url = 'http://www.w3.org/TR/html4/strict.dtd';
     } else {
         if ($public == 'transitional') {
             $public = '-//W3C//DTD HTML 4.01 Transitional//EN';
             $url = 'http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd';
         }
     }
     parent::__construct('html', $public, $url);
     $this->elementClass('IMuHTMLElement');
 }
Ejemplo n.º 2
0
 public function __construct($name = null, $public = null, $system = null)
 {
     parent::__construct($name, $public, $system);
     $this->_dom->formatOutput = true;
     $this->_options = array();
 }