Beispiel #1
0
 public function __construct($action, $method, $properties = array())
 {
     parent::__construct('', $properties);
     $this->tag = "form";
     $this->action = $action;
     $this->method = $method;
 }
Beispiel #2
0
 public function __construct($src, $alt, $properties = array())
 {
     parent::__construct('', $properties);
     $this->tag = "img";
     $this->src = $src;
     $this->alt = $alt;
 }
Beispiel #3
0
 public function __construct($content)
 {
     parent::__construct($content);
     $this->tag = "aside";
 }
Beispiel #4
0
 public function __construct($content)
 {
     parent::__construct($content);
     $this->tag = "header";
 }
Beispiel #5
0
 public function __construct($content, $properties = array())
 {
     parent::__construct($content, $properties);
     $this->tag = "span";
 }
Beispiel #6
0
 public function __construct($content)
 {
     // hello
     parent::__construct($content);
     $this->tag = "section";
 }