N°1318 - multiple choice in a template - first step

This commit is contained in:
acognet
2023-06-02 09:45:31 +02:00
parent 4264123ef6
commit 6abf65bfb7
16 changed files with 579 additions and 271 deletions

View File

@@ -0,0 +1,29 @@
<?php
/*
* @copyright Copyright (C) 2010-2023 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
namespace Combodo\iTop\Form\Field;
/**
* Description of MultipleSelectObjectField
*
* @author Acc
* @since 3.1.0
*/
class MultipleSelectObjectField extends SelectObjectField
{
function SetCurrentValue($currentValue)
{
if ($currentValue != null) {
$this->currentValue = $currentValue;
} else {
$this->currentValue = "";
}
return $this;
}
}