コード例 #1
0
 public function __construct($level, $content = null)
 {
     if (is_int($level) && $level >= 1 && $level <= 6) {
         parent::__construct('h' . $level, $content);
     } else {
         $error_message = "The heading level must be an integer between 1 and 6!";
         throw new Exception($error_message);
     }
 }
コード例 #2
0
 public function __construct()
 {
     parent::__construct('embed', null);
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct('fieldset', null);
     #$this->items = array();
 }
コード例 #4
0
 public function __construct($content = NULL)
 {
     parent::__construct('dd', $content);
 }
コード例 #5
0
 public function __construct($content)
 {
     parent::__construct('label', $content);
 }
コード例 #6
0
 public function __construct($content)
 {
     parent::__construct('option', $content);
 }
コード例 #7
0
 public function __construct()
 {
     parent::__construct('abbr', null);
 }
コード例 #8
0
 public function __construct($content = NULL)
 {
     parent::__construct('form', $content);
     #$this->hidden_inputs = array();
 }
コード例 #9
0
 public function __construct($content = null)
 {
     parent::__construct('noscript', $content);
 }
コード例 #10
0
 public function __construct($content)
 {
     parent::__construct('legend', $content);
 }
コード例 #11
0
 public function __construct($content = NULL)
 {
     parent::__construct('select', $content);
     $this->options = array();
 }
コード例 #12
0
 public function __construct()
 {
     parent::__construct('select', null);
     $this->options = array();
 }
コード例 #13
0
 protected function __construct($name)
 {
     parent::__construct($name, null);
     #$this->items = array();
 }
コード例 #14
0
 public function __construct($content = '')
 {
     parent::__construct('li', $content);
 }
コード例 #15
0
 public function __construct()
 {
     parent::__construct('fieldset', NULL);
 }
コード例 #16
0
 public function __construct($content = null)
 {
     parent::__construct('em', $content);
 }
コード例 #17
0
 public function __construct()
 {
     parent::__construct('form', null);
     $this->hidden_inputs = array();
 }