Пример #1
0
 public function __construct($src, $alt, $properties = array())
 {
     parent::__construct('', $properties);
     $this->tag = "img";
     $this->src = $src;
     $this->alt = $alt;
 }
Пример #2
0
 public function __construct($action, $method, $properties = array())
 {
     parent::__construct('', $properties);
     $this->tag = "form";
     $this->action = $action;
     $this->method = $method;
 }
Пример #3
0
 public function __construct($content, $properties = array())
 {
     parent::__construct($content, $properties);
     $this->tag = "input";
 }
Пример #4
0
 public function __construct($content)
 {
     parent::__construct($content);
     $this->tag = "div";
 }
Пример #5
0
 public function __construct($content)
 {
     // hello
     parent::__construct($content);
     $this->tag = "section";
 }