protected function createRepeater() { $repeater = new TRepeater(); $repeater->setItemTemplate(new TTemplate('<%# $this->Data %>', null)); $this->getControls()->add($repeater); return $repeater; }