예제 #1
0
파일: image.php 프로젝트: pieterhap/htmllib
 public function __construct($src, $alt, $properties = array())
 {
     parent::__construct('', $properties);
     $this->tag = "img";
     $this->src = $src;
     $this->alt = $alt;
 }
예제 #2
0
파일: Form.php 프로젝트: pieterhap/htmllib
 public function __construct($action, $method, $properties = array())
 {
     parent::__construct('', $properties);
     $this->tag = "form";
     $this->action = $action;
     $this->method = $method;
 }
예제 #3
0
파일: Input.php 프로젝트: pieterhap/htmllib
 public function __construct($content, $properties = array())
 {
     parent::__construct($content, $properties);
     $this->tag = "input";
 }
예제 #4
0
파일: Div.php 프로젝트: pieterhap/htmllib
 public function __construct($content)
 {
     parent::__construct($content);
     $this->tag = "div";
 }
예제 #5
0
 public function __construct($content)
 {
     // hello
     parent::__construct($content);
     $this->tag = "section";
 }