# contact-forms/1.3/classes/Element/FieldsetBegin.php

Contact Forms by Cimatti, version 1.3. 12 lines.

- Page: https://pluginprobe.com/plugins/contact-forms/1.3/code/classes/Element/FieldsetBegin.php
- Raw: https://pluginprobe.com/plugins/contact-forms/1.3/raw/classes/Element/FieldsetBegin.php
- Modified: 2013-10-31T19:17:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/contact-forms/1.3/code/classes/Element/FieldsetBegin.php#L10-L20`.

```php
<?php
class AccuaForm_Element_FieldsetBegin extends Element {
  public function __construct($legend, $name = "", $properties = array()) {
    $properties += array("legend" => $legend);
    parent::__construct("", $name, $properties);
  }
  
  public function render() {
    echo '<fieldset ', $this->getAttributes(array('legend')), ' ><legend>', $this->attributes["legend"], '</legend>';
  }
  
}
```
