コード例 #1
0
 /**
  * Contructor
  *
  * @param string $charset
  */
 public function __construct($http_equiv, $content)
 {
     $attributes = array();
     $attributes[] = new HttpEquiv($http_equiv);
     $attributes[] = new Content($content);
     parent::__construct($attributes);
 }
コード例 #2
0
 /**
  * Contructor
  *
  * @param string $charset
  */
 public function __construct($name, $content)
 {
     $attributes = array();
     $attributes[] = new Name($name);
     $attributes[] = new Content($content);
     parent::__construct($attributes);
 }
コード例 #3
0
 /**
  * Contructor
  *
  * @param string $charset
  */
 public function __construct($charset = 'utf-8')
 {
     $attributes = array();
     $attributes[] = new Charset($charset);
     parent::__construct($attributes);
 }