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