src/Form/Container.php
public function setForms(array $forms, $enabled = true)
    {
        foreach ($forms as $key => $spec) {
            if (is_array($spec) && isset($spec['enabled'])) {
                $currentEnabled = $spec['enabled'];
                unset($spec['enabled']);
            } else {
                $currentEnabled = $enabled;
            }
            $this->setForm($key, $spec, $currentEnabled);
        }
        return $this;
    }
public function setForms(array $forms, $enabled = true)
    {
        foreach ($forms as $key => $spec) {
            if (is_array($spec) && isset($spec['enabled'])) {
                $currentEnabled = $spec['enabled'];
                unset($spec['enabled']);
            } else {
                $currentEnabled = $enabled;
            }
            $this->setForm($key, $spec, $currentEnabled);
        }
        return $this;
    }
Sets formulars or specifications.

<b>$forms</b> must be in the format:
<pre>
'name' => [spec]
</pre>

<b>$spec</b> must be compatible with {@link setForm}.
Additionally you can include a key 'enabled' in the spec, which will override
<b>$enabled</b> only for the current formular.

@param array $forms
@param boolean $enabled
@return \Core\Form\Container