protected function tagToString($level = 1) { if ($this->composer) { $return = call_user_func($this->composer, $this, $this->input, $this->label); $return and $this->addTag($return); } else { $this->label and $this->addTag($this->label); $this->addTag($this->input); } return parent::tagToString($level); }
public function __construct(array $attributes = array()) { parent::__construct('fieldset'); $this->setAttributes($attributes); }