public function __construct($name, $value) { parent::__construct($name); $this->value = $value; }
/** * Should anything happen if that attribute has * already been set? */ public function set_attribute(HTMLTags_Attribute $attribute) { $this->attributes[$attribute->get_name()] = $attribute; }