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