function WOrderedRepeatableComponentCollection() { parent::WRepeatableComponentCollection(); $idManager = Services::getService("Id"); $this->_orderedSet = new OrderedSet($idManager->getId("unimportant")); $this->_nextId = 0; }
function WAddFromListRepeatableComponentCollection() { parent::WRepeatableComponentCollection(); $this->_addButton = WChooseOptionButton::withLabel($this->_addLabel); $this->_addButton->setParent($this); }