| Total Complexity | 5 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class DirCheckboxes extends ATreeControl implements IMultiValue |
||
| 18 | { |
||
| 19 | use TMultiValue; |
||
| 20 | use TSubEntry; |
||
| 21 | |||
| 22 | protected string $templateLabel = ''; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param ControlNode[] $nodes |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | 1 | protected function fillEntries(array $nodes): string |
|
| 37 | } |
||
| 38 | |||
| 39 | 1 | protected function getEntry(ControlNode $node): HtmlElement |
|
| 40 | { |
||
| 41 | 1 | $entry = HtmlElement::init('li', ['class' => 'dir']); |
|
| 42 | 1 | if ($childControl = $node->getControl()) { |
|
| 43 | 1 | $entry->addChild($childControl); |
|
| 44 | } |
||
| 45 | 1 | return $entry; |
|
| 46 | } |
||
| 47 | |||
| 48 | 1 | protected function getInput(FileNode $node): Controls\AControl |
|
| 54 | } |
||
| 55 | } |
||
| 56 |