190            new ilTemplate(
'tpl.prop_nested_ordering_list.html', 
true, 
true, 
'Modules/TestQuestionPool')
 
  201        $this->
getListTpl()->setCurrentBlock(
'list_container');
 
  208        $this->
getListTpl()->setCurrentBlock(
'list_snippet');
 
  217        $this->
getListTpl()->setCurrentBlock(
'item_value');
 
  242    abstract protected function getItemHtml(
$value, $identifier, $position, $itemSubFieldPostVar, $itemSubFieldId);
 
  246        $this->
getListTpl()->setCurrentBlock(
'begin_list_item');
 
  247        $this->
getListTpl()->setVariable(
'LIST_ITEM_ID', $identifier);
 
  255        $this->
getListTpl()->setCurrentBlock(
'end_list_item');
 
  256        $this->
getListTpl()->touchBlock(
'end_list_item');
 
  263        $this->
getListTpl()->setCurrentBlock(
'begin_sublist');
 
  272        $this->
getListTpl()->setCurrentBlock(
'end_sublist');
 
  302        foreach ($values as $counter => 
$value) {
 
  309                $curIndent = $nextIndent = 0;
 
  312            if ($prevIndent == $curIndent) {
 
  315                if ($curIndent == $nextIndent) {
 
  321                } elseif ($curIndent > $nextIndent) {
 
  322                    if ($prevIndent == $nextIndent) {
 
  332                    } elseif ($prevIndent > $nextIndent) {
 
  338                        for ($openlists = $nextIndent; $openlists < $curIndent; $openlists++) {
 
  344                } elseif ($curIndent < $nextIndent) {
 
  351            } elseif ($prevIndent > $curIndent) {
 
  352                if ($curIndent == $nextIndent) {
 
  358                } elseif ($curIndent > $nextIndent) {
 
  365                } elseif ($curIndent < $nextIndent) {
 
  366                    if ($prevIndent == $nextIndent) {
 
  372                    } elseif ($prevIndent > $nextIndent) {
 
  377                        for ($openlists = $nextIndent; $openlists < $curIndent; $openlists++) {
 
  383            } elseif ($prevIndent < $curIndent) {
 
  384                if ($curIndent == $nextIndent) {
 
  390                } elseif ($curIndent > $nextIndent) {
 
  391                    if ($prevIndent == $nextIndent) {
 
  399                    } elseif ($prevIndent > $nextIndent) {
 
  404                        for ($openlists = $nextIndent; $openlists < $curIndent; $openlists++) {
 
  409                } elseif ($curIndent < $nextIndent) {
 
  418            $prevIndent = $curIndent;
 
  440        $this->global_tpl->addJavaScript(
'Modules/TestQuestionPool/templates/default/nested_ordering.js');
 
  441        $this->global_tpl->addOnLoadCode(
"nested_ordering_input.init('" 
  448    public function render(
string $a_mode = 
""): string
 
  451            $this->
getGlobalTpl()->addCss(
'Services/Form/css/nested_ordering.css');
 
  458            $this->
getGlobalTpl()->addJavaScript(
'./node_modules/nestable2/dist/jquery.nestable.min.js');
 
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
 
const F_NESTED_IDENTIFIER_PREFIX
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
special template class to simplify handling of ITX/PEAR
 
static initjQueryUI(ilGlobalTemplateInterface $a_tpl=null)
inits and adds the jQuery-UI JS-File to the global template (see included_components....
 
static initjQuery(ilGlobalTemplateInterface $a_tpl=null)
inits and adds the jQuery JS-File to the global or a passed template
 
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc