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