<?php
namespace wcf\system\form\element;
+use wcf\system\form\container\MultipleSelectionFormElementContainer;
use wcf\util\StringUtil;
/**
* @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package WoltLabSuite\Core\System\Form\Element
+ *
+ * @method MultipleSelectionFormElementContainer getParent()
*/
class MultipleSelectionFormElement extends AbstractNamedFormElement {
/**
<?php
namespace wcf\system\form\element;
+use wcf\system\form\container\SingleSelectionFormElementContainer;
/**
* Provides a radio form element.
* @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package WoltLabSuite\Core\System\Form\Element
+ *
+ * @method SingleSelectionFormElementContainer getParent()
*/
class SingleSelectionFormElement extends AbstractNamedFormElement {
/**
// calculate start index
$startIndex = $count - (count($messageList) - 1);
+ /** @noinspection PhpUndefinedMethodInspection */
WCF::getTPL()->assign([
'attachmentList' => $messageList->getAttachmentList(),
'container' => $this->container,