initIds('infoModal'); $this->addForm(new InfoForm()); } protected function initActionButtons() { if (!empty($this->actionButtons)) { return $this; } $this->addActionButton(new BaseCancelButton()); $transferButton = new BaseRedirectButton('transferDomain'); $transferButton->setRawUrl('card.php?'); $transferButton->addRedirectParam('a','add'); $transferButton->addRedirectParam('domain','transfer'); $transferButton->addRedirectParam('sld','MAILDOMAIN'); $this->addActionButton($transferButton); return $this; } }