コード例 #1
0
ファイル: Form.php プロジェクト: arnedesmet/htmllib
 public function __construct($action, $method, $properties = array())
 {
     parent::__construct('', $properties);
     $this->tag = "form";
     $this->action = $action;
     $this->method = $method;
 }
コード例 #2
0
ファイル: image.php プロジェクト: arnedesmet/htmllib
 public function __construct($src, $alt, $properties = array())
 {
     parent::__construct('', $properties);
     $this->tag = "img";
     $this->src = $src;
     $this->alt = $alt;
 }
コード例 #3
0
ファイル: Nav.php プロジェクト: arnedesmet/htmllib
 public function __construct($content)
 {
     parent::__construct($content);
     $this->tag = "nav";
 }
コード例 #4
0
ファイル: Section.php プロジェクト: arnedesmet/htmllib
 public function __construct($content)
 {
     // hello
     parent::__construct($content);
     $this->tag = "section";
 }
コード例 #5
0
ファイル: Span.php プロジェクト: arnedesmet/htmllib
 public function __construct($content, $properties = array())
 {
     parent::__construct($content, $properties);
     $this->tag = "span";
 }