src/Ease/Html/InputContainer.php
public function finalize()
    {
        $itemID = 1;
        foreach ($this->items as $value => $caption) {
            if ($this->checked == $value) {
                $this->addItem(new $this->itemClass($this->name, $value,
                        ['checked']));
            } else {
                $this->addItem(new $this->itemClass($this->name, $value));
            }
            $this->lastItem->setTagID($this->name.$itemID++);
            $this->addLabel($caption);
        }
        $this->finalized = true;
    }
public function finalize()
    {
        $itemID = 1;
        foreach ($this->items as $value => $caption) {
            if ($this->checked == $value) {
                $this->addItem(new $this->itemClass($this->name, $value,
                        ['checked']));
            } else {
                $this->addItem(new $this->itemClass($this->name, $value));
            }
            $this->lastItem->setTagID($this->name.$itemID++);
            $this->addLabel($caption);
        }
        $this->finalized = true;
    }
Vloží podprvky.