コード例 #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
ファイル: header.php プロジェクト: skrimbler/htmllib
 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
ファイル: Section.php プロジェクト: skrimbler/htmllib
 public function __construct($content)
 {
     // hello
     parent::__construct($content);
     $this->tag = "section";
 }