2 namespace wcf\system\form\container
;
5 * Provides a multiple selection form element container.
7 * @author Alexander Ebert
8 * @copyright 2001-2016 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package com.woltlab.wcf
11 * @subpackage system.form.container
12 * @category Community Framework
14 class MultipleSelectionFormElementContainer
extends SelectionFormElementContainer
{
19 protected $value = [];
22 * Sets container value.
26 public function setValue(array $value) {
27 $this->value
= $value;
33 public function getHTML($formName) {
35 foreach ($this->getChildren() as $element) {
36 $content .= '<dd>'.$element->getHTML($formName).'</dd>';
40 <section class="section">
41 <header class="sectionHeader">
42 <h2 class="sectionTitle">{$this->getLabel()}</h2>
43 <p class="sectionDescription">{$this->getDescription()}</p>