mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-23 22:04:27 +02:00
QuickForm: add onSetup helper
This commit is contained in:
parent
8267e377ea
commit
eb6fda1eb1
@ -54,6 +54,7 @@ abstract class QuickForm extends Zend_Form
|
||||
$this->createIdElement();
|
||||
$this->regenerateCsrfToken();
|
||||
$this->setup();
|
||||
$this->onSetup();
|
||||
}
|
||||
|
||||
protected function createIdElement()
|
||||
@ -99,6 +100,10 @@ abstract class QuickForm extends Zend_Form
|
||||
{
|
||||
}
|
||||
|
||||
protected function onSetup()
|
||||
{
|
||||
}
|
||||
|
||||
public function setAction($action)
|
||||
{
|
||||
if (! $action instanceof Url) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user